How Much Effort Does an AI Code Reviewer Need? Evidence from Claude 5.5 Models on Plausible-but-Wrong Patches

Zax Shen, Hanling Zhang, Zixu WangarXiv 2026

TL;DR

AI coding agents write code faster than humans can review it, pushing engineering teams to deploy AI code reviewers as automated gatekeepers. This paper tests how much "reasoning effort" Claude 5.5 models actually need to catch sneaky, plausible-but-broken code patches—finding that cranking up the effort helps every model, though smaller models need max effort to shine while the largest model plateaus early. Even at full throttle, however, AI reviewers wave through at least 45% of flawed patches, proving they are a helpful complement to, rather than a replacement for, solid test suites.

What Problem Does This Paper Address?

Software development has a new bottleneck: AI agents generate pull requests at blistering speeds, and human review time hasn't kept pace. A natural fix is using a second AI model to review patches before merging.

Modern reasoning models offer an "effort" knob that trades compute cost for diligence—shaping how much thinking, tool-calling, and testing the model does before rendering a verdict. The authors ask a practical question: how much effort does an AI reviewer actually need—and across what model sizes—to catch "plausible-but-wrong" patches? These are tricky, agent-written code changes that pass standard developer test suites, fooling basic benchmarks into thinking an issue is solved, yet fail under stricter scrutiny.

Methods

The authors ran a paired, within-patch experiment across 810 total reviews. Three models—Claude Opus 5.5 (preregistered, confirmatory), Sonnet 5.5, and Haiku 5.5 (both exploratory)—each reviewed the exact same 90 patches at low, medium, and high effort settings using the Claude Code CLI.

Each review happened inside a sealed, internet-blocked Docker container so the reviewer couldn't look up the GitHub issue or the official upstream fix. Armed with the verbatim issue text and the repository, the AI reviewer had tools to read code, run shell commands, and write its own tests before outputting a strict pass or fail verdict.

Figure 1: How a Reviewer Works and Where Reviews Went Shallow or Failed. The reviewer reads the issue and the patch, may think, reads code and runs commands and tests, and writes a verdict decoded strictly into pass, fail or no verdict. Counts are reviews at low / medium / high effort, out of 90 per setting. Opus 5.5 is preregistered; Sonnet 5.5 and Haiku 5.5 are exploratory. Shallow reviews cluster at low effort for Opus and at low and medium for Sonnet; Haiku always thought (Figure 2), and only the smaller models returned malformed verdicts. Source: shallow-pass.json and models.json (by_model.<model>.malformed).

The researchers also ran clever diagnostic checks: a "recall probe" (asking Opus to write the official fix from the issue text alone to measure training-data memorization) and LLM-based coding of the review transcripts to verify whether rejections actually named the real underlying bug.

Datasets

The evaluation used 90 public, agent-generated patches for the Django web framework, drawn from SWE-bench Verified. To establish ground truth, the authors relied on SWE-ABS (which strengthens weak benchmark tests using the official fix) alongside manual rule-based rechecking. By the final corrected labels, 55 patches were wrong (passed original Verified tests, failed stricter checks) and 35 were correct (passed both).

Key Insights and Ideas

  • Diminishing returns depend on model scale: For flagship Opus 5.5, almost all accuracy gains happened going from low to medium effort. Smaller Sonnet and Haiku models, however, needed the jump from medium to high effort to do their best work.
  • Low effort invites "rubber-stamping": At low effort, Opus and Sonnet occasionally skipped their internal thinking block entirely—and every single review without thinking tokens resulted in an automatic pass, even on broken patches. Curiously, tiny Haiku never skipped thinking and generated the most thinking tokens at every level.
  • Memorizing the fix backfires: Because SWE-bench issues predate 2024, Opus recalled many official fixes from pretraining. Counterintuitively, when Opus fully recalled an upstream fix, it accepted wrong patches more often (e.g., 64% false success vs. 27% at medium effort). Recognizing superficial similarities to a remembered fix may lull the reviewer into skipping rigorous verification.
  • "Seen, yet accepted": In 111 of the 290 instances where a reviewer accepted a broken patch, its written feedback explicitly described the exact defect—it just decided the flaw wasn't severe enough to fail the patch.

