AI
New survey maps evolution of code review benchmarks from pre-AI to LLM era
Researchers analyze a decade of code review datasets to identify gaps and propose design principles for better evaluation of AI-powered review tools.
A comprehensive examination of code review benchmarks across the past decade reveals significant shifts in how the field measures progress on automated review—and exposes critical shortcomings in current evaluation practices as large language models reshape the landscape.
Survey scope and findings#
Researchers at arXiv surveyed 104 research papers spanning 2015–2025, dividing them between the Pre-LLM era (60 papers) and the LLM era (44 papers). They catalogued datasets, evaluation metrics, data sources, and task definitions, organizing the work into five domains covering 18 distinct tasks.
The analysis shows the field has undergone notable transitions. Research increasingly focuses on generative peer-review capabilities (producing full review comments rather than just flagging issues), expanded to cover code in multiple languages, while shifting away from narrow, isolated tasks focused on change comprehension alone.
Gaps and design failures#
Despite progress, the survey identifies persistent vulnerabilities in how code review systems are tested:
- Missing macro-level tasks: Few benchmarks assess broader architectural or design-level review concerns; most target line-level defects.
- Structural gaps: Scaffolding review—where multiple review comments must work together coherently—remains underexplored.
- Weak evaluation metrics: Many metrics are misaligned with actual review quality or lack proper calibration.
- Limited real-world grounding: Few benchmarks rely on execution-based assessment (actually running code) to validate findings.
Toward better benchmarks#
The authors propose four design principles to address these shortcomings:
- Broader task coverage — Include architectural, design, and cross-team review scenarios
- Execution-grounded evaluation — Validate review comments against actual code behavior
- Calibrated multi-reference assessment — Compare LLM outputs against multiple human reviews, not just one
- Cross-language generalization — Test models on diverse programming languages and codebases

