Frontier Review
Measuring frontier models on bug detection in large, real-world pull requests.
Leaderboard
Price per PR · Cheaper →
- GPT-6.2 Astra xhigh3.97 ±0.58Price per PR $1.35, Precision 76%
- GPT-6.1 Terra xhigh3.05 ±0.48Price per PR $0.26, Precision 79%
- Gemini 4 Neon xhigh2.72 ±0.44Price per PR $2.43, Precision 77%
- GPT-6.2 Sol xhigh2.70 ±0.38Price per PR $0.42, Precision 82%
- Gemini 4 Carbon high2.37 ±0.39Price per PR $2.50, Precision 76%
- Gemini 4 Hydrogen xhigh2.20 ±0.42Price per PR $3.17, Precision 83%
- Gemini 4 Argon high1.80 ±0.33Price per PR $1.32, Precision 87%
- GPT-6.1 Sol high1.75 ±0.33Price per PR $0.32, Precision 80%
- GPT-6 Sol xhigh1.73 ±0.34Price per PR $0.50, Precision 76%
- Claude Fable 5.2 high1.40 ±0.28Price per PR $2.06, Precision 80%
Methodology
Frontier Review evaluates models on 60 merged pull requests from 9 open-source repositories: Biome, Ruff, TypeScript, Vitess, gRPC-Go, Cargo, Tokio, Fastify and Vite. Every pull request changes more than 500 lines at the reviewed commit and contains a bug a human reviewer caught and the author fixed before merging. Models review the diff right before that fix inside Capy’s read-only production review harness, with access to the full repository checkout, repo instructions (AGENTS.md / CLAUDE.md), search, git, and web tools, without executing repository code. Unlike production, where prompts are tuned per model, Frontier Review runs every model on one shared prompt across all 60 pull requests per reasoning setting.
Because these pull requests are public, every trace is scanned for searches or fetches of the upstream pull request or fix commit. Any review that looks up the answer or fails to submit scores zero while still counting toward price (earlier runs retried up to three times before scoring zero). Across all 100 runs, 106 pull requests in 35 runs scored zero (88 for lookups and 18 for no submitted review).
Human reviewers miss many real bugs in a pull request, so grading against historical comments alone undercounts valid findings. Frontier Review grades in two steps with an automated verifier: first, matching findings to author-fixed bugs (which count at any severity); second, checking every unmatched medium- or high-severity finding directly against the repository at the reviewed commit, confirming it only when the source establishes the full failure path with script-verified line citations. When the primary verifier could not return a verdict (137 findings across the 100 runs), a second verifier model from another lab scored those findings under the same rules so every finding received a verdict. Rejected and undecided findings do not count, and unmatched low-severity findings stay unscored so the score reflects merge-blocking bugs rather than style nits.
Figure 3 shows two confirmed and two refuted findings from Frontier Review, pairing each reviewer’s comment with the verifier’s reasoning.
Re-running step two 3 times on 257 findings kept the same verdict on 232 (90.3%) and flipped 23 (8.9%). To check for single-lab bias, two independent models from other labs re-verified a 400-finding sample: one agreed on 96.0% of confirmed verdicts (192 of 200) and the other on 95.3% (164 of 172), with both rejecting 1.2% (2 of 172). For the category breakdowns in Findings below, two independent taggers agreed on 95% of bug types (n = 200) and 92% of rejection reasons (n = 50). Bugs per PR is the mean counted bugs across the 60 pull requests with 95% bootstrap confidence intervals (10,000 resamples); price per PR is the mean public list-price token cost per review across all 60 pull requests, excluding machine time.
Findings
Below we break down what those counted bugs look like across bug categories, languages, reasoning effort, model pairs, lookup behavior, severity, and false positives.
63% of counted bugs are new bugs verified against the source code
Across all 100 runs, 7,103 findings counted as bugs (if two runs find the same bug, it counts once per run). Of those, 4,442 (63%) are new bugs that matched no author-fixed bug and were verified directly against the source code. For GPT-6.2 Astra xhigh, new bugs make up 76% of its counted bugs (181 of 238). Methodology above details how the verifier checks new bugs and how we validated it across labs.
All 100 runs
7,103 bugsGPT-6.2 Astra xhigh
238 bugsWhat each model family is best at
Each model family excels on different bug categories, languages and diff sizes:
| Lab | Logic | Edge cases | Concurrency | Types | API | Error handling |
|---|---|---|---|---|---|---|
| OpenAI | 89% | 83% | 74% | 81% | 72% | 75% |
| 82% | 88% | 79% | 76% | 73% | 79% | |
| Anthropic | 92% | 79% | 71% | 79% | 77% | 60% |
| Kimi | 90% | 100% | 86% | 100% | 100%* | 71% |
| GLM | 94% | 83% | 83% | 85% | 100% | 75% |
| MiMo | 90% | 84% | 81% | 92% | 87% | 83% |
| DeepSeek | 100% | 77% | 77% | 91% | 80% | 75% |
| Qwen | 78% | 56% | 86% | 90% | 75% | 55% |
| Muse | 75% | 65% | 69% | 77% | 63% | 43% |
| Grok | 37% | 33% | 57% | 50% | 50%* | 40% |
* Fewer than 5 judged findings (hollow vertex).
- OpenAI (GPT-6.2 Astra, GPT-6.1 Terra): Highest depth, strongest on Rust and giant diffs (1.24x), and shortest review comments (median 483 chars). Astra leads on total bugs; Terra is the standout value pick.
- Google (Gemini 4 Neon, Carbon, Argon): Best precision on unhandled edge cases, concurrency, resource lifetimes and error handling in the tagged subset, with a low rejection rate (5.4%). Strongest relative lift on TypeScript and best cross-lab second-opinion partner for Astra.
- Anthropic (Claude Fable 5.2, Opus 5.5): Finds a higher share of performance (7.2%, over 2x OpenAI and Google), security (4.0%) and API contract bugs (11.2%), and leads on logic precision (91.6%), though precision drops on error handling (59.6%).
- Other standout models (GLM, Kimi, DeepSeek, MiMo): GLM-5.3 leads overall precision (88.4%, 4.5% rejected); Kimi K3.1 Pro follows closely (88.1%) and stays balanced on Rust; DeepSeek V4.1 Flash focuses on API contracts (14.3%); MiMo-V2.6 Flash ($0.05/PR) holds the budget frontier.
Rust and Go have higher bug costs and rejection rates
Rust is costliest per confirmed bug, followed by Go, and both produce more false positives than TypeScript and JavaScript. In every language, most confirmed bugs are new bugs beyond what authors fixed in review.
Rust
- Bugs per PR
- 1.09
- Price per PR
- $0.59
- Price per bug
- $0.54
- Rejected
- 8.8%
- New bugs
- 66.9%
Go
- Bugs per PR
- 1.17
- Price per PR
- $0.51
- Price per bug
- $0.44
- Rejected
- 12.7%
- New bugs
- 57.1%
TypeScript
- Bugs per PR
- 1.32
- Price per PR
- $0.43
- Price per bug
- $0.32
- Rejected
- 5.9%
- New bugs
- 57.5%
JavaScript
- Bugs per PR
- 1.85
- Price per PR
- $0.46
- Price per bug
- $0.25
- Rejected
- 4.6%
- New bugs
- 66.6%
GPT-6.2 Astra leads every language while runners-up shift
GPT-6.2 Astra leads every language, though GPT-6.1 Terra xhigh ties it on JavaScript at a fraction of the price. Gemini 4 Neon xhigh beats GPT-6.2 Sol xhigh on Rust, not on Go or JavaScript.
Most bugs per PR · all languages
Bugs per PR against price · all 100 runs
Bugs per PR
Price per PR · Cheaper →
Rust and Go scale steepest with reasoning effort
Every language finds more bugs at each effort step from low through xhigh. Rust and Go roughly double from low to xhigh, while TypeScript shows the smallest gain at the top step as price nearly doubles from high to xhigh.
Most labs score lowest on Rust, and repositories vary
At their best run, most labs score highest on JavaScript and lowest on Rust. Within Rust alone, tokio-rs/tokio far outscores astral-sh/ruff, and ruff is the costliest repository per confirmed bug.
9 of the ten highest-coverage pairs combine models from different labs
Across 561 two-model combinations at best effort on the 74 known bugs, 9 of the top 10 pairs combine two different labs, and cross-lab pairs overlap less than same-lab pairs (mean Jaccard 0.41 vs 0.50). GPT-6.2 Astra xhigh paired with Gemini 4 Carbon high leads at 66 of 74 (+9, $3.85/PR), followed by GPT-6.2 Astra xhigh paired with GPT-6.2 Sol xhigh at 65 of 74 (+8, $1.77/PR); both add at least twice as many bugs as pairing Astra with GPT-6.1 Terra xhigh (+4).
A newer model beats turning up reasoning effort
Upgrading to a newer model beats spending more reasoning tokens on an older one. Moving from GPT-5.6 Terra to GPT-6.1 Terra at high effort adds +2.07 bugs per PR at 0.47x the cost, and moving from GPT-6.1 Sol to GPT-6.2 Sol at high effort adds +0.82 bugs per PR at 1.05x the cost. Within a single model, higher effort pays off unevenly: GPT-6.2 Astra adds +1.85 bugs per PR at $0.54 per extra bug and GPT-6.1 Terra adds +1.35 bugs per PR at $0.14 per extra bug, while Gemini 4 Carbon multiplies cost 1.76x with no gain (+0.05, within noise) and Gemini 4 Argon drops by 0.22 bugs per PR from low to medium.
Higher effort finds new bugs and triples security findings
Across the 27 models tested at multiple reasoning levels, moving from lowest to highest effort grows verified new bugs 1.74x (851 to 1,480) versus 1.49x for known bugs (564 to 841). In the 17-model tagged subset, security findings triple (3.06x, 18 to 55) and test, build or config findings more than double (2.11x, 54 to 114).
Reward hacking: 3.2% of audited reviews tried to look up the answer
Because these pull requests are public, some models tried to look up the original PR or fix commit instead of reviewing the code. Across all 100 runs, 88 pull requests scored zero for lookups and 18 scored zero for no submitted review (35 runs affected). In the 74-run three-attempt retry audit (144 of 4,440 first attempts flagged, 3.2%), labs cheated through different channels: OpenAI almost exclusively inspected local git history (14 of 16), while Anthropic only used web search or fetch (exclusively on Fable 5.2 or at xhigh, recovering on every retry with 0 disqualified).
Claude and several other labs file real bugs as low severity
At best effort, Anthropic submits more findings per PR than OpenAI (4.65 vs 3.66), yet places far more into notes and low severity. That labels 27.2% of its known-bug catches as low severity versus 10.5% for OpenAI, with similar precision (80.0% vs 78.8%). DeepSeek, MiniMax, Qwen and GLM show the same pattern, while Moonshot Kimi does not.
False positives: top models flag debatable edge cases; weaker models misread the code
Across 9,029 judged findings in all 100 runs, 726 (8%) were false positives rejected by the judge. In the 74-run tagged subset (480 rejected of 6,736, 7.1%), OpenAI (0.48% of judged findings), Anthropic (0.69%) and Google (0.81%) almost never misread source code: when their findings are rejected, it is usually a judgment call over whether an issue is a real bug (59% for OpenAI) or reachable in practice (28% for Google). Grok (50% rejected) misreads the code on 24% of judged findings (19 of 78), and Meta Muse does so on 8.8% (32 of 362). MiniMax closed that gap across releases, cutting code misreads from 14.3% on M3 to 0.95% on M3.1 Flash.
Limitations
- Automated judging: all verdicts come from an automated verifier, validated against two independent cross-lab models (>95% agreement on a 400-finding sample).
- Public repositories: Frontier Review scores public open-source pull requests, so private codebases, internal architecture, and proprietary business logic are not tested directly (though our internal private-repo evaluations show similar rankings).
- Self-review and adversarial coverage: these are real open-source pull requests with unknown authors, so Frontier Review does not isolate how models perform when reviewing their own code or under adversarial conditions. We plan to test both in the next version.
Future work
- Private repositories. Expanding beyond public open-source code to private production repositories, removing pre-training exposure and testing internal architecture and business-logic bugs.
- Adversarial and advanced review. Adding multi-PR, multi-repo, and adversarial bug suites, and testing multi-pass, cross-file, and telemetry-aware review setups beyond single-pass diff review.
Cite this
@misc{capy2026frontierreview,
title = {Frontier Review},
author = {Yap, Bing Yu and Sun, Justin},
year = {2026},
month = dec,
howpublished = {\url{https://capy.ai/research/frontier-review}},
note = {Capy Research}
}BibTeXPrivate evals
Run a private-repo or cross-harness eval
Benchmark models on your private repositories, or compare Capy against your current review harness on a sample of your own pull requests.
Capy Review
Run this harness on your pull requests
Capy Review runs the same codebase-grounded review loop on every PR in GitHub.
Capy Research
Work on evals and agents with us
We build evaluations and agents tested on real codebases. See open roles on the team.