See, Read, Compare: Candidate-Aware Verification for Agent Test-Time Scaling

Xinyu Ye, Yongliang Wu, Xingyu Zhu, Peng Xia, Huaijin Wu, Yehui Tang, Rui Ye, Hao Xiong, Junchi Yan, Huaxiu YaoNeurIPS 2026

TL;DR

When AI coding agents generate a dozen different fixes for a software bug, picking the right one without running expensive test suites is surprisingly hard. This paper introduces See, Read, Compare (SRC), a training-free, execution-free verifier that stops grading AI submissions in isolation and instead treats them like a human code reviewer would: by seeing where candidates disagree, reading how each agent actually arrived at its answer, and comparing them head-to-head in a fast tournament. It boosts accuracy across major coding benchmarks while cutting verification API costs by roughly 8x compared to the previous state of the art.

What Problem Does This Paper Address?

One of the most reliable ways to make LLM agents smarter is test-time scaling: instead of hoping the model gets a problem right on the first try, you let it take $K$ independent swings (rollouts) and use a verifier to pick the best submission.

In software engineering (SWE), the gold standard for verification is executing the code against a test suite. In practice, spinning up sandboxed environments at scale is slow and expensive—and in the real world, hidden grading tests don't exist anyway. Execution-free verifiers try to pick the winner just by reading the submissions, but current approaches treat every candidate in a vacuum. As illustrated below, they suffer from three blind spots:

  1. Candidate-blind rubrics: They write a grading checklist before looking at the submitted patches, often over-specifying one imagined solution while missing the subtle edge cases where the actual candidates disagree.
  2. Ignoring the journey: They look only at the final code diff, missing crucial red flags in the agent's action log (or trajectory)—like an agent claiming victory without ever running a test.
  3. Flawed absolute scoring: Asking an LLM judge to rate patches from 1 to 5 often leads to multi-way ties and poorly calibrated scores.
Three failure modes of prior execution-free verifiers compared to SRC

Methods

Instead of evaluating candidates in isolation, SRC uses the entire batch of $K$ rollouts as shared context across a three-stage pipeline requiring zero model training and zero repository access:

Figure 2: Overall Architecture of SRC. SEE (top) induces an instance-specific rubric from a diverse subset of patches, and READ (bottom) compresses each rollout into a summary grounded in trajectory evidence. COMPARE then selects the best candidate through a two-phase hybrid Swiss tournament.
  • SEE (Candidate-Aware Rubric Induction): Rather than guessing how a bug should be fixed from scratch, SRC picks a small, maximally diverse subset of submitted patches (using edit-distance farthest-point sampling). An LLM contrasts these patches, throws out what everyone agrees on, and builds a 4-part rubric of discriminative questions targeting exact points of disagreement.
  • READ (Trajectory Evidence Summarization): Raw agent logs are long, noisy, and full of overconfident LLM self-praise. First, zero-cost regex classifiers extract hard behavioral stats (turn counts, edits, test runs, error recovery). Next, an LLM cross-checks those hard facts against the agent's log to write a compact Cognitive Narrative Summary (CNS)—flagging unverified claims or skipped steps before the judge ever sees the patch.
  • COMPARE (Hybrid Tournament Selection): Pairwise comparison ("Is A better than B?") is far more reliable for LLMs than absolute scoring, but comparing every pair takes $O(K^2)$ calls. SRC introduces a clever two-phase Hybrid Swiss tournament that stays linear—$O(K)$ calls. Phase 1 runs a single-elimination knockout bracket ($K-1$ calls) to crown a provisional champion $W$. Because a good candidate might have been unlucky and lost to $W$ early on, Phase 2 gathers only $W$ and the candidates $W$ directly defeated ($\le \lceil\log_2 K\rceil + 1$ finalists) and runs a mini Swiss-system tournament among them to confirm the true winner.

Datasets

Because SRC is completely training-free, datasets are used strictly for evaluation (no new benchmarks are introduced):

  • SWE-bench Verified: Real-world Python GitHub issues and bug-fixing tasks.
  • Terminal-Bench 2: 89 end-to-end Linux command-line tasks (shell scripting, system configuration, package installation).
  • DeepSWE: 113 software tasks across five programming languages, primarily testing feature implementation rather than bug fixing.

