arXiv(opens in a new tab)cs.SEOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.01023

Groundability, Not Scale Alone: When Weak Reviewers Can Audit Strong Coding Agents

Junyu Guo, Shangding Gu, Ming Jin, Javad Lavaei

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Coding agents can return plausible patches that omit required behavior. These failures are hard to review because long traces and confident summaries often hide what was missed. We ask when a nominally weaker reviewer can reliably decide whether a patch solves its issue. We study 411 execution-labeled traces from three agents and 101 controlled cases. On 154 GPT-5.4 traces, structured but unchecked evidence raises both defect catch and over-rejection. We then provide official execution evidence as an upper-bound diagnostic. After choosing and freezing one of two formats per reviewer, five of six reviewers improve both rates on 122 held-out traces; two classify every trace correctly. Reviewer size is not a consistent predictor of quality. Because official tests are unavailable in deployment, we also evaluate a frozen cascade with patch-caused static errors and generated tests that first fail on the unpatched repository. On 121 scored held-out GPT-5.4 traces and 59 Gemini traces, its coverage is 0.89 and 0.86, risk is 0.33 and 0.26, catch is 0.76 and 0.80, and over-rejection is 0.66 and 0.67. Most false rejections occur when unresolved cases reach the reviewer. Official execution evidence shows the potential of weak review when decisive checks are available. Producing equally reliable checks without official tests remains the main bottleneck.

1 Introduction

Developers now delegate real tasks to coding agents such as Claude Code (Anthropic 2026a) and Cursor (Anysphere 2026). The agent explores the repository, edits files, runs some checks, and returns a patch with a confident summary. The user then has to decide whether the patch actually does what was asked. A field study of Cursor adoption reports short-term speed gains but long-term growth in code complexity (He et al. 2025). Audits of agent benchmarks also find many patches that look plausible but do not solve the task (Yu et al. 2025; Wang, Pradel, and Liu 2026).

We observe this problem in 154 real GPT-5.4 traces from the SWE-bench Lite and Verified subsets (Jimenez et al. 2024; Chowdhury et al. 2024). The traces span ten open-source Python repositories. Official hidden tests mark 101 patches as defective. The largest defect class is omission: a missing branch, implementation, or check. These errors are hard to catch by inspection. A long trace may contain plausible steps, a clean summary, and confident claims even when the patch misses required behavior.

This paper studies when a nominally weaker reviewer can reach the right decision. Given the issue, patch, and evidence from the agent run, it must choose accept, reject, or uncertain. More context is not enough. A raw trace still leaves the reviewer to infer whether the patch covers the missing behavior. A patch alone has the opposite problem: the diff may look plausible while the omitted case is invisible. In our design set, an 8B reviewer accepts all nine target omissions when it sees only the patch.

Organizing the evidence makes the work easier to read, but does not make it reliable. On real traces, structured but unchecked evidence raises both defect catch and false rejection. The key question is therefore whether the evidence exposes a claim about the missing behavior that the reviewer can check.

We call this property groundability (Figure 1): whether an independent check can answer the disputed question. Examples include a sound static analysis or a runnable test. The check should expose a real defect without raising the same alarm on correct patches.

We use four data groups: a GPT-5.4 core set of 154 traces; a Gemini transfer set of 59 traces; two accept/no-change sets with 61 correct patches and 137 no-change submissions; and 101 synthetic and controlled cases. These last cases include correct reference patches, construction-known omissions, and a naturalistic pilot. The 411 real traces span ten Python repositories and nine other languages, and all are labeled by execution.

Official execution evidence lets us ask what a weak reviewer could do if a reliable check were already available. This is an upper-bound diagnostic, not a deployable input. For each reviewer, we choose between two evidence formats on the 32-trace design set, using over-rejection first and defect catch to break ties. We then freeze the choice. On the remaining 122 traces, five of six reviewers move to higher catch and lower over-rejection than with structured evidence. GPT-OSS-120B and GPT-4.1 classify all 122 traces correctly. The same frozen choices transfer for the three reviewers evaluated on the 59 Gemini traces. This avoids selecting a format on the reported test partition, but the official evidence still represents an upper bound. Across our heterogeneous ladder, larger parameter count does not consistently predict better review.

We then use a frozen review cascade to test how much

Figure

Figure 1: Overview. A plausible patch can hide an omission (A). Official execution evidence shows that a fixed weak reviewer can separate defects from false alarms in an upper-bound diagnostic (B), motivating independent checks before review (C). The starred pass branch is the frozen evaluation rule, not a recommended acceptance rule.

of this upper bound can be automated. It keeps only patch-caused errors and uses a generated test only if it first fails on the unpatched repository. On the held-out GPT-5.4 and Gemini sets, coverage is 0.89 and 0.86, and defect catch is 0.76 and 0.80. Selective risk is 0.33 and 0.26, and over-rejection is 0.66 and 0.67. This is a high-coverage stress test, not yet a reliable deployed reviewer. Most false rejections occur after automatic checks end.

Overall, this paper makes four contributions. (1) Task and benchmark. We define trace review with three outcomes and measure catch, over-rejection, and abstention. Our benchmark contains 411 execution-labeled real traces and 101 synthetic and controlled cases. (2) Fixed-reviewer evidence effects. With official execution evidence, five of six reviewers improve both catch and over-rejection on a held-out partition. Across models, parameter count is not a monotonic predictor. (3) Automation stress test. A frozen cascade combines patch-caused static errors with checked generated tests and measures how much of the upper bound current tools recover. (4) Measured limits. We trace the remaining errors to missing checks, weak passing-test evidence, and unresolved cases sent to the reviewer.

References (100)

Couldn't load all references. Reload the page to try again.