Education and Study · Blog · 🇺🇸 United States · via agentusecases.ai
Stanford professor uses Claude Code to audit 59 of his own papers and finds errors in more than half
With open code and data, the agent reran five years of published analyses and flagged numbers that did not match, bugs and personal data left in repositories.
- Profession
- Researcher, Teacher
- Tools
- Claude Code
- Country
- 🇺🇸 United States
- Found via
- agentusecases.ai (Alex Finn) ↗
- Report date
- November 10, 2026
- Verified on
- November 12, 2026
See more: AI for researchers · AI for teachers

What they did
Stanford psychologist Mike Frank ran Claude Code with a custom skill over the 79 papers he has authored in the last five years. For the 59 empirical papers, the agent found the published code and data, tried to rerun everything and compared every number in the paper with the output, within a 10% tolerance. It also flagged possible analysis errors and privacy issues.
How it went
In his November 10, 2026 post, he says 58 of the 59 had posted code and data, but only 31 could be rerun end to end. In 40 papers at least one number could not be reproduced, about 2% of the more than 10,000 numbers checked, mostly because of typos. More than half had at least one flagged error; one of them, a bug in a model pipeline, may require a correction or retraction. Participant identifiers also turned up in repositories.
Good to know
He warns that the report is preliminary: the AI analyses are complex and vary from run to run, and he still has to review each finding with his coauthors before correcting anything. The idea he argues for is running this audit before submitting a paper, like automated software tests. Public source checked before publishing.
The prompt
This is the repository for one of my papers [path or link], with code and data, and this is the paper PDF [attach]. Run the analysis from scratch and compare every number, table and statistical test in the text with what the code produces, within a [10%] tolerance. Build a table with the number in the paper, the reproduced number, the difference and the likely cause. Separately, list possible logic errors in the analysis and any data that could identify participants. Do not fix anything, just report.
Replace what is in [brackets]. Prompt written by us from the account, not a literal copy of the source. Do not paste other people’s personal data (privacy laws such as LGPD and GDPR apply).
Summary in our own words. Results as stated in the original account; we have not tested or audited them. Read the source ↗ Case found via agentusecases.ai (Alex Finn); text and prompt rewritten by us. Found a mistake?
Similar cases
01Economist uses Claude Code to collect and analyze public data
A Yale professor showed the agent finding U.S. Census data, cleaning spreadsheets and building a database from company filings.
02Instructor grades assignments with Claude and reviews every score before posting
A cybersecurity instructor pulls submissions through the Canvas API, gets a score and comment per criterion from Claude, and only posts them after reviewing.
03Teacher generates custom interactive lessons for each class
Given a text, the students' level and vocabulary, Claude Code returns an HTML lesson with flashcards and exercises.
0448 AI agents comb NASA lidar data and find a Maya site missing from the official register in 72 hours
A non-archaeologist turned 1,200 km² of lidar into images, let agents look for pyramids and plazas, and sent a report to the Mexican government.
05A lab lets Claude agents run 13 bioinformatics challenges end to end
In a research hackathon, agents handled the literature review, design, code, benchmarks and report. They gained a lot in speed and little in accuracy.
06UFSM research uses AI to correct satellite soil moisture readings and cuts the error by 73%
Researchers in southern Brazil combined data from NASA's SMAP satellite with terrain, climate and soil type to get estimates much closer to what field sensors measure.
07Agents search for new magnetic materials
A team of agents ran simulations and found candidates for room-temperature magnetic semiconductors.
08Assessing, teaching a tailored lesson and reassessing with an agent
A former teacher trained an agent to give assessments, build lessons for the gaps and reassess.