TRANSMISSION // 2611.33639v1

How Much Effort Helps an AI Code Reviewer?

Source published

A study of three Claude models finds higher review effort often catches more patches that fail strengthened tests—but uncertain labels and persistent misses complicate the result.

AI-generated conceptual illustration for How Much Effort Helps an AI Code Reviewer?
AI-generated conceptual illustration; not documentary evidence.

AI code reviewers may help with a growing pile of machine-written patches, but extra reasoning costs money. In a study of 90 Django patches, higher effort reduced acceptance of patches labeled wrong. Yet some labels are uncertain, and every setting still accepted many patches labeled wrong.

The question: how much checking is enough?

A patch can pass a project’s usual tests and still contain a defect. The authors call this a plausible-but-wrong change: one that appears successful under a benchmark’s checks but may fail stronger tests. Their preprint asks whether an AI reviewer’s effort setting affects its ability to catch such patches, and whether any gain is worth the extra cost.

They tested Claude Opus 5.5, Sonnet 5.5 and Haiku 5.5 at low, medium and high effort. Opus was the preregistered, confirmatory part of the study; Sonnet and Haiku were exploratory. Each model reviewed the same 90 agent-written patches for Django, a Python web framework. Reviewers received the issue description and code and could inspect files or run commands and tests, but could not access the scoring tests or official fix.

How the patches were judged

The patches came from SWE-bench Verified. Initially, a patch counted as wrong if it passed the benchmark’s tests but failed stronger SWE-ABS tests; patches passing both were counted as correct. The authors then rechecked all 90 labels against written rules. Eleven labels changed: eight patches became correct because the failed test checked a detail the issue did not specify, or because the test was broken; three became wrong because a concrete input showed a difference from the official fix that no test caught. The final set contained 55 wrong and 35 correct patches.

That recheck does not make the labels definitive. SWE-ABS tests are derived partly from the official fix, and a test may demand behavior the original issue never required. In a separate, exploratory assessment, a language-model coder judged that the issue required the tested behavior for only 6 of the 55 wrong patches; for 32, it may not have, and for 14 the answer was unclear. People did not independently validate this coding.

More effort caught more test-failing patches

At high effort, each model accepted a smaller share of the 55 patches labeled wrong than at low effort. The false-success rate—the fraction of wrong patches accepted—fell from 0.67 to 0.45 for Opus, 0.65 to 0.49 for Sonnet, and 0.78 to 0.51 for Haiku. The difference was statistically supported for Opus and Haiku. Sonnet’s result did not meet the specified threshold using the study’s exact test.

The trade-off between medium and high effort varied by model. For Opus, medium was judged no more than 15 percentage points worse than high on false success, within the preregistered margin. It cost 20% less, but that fell short of the preregistered target of a 30% saving. For Sonnet and Haiku, medium cost 39% and 51% less than high, respectively, but the study did not establish that medium performed nearly as well. The experiment compared effort settings; it does not establish which aspect of the models’ process produced the different verdicts.

Haiku at high effort cost about 8% as much per review as Opus at medium, and the measured accuracy difference was unresolved. That is not proof the settings are equivalent. The comparison was exploratory, and Sonnet and Haiku were run later with a newer harness version.

Why the answer remains uncertain

None of the nine model-and-effort settings was a strong gate: each accepted at least 45% of patches labeled wrong. When the 32 patches whose failed tests may exceed the issue’s requirements are set aside, 23 wrong patches remain. In that smaller group, no model showed a clear high-versus-low advantage under the study’s statistical test, and medium was not shown to be non-inferior to high. This does not prove the reviewers were right to accept those patches; it highlights how much the result depends on the definition of correctness.

The study is also limited to one repository and language, one prompt and 90 patches. In 20 repeated high-effort reviews of Opus, none changed its verdict, but the estimated flip-rate interval still allows a rate as high as about 16%. Review explanations and the assessment of issue requirements were coded with language models and not human-validated. For Opus, recalling an official fix from training data was associated with more acceptance of wrong patches, but the study cannot show that memory caused those errors.

The practical takeaway is not to always choose high effort. In this setup, Opus at medium produced nearly the same verdict pattern as high at lower cost. For Sonnet and Haiku, high caught more patches labeled wrong than medium, but that evidence is exploratory. AI review should complement, not replace, tests and human judgment.

This is an arXiv preprint, not evidence of peer review. The authors release data and analysis materials, but full review transcripts are private, and some exploratory RQ6 coding records are not public; those findings therefore cannot be fully recomputed from the released materials. This bounded experiment does not establish how AI reviewers will perform on other codebases or real-world changes.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • Why Passing Tests May Not Prove an AI Patch Is Correct

    Supporting evidence: Both studies show limits of test-based correctness judgments: Shen, Zhang and Wang classify some patches that pass SWE-bench Verified tests as wrong under strengthened SWE-ABS tests, while Ma et al. report that 134 of 425 test-passing patches were overturned by adversarial tests in SWE-Proof. The studies use different tasks, models and checking procedures, so this supports only the bounded point that passing a finite test suite need not establish correctness.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.33639v1 — Original paper

      Excerpt reference: static/papers/2611.33639v1.md:13-112
      Basis: Paper text
      Source SHA-256: 59252f60d3a91086093f6296804ad7d25e024bfad68a7c1bbdb88ff8bb19d724

    • 2609.21190v3 — Original paper

      Excerpt reference: static/papers/2609.21190v3.md:500-551
      Basis: Paper text
      Source SHA-256: deec578e59f477760ba19741fc72e9ba7c5ef33285d8895b6a9dc694e976ae1b

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.