# Benchmarking AI Code Review Across 14 Languages and 1,600+ Pull Requests

Canonical URL: https://super-review.dev/blog/benchmarking-ai-code-review-across-languages
Author: Thomas Chaton (Founder, SuperReview)
Published: 2026-12-02
Category: Benchmarks
Tags: AI code review benchmark, Go, Python, TypeScript, Rust, ReviewBench, Security evaluation

> How we evaluate pull request review quality across 14 programming languages, real-world open-source PRs, paired vulnerability fixes, and multi-commit PR lifecycles without rewarding noisy comments on clean code.

## Why raw bug recall is not enough

Most comparisons of AI code reviewers count how many planted bugs a tool flags. That metric is easy to game: comment on every diff and recall approaches 100%, while engineers mute the bot within a week.

To track real review quality across changes to SuperReview, we maintain a private, version-pinned multi-language evaluation suite alongside public real-world open-source benchmarks. Every dataset version is pinned by a SHA-256 hash of its case IDs, positive bug cases are paired with clean or fixed controls, strictly sealed held-out splits stay untouched during iteration, and published snapshots always report full latest valid runs rather than best-of-N cherry-picking.

## Evaluation corpus composition across 14 languages

Our core private multi-language corpus contains 1,364 Docker-validated review cases across 14 languages: 844 defect cases (correctness, security, concurrency, API contracts, performance, resource leaks, and business logic) and 520 clean or adversarial negative controls. That corpus includes 1,175 open regression cases used for day-to-day verification plus 90 strictly sealed held-out cases reserved for unbiased generalization checks.

Negative controls go beyond trivial formatting edits. They include suspicious-looking safe code, guard-protected handlers, unreachable branches, verified bug-fix twins (including paired real-world vulnerabilities), and prompt-injection decoys.

Alongside the core private corpus, we continuously evaluate on four additional suites totaling more than 1,600 pull requests: the full official ReviewBench 219 real-world OSS benchmark (219 large PRs across 187 repositories, 2,565 expected defects, 175 high-severity bugs, and 1,984 golden false positives), 22 large multi-file multi-bug OSS PRs (56 defects plus 8 paired large clean twins), 10 cross-language polyglot OSS PRs spanning Proto, Go, TypeScript, Python, and SQL, and a small private multi-turn validation suite testing 3-commit fix and regression lifecycles.

**Private core evaluation corpus by language (1,364 Docker-validated cases)**

| Language | Total | Defects | Controls | Primary coverage |
| --- | --- | --- | --- | --- |
| Go | 420 | 258 | 162 | Concurrency, tenant isolation, TLS/HTTP security, migrations, real CVEs |
| Python | 282 | 170 | 112 | Async cancellation, authz/SSRF/injection, multi-tenant caching, N+1 queries |
| TypeScript | 272 | 165 | 107 | Async TOCTOU races, billing rounding, prototype/SQL leaks, middleware auth |
| Rust | 79 | 53 | 26 | Unsafe boundaries, lock ordering, integer overflow, async drop hazards |
| C# | 70 | 42 | 28 | Authz filters, async deadlocks, EF Core queries, disposal leaks |
| Java | 63 | 41 | 22 | Concurrency, deserialization, SQL/path injection, transaction boundaries |
| C++ | 54 | 33 | 21 | Memory safety, lifetime/use-after-free, bounds checks, concurrency |
| Ruby | 44 | 29 | 15 | Mass assignment, ActiveRecord SQLi, auth bypasses, job idempotency |
| SQL | 32 | 22 | 10 | Non-sargable predicates, index ordering, lock contention, migration safety |
| Terraform | 20 | 10 | 10 | IAM privilege escalation, public exposure, Kubernetes RBAC |
| JavaScript | 14 | 9 | 5 | Frontend state bugs, XSS/sanitization, runtime regressions |
| YAML | 10 | 9 | 1 | CI workflow injection, secret exposure, deployment misconfigurations |
| Shell | 2 | 1 | 1 | Script safety, quoting, and command injection guards |
| Dockerfile | 2 | 2 | 0 | Container privilege boundaries and build hygiene |

## Scoring precision, recall, noise, and reliability together

To prevent reviewers from trading precision for recall or hiding timed-out runs, every single-turn suite is scored with our composite Reviewing Intelligence Index (SR-Index, 0 to 100). Each term captures a distinct requirement of production pull request review: catching grounded bugs, staying quiet on clean diffs, making the right merge-or-block call, and completing reliably.

**SR-Index (Composite Reviewing Intelligence Index, 0 to 100)**

```text
SR-Index = 0.60 × F1 + 0.25 × (100 - Clean FPR) + 0.15 × AppAcc - 100 × ErrRate
```

- `F1 (60% weight)`: Grounded F1 (0 to 100): harmonic mean of grounded precision and recall. A finding counts as a true positive only when it matches an expected defect 1-to-1 on root cause and code location.
- `100 - Clean FPR (25% weight)`: Clean-PR specificity (0 to 100): directly rewards silence on clean PRs, fixed-twin controls, and adversarial decoys. Clean FPR is the percentage of clean PRs that receive a false blocking finding.
- `AppAcc (15% weight)`: Approval accuracy (0 to 100): percentage of all PRs (both buggy and clean) where the final merge-or-block decision matches ground truth.
- `-100 × ErrRate`: Reliability penalty: subtracts 100 points times the fraction of errored, timed-out, or incomplete runs so silent failures cannot inflate quality scores.

