AI helps researchers investigate how thousands of medical studies share code
Only 1 in 8 clinical prediction studies share code, and journal policies alone don't fix it, so most published patient-outcome models can't be scrutinized or reproduced.
Researchers at MIT and Dana-Farber Cancer Institute used AI language models to read nearly 4,000 medical studies and check hundreds of code repositories, the shared computer instructions behind research. They found only about 1 in 8 studies actually share code, and even when code is shared it's often missing the instructions needed to run it. The findings will shape TRIPOD-Code, a new checklist telling researchers what to share.
An MIT/Dana-Farber review of ~4,000 clinical prediction studies found code sharing rates ranged from 0% to over 70% across journals, and some journals with written code-sharing policies still had near-zero compliance, meaning policies alone don't work. Journals and funders gain a evidence base for setting concrete requirements via the TRIPOD-Code guideline. Research teams that share well-documented code, including synthetic datasets, gain a reproducibility advantage.
The team used an LLM to screen ~4,000 PubMed Central open-access papers citing TRIPOD or TRIPOD+AI, extract code-availability statements and links, then assessed linked repositories for documentation completeness, software requirements and reuse terms. Two human reviewers independently validated 500 papers; agreement was stronger for concrete checks (license presence) than subjective documentation quality, so authors stress patterns over exact counts. Findings feed TRIPOD-Code, a reporting guideline under development, published in Nature Medicine.