Code Review Bench: An Automated Benchmark for Evaluating the Software Factory
Ashley Zhang, Narmeen Oozeer, Aleksandr Zverianskii, Daniel Ng, Tasana Pejovic, Antía García, Jacob Clyne, Ravpreet Setia, Akshay Utture, Etan J Ginsberg, Shriyash Upadhyay, Fazl Barez
NeurIPS page · OpenReview · Open on the map
Category: LLM Agents, Evals & Benchmarks › Mathematical Reasoning Benchmarks · Type: benchmark or dataset · Keywords: code review benchmark, developer preference, GitHub pull requests, automated evaluation, software quality control
Areas: Code & Coding Agents › Code Verification › Coding agent benchmarks; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Software Engineering Benchmarks; Evaluation Methodology & Auditing › Agent and Reward Auditing › Benchmarking and Auditing; Benchmarks for LLMs & Agents › Cross-Domain Agent Evaluation › Coding Agent Benchmarks
Summary
CodeReviewBench is an automated benchmark that measures code review quality by tracking whether developers act on bot suggestions, built from 500K+ judged PRs across 18 tools and continuously refreshed from GitHub events.
Explained to a 5-year-old
People write computer code and need to check it for mistakes. A tool suggests fixes, but it's hard to know if those suggestions are good. So researchers made a big collection of real code reviews from many projects. They look at whether the person actually uses the suggestions, which shows if the tool is helpful. This helps make better review tools for the future.
Explained to a 5-year-old, longer
When programmers write code, they often ask a computer program to help find mistakes. The program can suggest changes, but it's not always clear if those suggestions are useful. To solve this, scientists looked at many real code reviews that happen on websites like GitHub. They recorded whether the person who wrote the code actually accepted the suggestion. If the suggestion was accepted, it means the tool was helpful; if not, it wasn't. They collected over half a million such examples from many different programming tools. This big collection is updated regularly, so it always reflects the latest tools. They also compared this new way of measuring with an older, separate benchmark. The new method agreed with the old one on which tools were better. It also spotted when new updates to tools were released, just a few days after they came out. All of this gives a reliable way to test and improve code review tools. In the end, it helps make sure the suggestions programmers get are actually useful.
For a technical reader
The paper introduces a benchmark that measures how useful code review suggestions are by tracking whether developers actually apply them. It builds this benchmark from millions of real pull requests on GitHub, automatically labeling each suggestion as accepted or ignored. The benchmark is continuously refreshed, so it stays up-to-date as tools evolve, unlike static test sets. Validation shows the new signal matches an existing offline benchmark and can detect product updates shortly after they are released. This provides engineers with an objective, large-scale way to evaluate and compare code review automation tools.
Problem
Evaluating code review quality is difficult because it relies on subjective judgments from reviewers, and existing benchmarks do not align with the actual decision makers (PR authors) and become outdated as tools evolve.
Method
The approach leverages revealed developer preferences by mining daily GitHub events to record whether developers act on bot suggestions, creating a large-scale, continuously updated collection of judged pull requests. It aggregates these signals across multiple tools to form a benchmark that reflects real-world acceptance behavior.
Results
The approach's developer-preference signal agrees with an independent offline benchmark on precision rankings and detects the same product updates within days of vendor releases.
Contributions
A continuously refreshed, large-scale benchmark that captures real developer acceptance of code review suggestions, and validation that this signal aligns with existing benchmarks and tracks product updates.
Practical relevance
It provides an objective, continuously updated yardstick for measuring and improving code review tools as AI-generated code becomes more prevalent.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction