NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CodeReviewBench: An Automated Benchmark for Evaluating the Software Factory

Ashley Zhang, Narmeen Fatimah Oozeer, Aleksandr Zverianskii, Daniel Ng, Tasana Pejovic, Antía García, Jacob Clyne, Ravpreet Setia, Akshay Utture, Etan Jacob Ginsberg, Shriyash Kaustubh Upadhyay, Fazl BarezarXiv 2026

Imagine you’re a developer at the end of a long sprint. You’ve just pushed a massive Pull Request (PR), and an AI bot immediately pings you with twenty suggestions. Do you actually fix them?

That single decision—whether you act on the bot's advice or ignore it—is the "ground truth" of code review. It’s not about what a third-party expert thinks; it’s about what the person in the trenches actually finds useful. This is the core philosophy behind CodeReviewBench, a new automated benchmark designed to measure how well AI agents actually perform in the "software factory."

TL;DR

CodeReviewBench moves away from static, expert-labeled tests and instead mines the "revealed preferences" of real developers: if a developer fixes a bug a bot pointed out, the bot was right; if they ignore it, it wasn't useful. By analyzing over 500,000 PRs across 18 different AI tools, the researchers have created a living, daily-refreshing leaderboard that is much harder for AI models to "cheat" on.

What Problem Does This Paper Address?

We are currently in an "AI code explosion." In 2025 alone, GitHub PRs surged by 23%, but human review comments only grew by a measly 0.35%. AI is writing the code, but humans can't keep up with reviewing it.

The problem is that evaluating an AI reviewer is much harder than evaluating an AI coder. If an AI writes code, you can run unit tests to see if it works. But a review comment is a judgment call. Existing benchmarks rely on "gold sets" curated by third-party experts, but these experts lack the project context that the original author has. Furthermore, these static sets are prone to "data leakage"—frontier models eventually memorize the answers, making the benchmark useless.

Methods

The authors introduce a pipeline that treats the public GitHub event stream as a massive, continuous laboratory.

Figure 1: The Code Review Bench pipeline: (1) Discover PRs via BigQuery, (2) Enrich via GitHub API, (3) Assemble bot–developer timelines, (4) Analyze with LLM judge, (5) Label for stratification.

The process works in five stages:

  1. Discover: Scan BigQuery for PRs where known AI bots (like Copilot or CodeRabbit) have commented.
  2. Enrich: Pull the full context—the code diffs, the comments, and the commits made after the bot spoke.
  3. Assemble: Build a timeline. What did the bot see? What did it say? What did the developer do next?
  4. Analyze: Use a high-end LLM (GPT-5 Nano) as a "judge" to determine if a developer's subsequent commit actually addressed the bot's specific suggestion.
  5. Label: Categorize the PR by language, domain (e.g., Frontend, Infra), and severity.

Datasets

  • The Online Dataset: Over 500,000 judged PRs across 18 tools, refreshed daily. This is three orders of magnitude larger than previous benchmarks.
  • The Offline Gold Set: A curated set of 50 PRs with 136 expert-labeled issues used to validate the online signal.

Key Insights and Ideas

  • Revealed Preference is Robust: The researchers found that if a bot is "precise" (meaning developers usually listen to it) on the online benchmark, it’s also "precise" according to human experts. This validates that "what developers do" is a legitimate proxy for quality.
  • The "Harness" is the Secret Sauce: One of the most surprising findings came from building a "Minimal Review Agent" (MRA). They found that swapping out the underlying LLM (e.g., using Claude vs. GPT) didn't change the score much. What really mattered was the "harness"—the retrieval systems, linting tools, and prompt engineering wrapped around the model.
  • The Recall Collapse: AI reviewers are surprisingly consistent across different programming languages, but they have a massive blind spot: PR size. As a PR grows from 50 lines to 1,000+ lines, the AI's "recall" (its ability to find all the bugs) collapses by nearly 28 percentage points.

Key Results

The benchmark provides a clear leaderboard of which tools developers actually trust.

Figure 1: The Code Review Bench pipeline: (1) Discover PRs via BigQuery, (2) Enrich via GitHub API, (3) Assemble bot–developer timelines, (4) Analyze with LLM judge, (5) Label for stratification.
  • Precision Leaders: Tools like Cubic Dev AI (75.5%) and Greptile (72.6%) lead in precision, meaning when they speak, developers usually listen.
  • The Trade-off: There is a clear "frontier" between precision and recall. Some tools (like CodeRabbit) are "noisier"—they catch more issues (high recall) but are ignored more often (lower precision). Others are "quieter" but more reliable.
  • Real-time Detection: The benchmark is so sensitive it can detect tool updates. When a vendor like Qodo or CodeRabbit ships a new version, CodeReviewBench detects a shift in their scores within days.

Limitations and Future Work

The authors are careful to note that "revealed preference" isn't perfect. A developer might ignore a brilliant suggestion because they're in a rush, or they might "rubber-stamp" a mediocre suggestion from a bot they trust too much.

Currently, the benchmark only looks at public GitHub repositories. Enterprise environments—with different security requirements and "review cultures"—might yield different results. Future work aims to bridge this gap and use these behavioral signals to train the next generation of AI reviewers via Reinforcement Learning.

Summary updated

BibTeX
@misc{zhang2026codereviewbench,
  author = {Ashley Zhang and Narmeen Fatimah Oozeer and Aleksandr Zverianskii and Daniel Ng and Tasana Pejovic and Antía García and Jacob Clyne and Ravpreet Setia and Akshay Utture and Etan Jacob Ginsberg and Shriyash Kaustubh Upadhyay and Fazl Barez},
  title = {{CodeReviewBench: An Automated Benchmark for Evaluating the Software Factory}},
  year = {2026},
  eprint = {2611.26942},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.26942},
}
Figure