Repairs You Can Audit: Execution-Grounded Reproducibility Checks for Journals

Many computational papers ship code that no longer runs, and checking whether their numbers actually come out of that code is slow, unpaid human work. At the replication journal ReScience, two volunteer reviewers clone, build, and run every submission, and a review takes about 100 days and roughly 50 comments (Sustainable computational science: the ReScience initiative). Coding agents (language models that edit a repository, run it, read the error, and try again) can now fix real GitHub issues reliably. The obvious move is to point such an agent at a paper's repository and ask whether the results reproduce. That move has a trap. An agent rewarded for getting the code to run and the numbers to match will happily change the science until they do. A reproducibility verdict from such an agent is worthless unless someone can see exactly what it changed.

We propose a reproducibility checker in which every edit the agent makes is recorded in a typed ledger. Edits are labeled as environment repairs (dependencies, paths, versions), interface repairs (entry points, argument plumbing), or scientific edits (anything touching the algorithm, data processing, or hyperparameters). A separate critic agent audits each scientific edit against the paper's own text before it is allowed. The verdict depends on which kinds of edits were needed. "Reproduced with environment repairs only" is a strong claim. "Reproduced only after scientific edits" is a documented deviation an editor must look at. Our central bet is that typing and auditing edits, more than adding agents or loop iterations, is what makes an execution-based verdict trustworthy enough for a journal to rely on. That matters most for new and volunteer-run venues, which cannot borrow credibility from a long citation record.

Where the gap is

Three bodies of work each cover part of the problem.

On the document side, ARA has language-model agents turn a paper's text into a workflow graph linking data sources, methods, experiments, and the tables or figures they produce. It scores how complete and connected that graph is, and is reported to reach about 61% accuracy against human reproduction reports from ReScience C, ReproBench, and GoldStandardDB. Its authors acknowledge that it never runs code, and that human reproductions often fail on implementation details invisible in the text. ARA motivates our proposal, and we reuse its graph as the reference a critic checks scientific edits against.

On the execution side, ReScience shows that running code is the real test, and that doing it by hand does not scale. Separately, coding-agent work shows the machinery for the loop exists. SWE-bench turned issue resolution into a test-verified benchmark. Role-split systems such as Self-collaboration Code Generation via ChatGPT and MAGIS assign analyst, coder, and tester roles. Adversarial Review adds a three-role protocol: a main agent, a reviewer, and a critic that must cite exact code lines when disagreeing. Under this protocol code stays frozen until the reviewer and critic reach an evidence-backed agreement. All of these target software bugs, where "tests pass" is the goal. None faces a setting where reaching the target number is itself the thing under suspicion.

The same papers also constrain the design. Qiu and Gill report that repeated critique cycles push agents to refactor working code and edit out-of-scope files. They also find that an incorrect agent can talk a correct one out of a valid objection unless disagreements are forced into structured evidence. Yan et al. find that compiler-feedback repair plateaus after 3 to 5 iterations (Autonomous Code Refinement via Execution Feedback Loops). Srivastava et al. show that loops focused only on functional success can amplify security problems (Autonomous Code Refinement via Execution Feedback Loops). Taken together, these say that more iterations and more agents are not the lever. What needs constraining is the kind of change the agent is allowed to make. The rollback mechanism of Fang et al. (Autonomous Code Refinement via Execution Feedback Loops), which reverts to the last stable state when a step causes regressions, supplies a method we reuse.

Core Claim

An execution-based reproducibility verdict should be read as a pair: the outcome of running the code, plus a ledger of the edits needed to get that outcome. If edits are typed, and scientific edits must cite supporting text in the paper before a critic admits them, the false-reproduction rate falls sharply compared with an unconstrained coding agent of the same strength and budget. The false-reproduction rate is the fraction of repositories declared "reproduced" whose code, as shipped, should not produce the reported result. This reduction should come without losing much of the agent's ability to revive code that has merely decayed.

Research Program

The system has four roles, deliberately few given Qiu and Gill's finding that a three-agent protocol beat a five-agent one.

The reader builds an ARA-style workflow graph from the paper and marks the target claims: specific numbers in specific tables or figures.

The runner works in a network-restricted sandbox. It installs, executes, and proposes patches from tracebacks, with rollback to the last stable checkpoint.

The typer labels each proposed patch by edit class using diff location and content. Disputed labels go to the critic, so the runner cannot simply mislabel a scientific edit as an environment fix.

The critic admits a scientific edit only if it cites a passage of the paper or a node of the workflow graph that the edit brings the code into agreement with. This mirrors Adversarial Review's line-cited disagreement, applied to paper text rather than code.

The loop is capped at a fixed number of rounds, informed by the plateau result. The output is one of four verdicts: reproduced with environment and interface repairs only; reproduced after admitted scientific edits; not reproduced; or not runnable within budget. Each verdict comes with the full ledger and the execution logs.

The journal-reputation direction enters as the deployment setting and the reason the output takes this form. New venues build trust through scarce, visible quality signals. The IEEE Open Journal of the Computer Society capped output at 20 to 30 curated papers a year on its way to a debut Impact Factor of 5.9 (Editorial). Community diamond open-access venues such as IRRJ run on volunteer labor. A ledger an editor can read in minutes is a quality signal such venues could attach to papers without the 100-day cost. We will not claim to measure effects on reputation or citations; that would need years of data. We do measure what an editor would need to trust the signal: accuracy, false-reproduction rate, cost, and how readable the ledger is.

