# MIT team uses LLMs to audit code sharing in 4,000 medical studies

Digest AI · Research · published 2026-11-19T22:15:00Z

Canonical: https://digestai.news/story/mit-team-uses-llms-to-audit-code-sharing-in-4-000-medical-studies

## Summary

Researchers from MIT and Dana-Farber Cancer Institute used large language models to analyze code-sharing practices in nearly 4,000 clinical prediction studies. The study, published in Nature Medicine, found that only about one in eight studies reported sharing code. Even when code was available, repositories often lacked the documentation and structure needed for other researchers to reproduce results or reuse the work.

The team used LLMs to screen papers for code availability statements and extract links to repositories. They then assessed these repositories for completeness, documentation, and reuse terms. Human reviewers independently checked 500 papers and a sample of repositories to validate the automated findings. The review revealed significant inconsistencies, with code-sharing rates ranging from zero to over 70 percent across different journals.

These findings are informing TRIPOD-Code, a new reporting guideline designed to clarify what researchers should share. The goal is to establish consensus on essential elements for shared analytical code, helping to bridge the gap between medical, statistical, and computer science expectations. The authors emphasize that while policies exist, they may not be sufficient to motivate consistent code sharing without clearer practical guidance.

## Key points

- LLMs analyzed nearly 4,000 papers to assess code sharing in clinical prediction studies.
- Only about 1 in 8 studies reported sharing code, with documentation quality varying widely.
- Findings inform TRIPOD-Code, a new guideline for standardizing code sharing in medical research.

## Why it matters

Standardizing code sharing improves the reproducibility and transparency of medical AI models, ensuring that clinical prediction tools are rigorously validated and reusable by the broader scientific community.

## Sources

1. [AI helps researchers investigate how thousands of medical studies share code](https://news.mit.edu/2026/ai-helps-researchers-investigate-how-medical-studies-share-code-1119) (MIT News on AI, 2026-11-19, primary source)

## Cite

Digest AI, "MIT team uses LLMs to audit code sharing in 4,000 medical studies", 19 November 2026, https://digestai.news/story/mit-team-uses-llms-to-audit-code-sharing-in-4-000-medical-studies

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse
JSON: https://digestai.news/story/mit-team-uses-llms-to-audit-code-sharing-in-4-000-medical-studies.json