Key Insights and Ideas

  • Disagreement is the best teacher: Building a rubric by contrasting submitted patches (1 LLM call, 0 repo access) beats letting an agentic verifier explore the codebase for ~23 tool calls (+4.1 percentage points in selection accuracy). What candidates disagree on is precisely what the judge needs to scrutinize.
  • Agents lie; trajectories tell: Patches that look clean on the surface are frequently "band-aid" fixes. Giving the judge the Cognitive Narrative Summary exposes agents that hallucinated success or skipped testing—dropping this step costs 4.1 percentage points in accuracy.
  • You don't need $O(K^2)$ calls to get pairwise quality: On a pool of 16 candidates, a full round-robin tournament takes 120 judge calls. SRC's Hybrid Swiss tournament takes just 21 calls while slightly outperforming round-robin (77.4% vs. 77.1% selection accuracy) by focusing extra compute only on contenders that lost to the bracket winner.

Key Results

Across generator models, judge backbones, and task domains, SRC consistently converts extra rollouts into higher accuracy:

Figure 3: Best@K as a function of K on SWE- bench Verified with Qwen3-Coder-30B-A3B.
  • SWE-bench Verified ($K=16$): Using Gemini 2.5 Flash for all stages, SRC reaches 57.8% Best@16 on Qwen3-Coder rollouts (+3.8pp over Agentic Rubrics, +7.2pp over Self-Consistency) and 73.2% Best@16 on Kimi K2.5 rollouts. Remarkably, SRC achieves this at roughly 1/8th the API cost of Agentic Rubrics (which uses Gemini 3 Pro / 2.5 Pro).
  • Swing-instance accuracy (S-Acc): On pools containing at least one right and one wrong answer, SRC picks a correct patch 77.4% of the time on Qwen3-Coder and 82.4% on Kimi K2.5.
  • Open-weight & Cross-domain Generalization: Running SRC end-to-end on a local, open-weight Qwen3.6-27B model hits 55.0% Best@16 (within 2.8pp of Gemini 2.5 Flash), while swapping in GPT-5.1 pushes it to 59.0%. On Terminal-Bench 2 ($K=5$), SRC lifts Pass@1 by +9.6pp (TongAgents) and +7.7pp (ForgeCode), and scales cleanly to multi-language feature requests on DeepSWE (44.2% Best@6 vs. 34.8% Random).

Limitations and Future Work

Not discussed in the paper (explicit limitations are likely deferred to the appendix beyond page 10). For future directions, the authors point toward a broader paradigm shift in execution-free agent verification: moving away from static, isolated scoring toward batch-conditioned criteria, process-grounded evidence, and comparative selection.

Summary updated

Abstract

Test-time scaling (TTS) improves LLM agent performance by sampling $K$ independent rollouts and selecting one with a verifier. In open-ended software engineering (SWE) agent settings, verification typically relies on code execution to obtain a direct correctness signal, but incurs substantial setup and testing cost. By contrast, execution-free verifiers offer a more scalable alternative that chooses from the submission alone. However, existing execution-free verifiers are largely submission-isolated: they fix rubrics before seeing the candidate batch, underuse the trajectory evidence already produced during agent rollouts, and rely on poorly calibrated pointwise scores for the final decision. As a result, they often miss the right candidate even when it lies within the pool. To address this gap, we propose a training-free and execution-free verifier for agent test-time scaling based on a See, Read, Compare (SRC) protocol, which treats the $K$ candidates as mutual context rather than independent inputs. The See stage combines task understanding with cross-candidate contrast to induce an instance-specific rubric. The Read stage extracts structured behavioral features, and compresses each trajectory into an evidence-grounded summary along several cognitive dimensions: localization, hypotheses, interventions, and validation. The Compare stage performs rubric-guided pairwise selection through a two-phase hybrid tournament, preserving relative judgment with only linear complexity calls. Experiments show that SRC outperforms all compared execution-free baselines across SWE-bench Verified generator pools and generalizes across model backbones, to Terminal-Bench~2, and to feature implementation tasks on DeepSWE. The source code will be available at https://github.com/XinyuYee/see-read-compare.
BibTeX
@inproceedings{ye2026see,
  author = {Xinyu Ye and Yongliang Wu and Xingyu Zhu and Peng Xia and Huaijin Wu and Yehui Tang and Rui Ye and Hao Xiong and Junchi Yan and Huaxiu Yao},
  title = {{See, Read, Compare: Candidate-Aware Verification for Agent Test-Time Scaling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=SBCpjDSgYq},
}
Figure