Key Results

  • Effort reduces missed bugs: Moving from low to high effort lowered false success (the share of wrong patches accepted) across the board: from .67 to .45 for Opus, .65 to .49 for Sonnet, and .78 to .51 for Haiku. False alarms (rejecting good patches) stayed low, mostly between .06 and .11 (peaking at .20 for Haiku at medium).
  • Cost vs. performance: Opus at medium was statistically non-inferior to high (catching 29 vs. 30 of 55 wrong patches) while costing 20% less in geometric mean ($0.0805 vs. $0.1009), falling just short of a preregistered 30% savings target.
  • Best value per dollar: While Opus at medium or high agreed best with the ground-truth labels (balanced agreement of .735 and .744), Haiku at high effort achieved .688 balanced agreement while costing less than a cent per review ($0.0078 mean)—roughly 8% of Opus medium's price.
  • No silver bullet: Even the best configuration still let 45% of plausible-but-wrong patches slip through.
Table 3: Results by Model and Effort. Opus 5.5 is the preregistered study; Sonnet 5.5 and Haiku 5.5 are exploratory. Rates count a malformed review as no acceptance. Costs are list-price USD per review; wall time (minutes) and behavior values are medians per review. More effort cost more and caught more wrong patches in every model; for Opus the gain came mostly between low and medium.

Limitations and Future Work

The biggest caveat lies in what "wrong" means. Because SWE-ABS derives stronger tests from the official fix, tests can demand implementation details the original GitHub issue never asked for. Post-hoc coding suggested 32 of the 55 wrong patches failed tests that might exceed the issue's actual requirements; when those 32 are removed, none of the effort accuracy hypotheses hold statistically. Additionally, Sonnet and Haiku runs were exploratory, limited to a single Python repository (Django), and much of the qualitative transcript coding relied on Claude models without human validation.

Future work should bring in human raters to audit test strictness, evaluate fresh private codebases free from training-data contamination, test whether high-effort Haiku formally matches medium-effort Opus under cost-weighted metrics, and explore richer reviewer setups like checklists and multi-agent voting.

Summary updated

Abstract

AI coding agents write code faster than people can review it, so teams add AI reviewers. Reasoning models let such a reviewer trade cost for diligence through an effort setting. We asked how much effort a reviewer needs to catch plausible-but-wrong patches, which pass a benchmark's tests but fail stronger ones. Claude Opus 5.5 (preregistered), Sonnet 5.5 and Haiku 5.5 (exploratory) each reviewed the same 90 agent-written Django patches from SWE-bench Verified at low, medium and high effort. By strengthened SWE-ABS tests, 55 patches were wrong and 35 correct. In every model, high effort accepted fewer wrong patches than low (false success .45 against .67 for Opus, .49 against .65 for Sonnet, .51 against .78 for Haiku), a supported difference for Opus and Haiku. For Opus, medium was non-inferior to high within 15 percentage points (difference .018, 95% CI [-.065, .108]) and cost 20% less, short of the preregistered 30%. For Sonnet and Haiku, medium cost 39% and 51% less than high but was not shown non-inferior. Opus at medium or high agreed best with the labels; Haiku at high cost about 8% as much per review as Opus at medium, accuracy difference unresolved. Exploratory coding showed that most rejections named the tested defect and that effort added such rejections. No setting is a strong gate: each accepted at least 45% of wrong patches. For 32 of the 55 wrong patches the issue may not require what the failing test checks; without them, neither accuracy hypothesis holds for any model.
BibTeX
@misc{shen2026how,
  author = {Zax Shen and Hanling Zhang and Zixu Wang},
  title = {{How Much Effort Does an AI Code Reviewer Need? Evidence from Claude 5.5 Models on Plausible-but-Wrong Patches}},
  year = {2026},
  eprint = {2611.33639},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33639},
}
Figure