Capy Research

Frontier Review

Measuring frontier models on bug detection in large, real-world pull requests.

01

Leaderboard

Bugs per PR

Price per PR · Cheaper →

14 of 34 models
Figure 1Lines connect one model’s reasoning settings.
  1. GPT-6.2 Astra xhigh3.97 ±0.58
    Price per PR $1.35, Precision 76%
  2. GPT-6.1 Terra xhigh3.05 ±0.48
    Price per PR $0.26, Precision 79%
  3. Gemini 4 Neon xhigh2.72 ±0.44
    Price per PR $2.43, Precision 77%
  4. GPT-6.2 Sol xhigh2.70 ±0.38
    Price per PR $0.42, Precision 82%
  5. Gemini 4 Carbon high2.37 ±0.39
    Price per PR $2.50, Precision 76%
  6. Gemini 4 Hydrogen xhigh2.20 ±0.42
    Price per PR $3.17, Precision 83%
  7. Gemini 4 Argon high1.80 ±0.33
    Price per PR $1.32, Precision 87%
  8. GPT-6.1 Sol high1.75 ±0.33
    Price per PR $0.32, Precision 80%
  9. GPT-6 Sol xhigh1.73 ±0.34
    Price per PR $0.50, Precision 76%
  10. Claude Fable 5.2 high1.40 ±0.28
    Price per PR $2.06, Precision 80%
Figure 2“Best effort” shows each model’s highest-scoring setting. ± is the 95% confidence interval across the 60 PRs. Precision is the share of judged findings counted as bugs.
02

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.

Figure 3Two confirmed and two refuted findings.

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.

03

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.

Fixed by authorConfirmed by judge

All 100 runs

7,103 bugs
2,661 author-fixed4,442 judge-confirmed

GPT-6.2 Astra xhigh

238 bugs
57 author-fixed181 judge-confirmed
Figure 4Share of counted bugs matched to an author fix versus verified directly against source code.

What each model family is best at

Each model family excels on different bug categories, languages and diff sizes:

LogicEdge casesConcurrencyTypesAPIError handling40%60%80%100%OpenAI · Logic: 89.4% (n = 654)OpenAI · Edge cases: 82.6% (n = 729)OpenAI · Concurrency: 73.9% (n = 303)OpenAI · Types: 80.7% (n = 264)OpenAI · API: 71.6% (n = 268)OpenAI · Error handling: 74.7% (n = 162)Google · Logic: 82.3% (n = 430)Google · Edge cases: 88.0% (n = 392)Google · Concurrency: 79.1% (n = 172)Google · Types: 75.8% (n = 161)Google · API: 72.5% (n = 182)Google · Error handling: 78.6% (n = 112)Anthropic · Logic: 91.6% (n = 178)Anthropic · Edge cases: 78.9% (n = 123)Anthropic · Concurrency: 71.4% (n = 70)Anthropic · Types: 78.6% (n = 56)Anthropic · API: 77.1% (n = 83)Anthropic · Error handling: 59.6% (n = 57)
LabLogicEdge casesConcurrencyTypesAPIError handling
OpenAI89%83%74%81%72%75%
Google82%88%79%76%73%79%
Anthropic92%79%71%79%77%60%
Kimi90%100%86%100%100%*71%
GLM94%83%83%85%100%75%
MiMo90%84%81%92%87%83%
DeepSeek100%77%77%91%80%75%
Qwen78%56%86%90%75%55%
Muse75%65%69%77%63%43%
Grok37%33%57%50%50%*40%

* Fewer than 5 judged findings (hollow vertex).

Figure 5Precision by bug type across 10 labs (74-run tagged subset). Click any lab above to add or remove it from the comparison.
  • 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%
Figure 6Bugs per PR, price per PR, price per confirmed bug, rejected share of decided findings, and new-bug share of confirmed bugs by language, averaged across all 100 runs.

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

RunBugsPricePrecision
GPT-6.2 Astra xhigh3.97$1.3594%
GPT-6.2 Astra high3.83$1.1295%
GPT-6.1 Terra xhigh3.05$0.2695%
GPT-6.2 Astra medium2.95$0.5996%
GPT-6.1 Terra high2.78$0.1695%
Gemini 4 Neon xhigh2.72$2.4396%
GPT-6.2 Sol xhigh2.70$0.4296%
GPT-6.2 Sol high2.57$0.3494%

