SWE-PRBench: Benchmarking AI Code Review Quality Against Pull Request Feedback
Not on the map. Why?
Abstract (arXiv)
We introduce SWE-PRBench, a benchmark of 350 pull requests with human-annotated ground truth for evaluating AI code review quality. Evaluated against an LLM-as-judge framework validated at kappa=0.75, 8 frontier models detect only 15-31% of human-flagged issues on the diff-only configuration, demonstrating that AI code review remains far below human expert performance despite strong results on code generation benchmarks. Pull requests are drawn from active open-source repositories, filtered from 700 candidates using a Repository Quality Score, and evaluated under three frozen context configurations: diff only (config_A), diff with file content (config_B), and full context (config_C), enabling systematic ablation of context provision strategies. All 8 models degrade monotonically from config_A to config_C, even when context is provided via structured semantic layers including AST-extracted function context and import graph resolution. The dominant mechanism is a collapse of Type2_Contextual issue detection at config_B, consistent with attention dilution in long contexts: a structured 2,000-token diff-with-summary prompt outperforms a 2,500-token full-context prompt enriched with execution context, behaviour mapping, and test signatures across all 8 models. The top four models are statistically indistinguishable (mean score 0.147-0.153) while a clear tier gap separates them from the remaining four (mean score <= 0.113). Dataset, contexts, annotations, and evaluation harness are released publicly.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 11 of its 22 references that are in the map. First posted on arXiv 27 Mar 2026.
Builds on
11 of 22 references.
References · 11
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
- 2024JudgeBench: A Benchmark for Evaluating LLM-based Judgescited by 294
- 2022Automating Code Review Activities by Large-Scale Pre-trainingcited by 98
- 2022Using Pre-Trained Models to Boost Code Review Automationcited by 63
- 2024Code Review Automation: Strengths and Weaknesses of the State of the Artcited by 20
- 2024DeepCRCEval: Revisiting the Evaluation of Code Review Comment Generationcited by 12
- 2020A ground-truth dataset and classification model for detecting bots in GitHub issue and PR commentscited by 10
- 2025LAURA: Enhancing Code Review Generation with Context-Enriched Retrieval-Augmented LLMcited by 8
Built on by
Citing papers per year: 2026: 2.
2 papers.