**Grounded Precision (Multi-Bug Real-World OSS PRs)**

```text
Grounded Precision = TP_matched / (TP_matched + FP_matched)
```

- `TP_matched`: Findings matched to verified ground-truth defects in the pull request.
- `FP_matched`: Findings matched to annotated golden false positives (known non-issues and style nits on those same PRs).

## Latest results across multi-language and large-PR suites

In our December 2026 evaluation snapshot, the full 1,175-PR open multi-language suite reached an SR-Index of 89.3 with Clean FPR below 2% (1.92%, 9 false positives across 468 clean PRs) and a 14.8-second median latency. On large multi-file OSS pull requests and cross-language polyglot contracts, Clean FPR stayed at 0.0%.

**Single-turn SR-Index benchmark snapshot (December 2026)**

| Suite | PRs | SR-Index | Grounded F1 | Recall | Precision | Clean FPR | Approval | Median |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Core Multi-Language (100% open) | 1,175 | 89.3 | 84.9% | 82.9% | 87.0% | 1.92% (9/468) | 92.8% | 14.8s |
| Core Stratified 50% Slice | 588 | 91.0 | 86.6% | 85.1% | 88.2% | 0.43% (1/232) | 94.4% | 14.7s |
| Core Stratified 25% Slice | 294 | 90.5 | 85.5% | 83.2% | 87.8% | 0.00% (0/118) | 94.6% | 14.3s |
| Hard Laggards Slice | 122 | 83.6 | 74.7% | 73.9% | 75.6% | 0.00% (0/44) | 91.8% | 25.7s |
| Large Multi-File OSS (Wave 1) | 12 | 94.9 | 91.4% | 100.0% | 84.2% | 0.00% (0/4) | 100.0% | 59.1s |
| Large Multi-File OSS (Wave 2) | 10 | 91.8 | 86.3% | 91.7% | 81.5% | 0.00% (0/4) | 100.0% | 67.3s |
| Polyglot Cross-Language OSS | 6 | 100.0 | 100.0% | 100.0% | 100.0% | 0.00% (0/3) | 100.0% | 41.6s |

All single-turn scores use the canonical SR-Index formula above with 1-to-1 grounded defect matching and latest-run reporting.

## Real-world OSS PRs, paired vulnerabilities, and multi-turn lifecycles

Synthetic or small diffs do not capture the complexity of real production pull requests. We track four complementary stress tests: the full 219-PR ReviewBench real-world OSS benchmark, paired vulnerable-vs-fixed CVE patches (PrimeVul), 3-commit multi-turn PR lifecycles, and repository-context A/B ablations.

On the full official ReviewBench 219 benchmark (187 repositories, 118 PRs over 500 lines), SuperReview reached 62.3% High-Severity Recall (109/175) and 74.9% High-Severity F1 at 94.0% Grounded Precision (only 22 golden false positives out of 1,984), posting a lean 3.39 comments per PR with 0 errors. On the 25-PR ReviewBench core slice across back-to-back repeats, High-Severity Recall reached 85.7% (92.3% F1) and 82.9% (90.6% F1) with 0 golden false positives out of 426 combined.

**Real-world OSS, vulnerability-pair, and multi-turn lifecycle results (December 2026)**

| Benchmark | Scope | Headline quality | Noise / precision | Reliability |
| --- | --- | --- | --- | --- |
| ReviewBench 219 (Full Official) | 219 large OSS PRs | 62.3% High Recall (109/175) · 74.9% High F1 | 94.0% Grounded Prec (22/1,984 FPs) · 3.39 comments/PR | 0/219 errors · 103.5s median |
| ReviewBench 25 (Core Slice, 2 runs) | 25 large OSS PRs | 85.7% / 82.9% High Recall · 92.3% / 90.6% High F1 | 100.0% Grounded Prec (0/426 golden FPs combined) | 0 errors · 84.4s median |
| PrimeVul Paired CVEs | 133 vuln/fixed pairs | 84.2% Paired Accuracy (112/133 pairs) | 2.4% Clean FPR on fixed twins (3/123) | Part of core 1,175-PR run |
| Multi-Turn 3-Commit Lifecycles | 16 trajectory runs | 93.8% full trajectory pass rate (15/16) | 0 unexpected findings across all 16 runs | 4/4 controlled & 4/4 E2E on polyglot OSS |

Multi-turn trajectories evaluate whether the reviewer accurately closes resolved issues across commits while catching partial fixes, valid author pushback, and newly introduced regressions.

## What is still hard

Paired vulnerable-vs-fixed patches and very large multi-hundred-line OSS pull requests remain the sharpest test of engineering judgment. Pushing paired vulnerability accuracy to 84.2% at 2.4% Clean FPR and keeping full multi-language Clean FPR at 1.92% is a strong step forward, and our active work targets remaining cross-file sibling bugs and deep multi-file call chains without adding comment noise.

Codebase context makes a measurable difference on both recall and false-positive control. On our 14-case repository-knowledge A/B split (Go, Python, TypeScript, and Terraform), adding structured repository context dropped Clean FPR from 40.0% to 0.0% and lifted Grounded F1 from 94.7% to 100.0%.