Bugs per PR against price · all 100 runs

Hover any run to inspect · line marks the cost frontier

Bugs per PR

Price per PR · Cheaper →

Figure 7Top runs by bugs per PR (with price per PR and precision) and a scatter of bugs per PR against price per PR across all 100 runs, where the line joins the cheapest run at each level of bugs per PR. Use the language switcher above to view All, Rust, Go, TypeScript, or JavaScript.

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.

0.0
0.5
1.0
1.5
2.0
2.5
lowmediumhighxhigh
Languagelowmediumhighxhighxhigh/low
Rust0.741.111.331.502.03x
Go0.811.201.431.611.98x
TS1.111.291.591.671.51x
JS1.251.922.192.401.92x
Figure 8Mean bugs per PR by language across low, medium, high, and xhigh reasoning effort, averaged over the 16 models that ran at all four settings. Dashed lines mark TypeScript and JavaScript, which have fewer pull requests.

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.

Best run per labRustGoTSJS
GPT-6.2 Astra xhigh3.744.223.885.00
Gemini 4 Neon xhigh2.872.442.633.00
Claude Fable 5.2 high1.191.501.881.67
Qwen3.8 Flash1.261.501.132.33
MiMo-V2.6 Pro1.191.221.751.33
MiniMax M3.1 Flash1.191.390.882.67
Kimi K3.1 Pro high1.321.111.132.00
DeepSeek V4.1 Flash 1017 high0.971.061.251.67
Particle-1 high0.741.111.252.00
GLM-5.3 high0.841.001.002.00
Inkling 2 Small high0.711.000.882.00
Muse Ember xhigh0.710.890.882.33
Grok 4.7 high0.710.831.001.33
Nemotron 3.5 Super VL0.100.170.130.33
Figure 9Bugs per PR across Rust, Go, TypeScript, and JavaScript for each of the 14 labs at its highest-scoring run. Each row’s best language is filled in that language’s color, and gray shading on the other cells is relative to it.
RepositoryBugs$/PR$/bugRejected
Rust
tokio-rs/tokio1.77$0.39$0.225.0%
biomejs/biome1.14$0.55$0.4810.1%
rust-lang/cargo1.06$0.46$0.439.0%
astral-sh/ruff0.66$0.83$1.2511.0%
Go, TypeScript and JavaScript
fastify/fastify2.28$0.38$0.172.1%
microsoft/TypeScript1.53$0.48$0.317.1%
grpc/grpc-go1.25$0.34$0.279.3%
vitessio/vitess0.90$0.64$0.7117.9%
vitejs/vite0.84$0.47$0.568.7%
Figure 10Bugs per PR, price per PR, price per confirmed bug, and rejected share of decided findings for each of the 9 repositories, averaged across all 100 runs. The 4 Rust repositories hold all the Rust pull requests, while the other 5 do not split cleanly into Go, TypeScript, and JavaScript because language is assigned per pull request.

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).

ReviewersKnown bugs caughtOf 74
GPT-6.2 Astra 57
+ GPT-6.1 Terra 61+4
+ GLM-5.3 63+6
+ GPT-6.2 Sol 65+8
+ Gemini 4 Carbon 66+9
Figure 11Known bugs caught (out of 74) by a single model and the top same-lab and cross-lab pairs.

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).

Web search / fetchLocal git historyMixed
LabLookups by channelRate
Gemini 40.3%
OpenAI0.7%
Anthropic1.5%
Xiaomi MiMo2.5%
Gemini 3.x7.3%
Z.ai GLM8.9%
MiniMax15.0%
Qwen16.7%
DeepSeek19.2%
Kimi25.0%
Figure 12Attempt-1 lookup rate by lab in the 74-run retry audit, colored by channel share across flagged attempts, with disqualified PRs (scored 0 after three lookup attempts) on the right.

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.

Medium + High (judged)Low severityNotes
LabShare of findingsBugs in low
Kimi18%
Google12%
OpenAI10%
Anthropic27%
DeepSeek32%
MiniMax32%
Qwen43%
GLM38%
Figure 13Share of all submitted findings by severity bucket, paired with the share of known-bug catches filed as low severity.

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.

04

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.
05

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.
06

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}
}
BibTeX

Private 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.

Request an eval

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.