A review of nearly 4,000 clinical prediction studies found that only about one in eight reported sharing their code. Even when code was public, repositories did not consistently include the documentation and supporting information needed to understand or reuse it, according to an international team led by researchers at MIT and Dana-Farber Cancer Institute.
The findings were described in an MIT report published on November 19, 2026. The open-access study had recently appeared in Nature Medicine at the time of that report.
Clinical prediction studies develop or evaluate models that estimate patient outcomes, such as disease risk. Access to code can help other researchers examine decisions that may not be fully captured in a paper’s methods section, including how data were prepared and how model performance was assessed.
The team reviewed studies that developed, updated or validated prediction models, cited the TRIPOD or TRIPOD+AI reporting guidelines, and had full texts available in PubMed Central’s open-access collection. Researchers used large language models to identify code-sharing statements and links in the papers, then assessed hundreds of linked repositories for features including documentation, software requirements and terms of reuse.
Human reviewers checked the automated work: two researchers independently assessed 500 papers and a separate sample of repositories. Agreement was stronger on concrete features, such as whether a license file was present, than on judgments about whether documentation was adequate. Because classification errors remain possible, the authors emphasize overall patterns rather than treating every count as exact.
Code-sharing rates varied across journals, from zero to more than 70% of studies. The researchers also found journals with written code-sharing policies but low sharing rates. Some repositories offered extensive guidance; others offered almost none. In some cases, researchers supplied synthetic datasets to help others run code when patient records could not be made public.
The review is informing TRIPOD-Code, a reporting guideline still in development. Its aim is to establish clearer expectations for what researchers should provide when sharing analytical code—not to suggest that publishing a code link alone makes a study reproducible.



