SWR-Bench: Assessing LLM Performance in Real-World Code Review Comment Generation
Not on the map. Why?
Abstract (arXiv)
Automated Code Review (ACR) is crucial for software quality, yet existing benchmarks often fail to reflect real-world complexities, hindering the evaluation of modern Large Language Models (LLMs). Current benchmarks frequently focus on fine-grained code units, lack complete project context, and use inadequate evaluation metrics. To address these limitations, we introduce SWRBench , a new benchmark comprising 1000 manually verified Pull Requests (PRs) from GitHub, offering PR-centric review with full project context. SWRBench employs an objective LLM-based evaluation method that aligns strongly with human judgment (~90 agreement) by verifying if issues from a structured ground truth are covered in generated reviews. Our systematic evaluation of mainstream ACR tools and LLMs on SWRBench reveals that current systems underperform, and ACR tools are more adept at detecting functional errors. Subsequently, we propose and validate a simple multi-review aggregation strategy that significantly boosts ACR performance, increasing F1 scores by up to 43.67%. Our contributions include the SWRBench benchmark, its objective evaluation method, a comprehensive study of current ACR capabilities, and an effective enhancement approach, offering valuable insights for advancing ACR research.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 1 Sep 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026AACR-Bench: Evaluating Automatic Code Review with Holistic Repository-Level Contextcited by 5
- 2026Code Review Agent Benchmarkcited by 4
- 2026CR-Bench: Evaluating the Real-World Utility of AI Code Review Agentscited by 3
- 2026MathlibPR: Pull Request Merge-Readiness Benchmark for Formal Mathematical Librariescited by 1
- 2026From Static to Dynamic: Benchmarking Real-World Code Review with MCR-Benchcited by 0
- 2026SWE-DeceptionBench: Benchmarking Deceptive Behaviors of LLMs Across the Software Development Lifecyclecited by 0
- 2026SWE-DeceptionBench: Benchmarking Deceptive Behaviors of LLMs Across the Software Development Lifecycle9 Oct 2026
- 2026From Static to Dynamic: Benchmarking Real-World Code Review with MCR-Bench27 Aug 2026
- 2026MathlibPR: Pull Request Merge-Readiness Benchmark for Formal Mathematical Libraries8 May 2026
- 2026Code Review Agent Benchmark24 Mar 2026
- 2026CR-Bench: Evaluating the Real-World Utility of AI Code Review Agents10 Mar 2026
- 2026AACR-Bench: Evaluating Automatic Code Review with Holistic Repository-Level Context27 Jan 2026