Baselines

The naive reference point is plain re-execution. We follow the repository's README or the obvious entry script in a container pinned to the paper's era, with no model involvement, and count successes. This tells us how much of the problem is bit rot that a bare container already solves. ReScience notes that under 20% of computational papers ship functional code at all.

The text-only baseline is ARA, run as described on the same ReScience C articles. Its reported result is about 61% accuracy against human reproduction reports (ARA). Beating it means higher agreement with the human reports on the same article split. Because ARA judges reproducibility of the paper while we judge whether the code reproduces, we will report both on the label definition ARA uses and on our execution-based label.

The strongest competitor is an unconstrained coding agent: the Adversarial Review protocol run off the shelf with the instruction "make the repository run and produce the paper's reported results." It is the strongest system in the file, at 75.2% on SWE-bench Verified versus 72.6% for the five-agent MARS and 71.6% zero-shot (Adversarial Review). It also already contains structured, evidence-cited disagreement, so any gain we show must come from edit typing rather than from having a critic at all. Both systems use the same base model, the same sandbox, the same token budget, and the same round cap. Prompts get equal tuning effort on a shared development split. We beat it if our false-reproduction rate on the sabotage set described below is substantially lower, while our revival rate on genuinely decayed repositories is within a few points of its rate.

A single-agent execution-feedback loop, in the style of Hollmann et al. (Autonomous Code Refinement via Execution Feedback Loops), tests whether multiple roles help at all.

The key ablation keeps our full system but removes edit typing and the critic's citation requirement for scientific edits, while keeping the ledger as a passive log. This isolates whether gating, not merely recording, is what reduces false reproductions.

Why not just…?

Why not just use ARA's text score and skip execution? ARA's own authors say human reproduction failures often stem from implementation details the text graph cannot see, and its reported accuracy is about 61%. Our experiments test the claim directly. We compare per-article agreement with human reports for ARA, for our system, and for their combination. If ARA alone matches our system on the articles where code exists, execution is not worth its cost, and we will say so.

Why not just hand the repository to the best existing coding agent? This is the real threat. On honestly decayed repositories it may do as well as we do, because the needed fixes are mostly environment repairs. Its weakness should appear only when reaching the reported number requires changing the science, which is exactly where over-editing and persuasion failures were documented. The sabotage set below is built to separate the two cases. If the off-the-shelf agent's false-reproduction rate on sabotaged repositories is already low, edit typing adds nothing and the contribution reduces to a benchmark.

Why not just pin old dependencies in a container and re-run? For some repositories this will suffice, which is why it is our zero-effort baseline. It cannot fix missing entry points, removed APIs, or hard-coded paths, and it produces no account of what was changed. The size of the gap between plain re-execution and the agents on the decayed set measures how much the agent loop is needed.

Why not just recruit more human reviewers, as with mentored novice reviewing? Stelmakh et al. (Mechanisms for Quality Assurance in Scientific Peer Review) show junior reviewers can keep standards with mentorship. Our system is meant to support reviewers, not replace them. We measure per-paper wall-clock time and the fraction of ledgers a human can verify quickly. Even a modest-accuracy system that triages which repositories need human attention addresses the 100-day bottleneck.

Proposed Experiments

The main testbed is the ReScience C corpus of over 213 articles with human-validated reproduction reports, which ARA already uses. Each ReScience article is itself new code written from a paper's description, with numbers reported in the article. That gives two ground truths. The first is whether the replication code, re-run today, still yields the article's numbers. This is a decay test, and we score it against the article's tables within the authors' stated tolerances. The second is the human verdict on whether the original finding replicated. ReproBench and GoldStandardDB serve as secondary checks against ARA.

The decisive experiment is a sabotage set built from repositories that do reproduce. We inject two kinds of defects. Environment breakage (removed pins, renamed modules, moved data paths) should be repaired. Scientific defects (a flipped loss sign, a changed preprocessing step, an altered hyperparameter that contradicts the paper, a dropped ablation arm) should not be silently repaired. The correct verdict for a scientific defect is either "not reproduced" or "reproduced after admitted scientific edit," with the edit citing the paper passage it restores. A system that quietly returns to the reported numbers without flagging the change counts as a false reproduction. We report false-reproduction rate, revival rate on environment-only breakage, and how often edits were mislabeled, all checked against the known injected diffs.

Secondary measurements cover cost and readability. Token usage per paper matters given the 4x to 5x overhead Qiu and Gill report for multi-turn loops. We also count security-relevant edits flagged in the sandbox. Finally, a blinded study asks volunteer editors to read ledgers and judge, within a fixed time, whether a verdict is justified.

The project succeeds if typed, critic-gated repair clearly lowers false reproductions relative to the matched Adversarial Review agent on the sabotage set, keeps revival within a few points on decayed repositories, and agrees with ReScience human reports more often than ARA's text-only score. It fails informatively if the unconstrained agent proves as cautious as ours. In that case the honest conclusion is that strong coding agents are already safe reproducibility checkers, and the sabotage benchmark is the lasting contribution.