---
title: "AI read 4,000 medical studies and found most hide their code. Copy the method"
dek: "MIT and Dana-Farber used language models to audit nearly 4,000 prediction-model papers. Only 12% shared code, and the way they found out is the real lesson."
author: "Ideabro Machine"
author_title: "Synthetic Correspondent"
category: "Learn AI"
format: brief
tags: ["research", "healthcare", "reproducibility", "llm evaluation", "open science"]
published: 2026-11-20T17:08:23.734Z
updated: 2026-11-20T17:08:26.488Z
reading_minutes: 4
url: "https://www.ideabro.ai/article/ai-read-4-000-medical-studies-and-found-most-hide-their-code-copy-the-method"
ai_disclosure: generated
ai_disclosure_label: "AI-generated"
ai_notes: "Researched and written by Ideabro's AI newsroom from the sources listed at the end, and published automatically. Spot an error? Use the contact page and a human editor will correct it."
members_only: false
summary:
  - "An LLM-assisted review in Nature Medicine found only 482 of 3,967 clinical prediction-model papers (12.2%) stated they share code."
  - "Shared repositories often lacked documentation, software requirements or reuse terms, and sharing rates ranged from zero to over 70% by journal."
  - "The method, LLM extraction plus automated repository checks plus human validation on 500 papers, is a template for AI audit tools."
publisher: "Ideabro"
---

# AI read 4,000 medical studies and found most hide their code. Copy the method

*MIT and Dana-Farber used language models to audit nearly 4,000 prediction-model papers. Only 12% shared code, and the way they found out is the real lesson.*

Only about one in eight medical prediction-model studies say they share their code, and much of what is shared is hard to rerun. That is the headline from a new paper in Nature Medicine by researchers at MIT and Dana-Farber, who used large language models to read nearly 4,000 studies and then checked the code behind them. Of 3,967 papers, 482, or 12.2%, included a statement about code sharing.

The finding matters for medicine, where these models help predict things like disease risk and patient outcomes. But the method may matter more for people building with AI. It is a clear, working example of language models doing audit work at a scale no team of humans would take on, with people checking the machine's output instead of doing all the reading themselves.

## What the researchers actually did

The team started with open-access papers from PubMed Central that built, updated or validated a prediction model and cited TRIPOD or TRIPOD+AI, the reporting guidelines for this kind of research. That gave them a large, well-defined set with full text available.

An LLM read each paper to find statements about code availability and to pull out any repository links. Ordinary software then took over and inspected the repositories themselves: whether they had documentation, whether they listed the software needed to run them, and whether they stated terms for reuse. Two human reviewers checked the results on a sample of 500 papers and a sample of repositories.

That split is worth noticing. The model handled the messy part, reading prose that describes code sharing in a hundred different ways. Deterministic code handled the parts that can be measured. Humans checked a slice to see whether the whole thing could be trusted.

## Sharing is rare, and shared code is often unusable

The review found two gaps. First, code sharing is still uncommon. Second, publishing code is not the same as making it reusable. Many repositories lacked the documentation and setup information someone would need to understand the work and run it again.

The picture also varied a lot by venue. Sharing rates ranged from zero at some journals to more than 70% at others, and they differed by country too. That spread suggests the problem is less about what researchers are able to do and more about what journals and institutions ask of them.

The authors also pointed to good practice already in use, such as releasing synthetic datasets when real patient records can't be made public. That lets others run the code without exposing private data.

The results are feeding into TRIPOD-Code, a new reporting guideline being developed to spell out what researchers should share alongside a prediction model.

## What builders can take from this

For founders selling into healthcare, the message is direct. A large share of the published models you might build on cannot be checked independently. If your product relies on a model from the literature, budget time to rebuild and validate it yourself, and treat a paper with no usable code as a starting point, not a component.

The study also hints at a market. Journals, funders and hospital review boards all need to know whether research meets reporting standards, and today that checking is slow and manual. A pipeline that reads papers, extracts claims and tests them against what is actually published could serve all of them. The same approach fits anywhere compliance depends on reading documents and checking them against evidence: grant reports, clinical trial registrations, security disclosures, vendor questionnaires.

If you build that kind of system, copy the structure here. Use the model for reading and extraction, where language is ambiguous. Use plain code for anything you can measure directly. Then have humans validate a sample large enough to give you a real error rate. That last step is what lets a team publish results in Nature Medicine, and it is what lets a customer trust your output.

Finally, apply the lesson to your own work. If you publish a model, a benchmark or an evaluation, the bar is not just a public repository. Ship the setup instructions, the dependencies, a licence and, where you can't share real data, a synthetic stand-in.

## What to watch next

Watch for the draft of TRIPOD-Code and whether major journals make it a condition of publication. If they do, demand for tools that check reporting automatically will rise quickly.

Also watch for this method spreading to other fields. Reproducibility problems are not unique to medicine, and a reusable LLM-plus-checks pipeline could be pointed at machine learning papers, economics or materials science with modest changes. The open question is accuracy at the edges. A sample of 500 checked by humans is solid for a study. A product that people rely on for compliance decisions will need to show its error rates just as plainly.

## Sources

- [AI-assisted scoping review of code sharing in clinical prediction model research (Nature Medicine)](https://www.nature.com/articles/s41591-026-04691-1)
- [AI helps researchers investigate how thousands of medical studies share code (MIT News)](https://news.mit.edu/2026/ai-helps-researchers-investigate-how-medical-studies-share-code-1119)
- [AI-assisted scoping review of code sharing in clinical prediction model research (Dana-Farber)](https://www.dana-farber.org/newsroom/news-releases/2026/ai-assisted-scoping-review-of-code-sharing-in-clinical-prediction-model-research)
- [Publication record (University of Birmingham)](https://research.birmingham.ac.uk/en/publications/ai-assisted-scoping-review-of-code-sharing-in-clinical-prediction/)

---

Source: [AI read 4,000 medical studies and found most hide their code. Copy the method](https://www.ideabro.ai/article/ai-read-4-000-medical-studies-and-found-most-hide-their-code-copy-the-method) — Ideabro. AI-generated: Drafted by AI and reviewed by a human editor before publishing.
