A new open-source workflow aims to bring large language models directly into the day-to-day mechanics of economics research—using the same replication packages that…
A new open-source workflow aims to bring large language models directly into the day-to-day mechanics of economics research—using the same replication packages that journals increasingly require authors to publish. The system is designed to let an LLM not only rerun an article’s analysis, but also test how robust it is, accelerate key computations, and propose new analyses consistent with the original study’s aims.
The workflow proceeds in three stages. It begins with reproduction: the model ingests an article’s published replication package and attempts to regenerate the core results. It then compares those outputs with the findings reported in the paper and its appendix, flagging mismatches. In addition, it runs an automated sensitivity analysis to probe whether conclusions depend heavily on particular modeling or computational choices.
When the authors applied this reproduction-and-checking step at scale, they drew on 4,452 published replication packages spanning five economics journals. The workflow marked potential discrepancies in 3,460 articles or accompanying appendices—suggesting that divergences between published claims and what is produced by the archived code and data may be widespread, at least as detected by this automated approach.
After attempting to reproduce results, the system moves to improvement. Here the LLM seeks alternative implementations or algorithms that deliver the same calculation more efficiently or more accurately. In practical terms, that can mean rewriting code, changing numerical methods, or selecting computational strategies better suited to the task at hand—while keeping the underlying analytic target intact. In 496 articles, the authors report, the workflow found a way to cut computation time by more than an order of magnitude—over a tenfold speedup—while maintaining accuracy comparable to, or exceeding, the original.
The final stage is extension. Rather than simply rerunning what was already published, the LLM is tasked with developing additional analyses that fit the paper’s stated goals and assumptions but were not included in the original write-up. Across the journal sample, the workflow generated such an aligned extension for 923 articles, producing additions that, according to the authors, do not appear in the original papers.
The work is described in a new paper by Matthew Schwartz, Isaiah Andrews, and Jesse M. Shapiro. Its central claim is not merely that LLMs can assist with coding, but that they can be structured into a rigorous, repeatable pipeline for auditing and building on published economics research—starting from the discipline’s existing replication infrastructure.
The broader implication is a shift in what “replication” could mean in practice: moving from sporadic, manual efforts toward automated checks that can be run across thousands of papers, while also identifying opportunities to make published workflows faster and to propose next-step analyses. Whether such tools become routine may depend on how journals, authors, and readers respond to large-scale discrepancy flagging—and on how the field decides to interpret and act on the issues such systems surface.