mlsanityData to 7 Oct 2026

Benchmarking LLMs for Fine-Grained Code Review with Enriched Context in Practice

arXiv 2511.07017 ↗First posted 10 Nov 2025cs.SE cs.AIcited by 4

Not on the map. Why?

Abstract (arXiv)

Code review is a cornerstone of software quality assurance, and recent advances in Large Language Models (LLMs) have shown promise in its automation. However, existing benchmarks for LLM-based code review face three major limitations. Lack of semantic context: most benchmarks provide only code diffs without textual information such as issue descriptions, which are crucial for understanding developer intent. Data quality issues: without rigorous validation, many samples are noisy-e.g., reviews on outdated or irrelevant code-reducing evaluation reliability. Coarse granularity: most benchmarks operate at the file or commit level, overlooking the fine-grained, line-level reasoning essential for precise review. We introduce ContextCRBench, a high-quality, context-rich benchmark for fine-grained LLM evaluation in code review. Our construction pipeline comprises: Raw Data Crawling, collecting 153.7K issues and pull requests from top-tier repositories; Comprehensive Context Extraction, linking issue-PR pairs for textual context and extracting the full surrounding function or class for code context; and Multi-stage Data Filtering, combining rule-based and LLM-based validation to remove outdated, malformed, or low-value samples, resulting in 67,910 context-enriched entries. ContextCRBench supports three evaluation scenarios aligned with the review workflow: hunk-level quality assessment, line-level defect localization, and line-level comment generation. Evaluating eight leading LLMs (four closed-source and four open-source) reveals that textual context yields greater performance gains than code context alone, while current LLMs remain far from human-level review ability. Deployed at ByteDance, ContextCRBench drives a self-evolving code review system, improving performance by 61.98% and demonstrating its robustness and industrial utility. https://github.com/kinesiatricssxilm14/ContextCRBench.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 17 of its 50 references that are in the map. First posted on arXiv 10 Nov 2025.

Builds on

17 of 50 references.

References · 17

  1. 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,139
  2. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  3. 2023A Survey on Large Language Models for Recommendationcited by 378
  4. 2024LLMs instead of Human Judges? A Large Scale Empirical Study across 20 NLP Evaluation Taskscited by 236
  5. 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scalingcited by 93
  6. 2024MarsCode Agent: AI-native Automated Bug Fixingcited by 68
  7. 2023ICE-Score: Instructing Large Language Models to Evaluate Codecited by 50
  8. 2025Repo2Run: Automated Building Executable Environment for Code Repository at Scalecited by 39
  9. 2024ReposVul: A Repository-Level High-Quality Vulnerability Datasetcited by 35
  10. 2022AUGER: Automatically Generating Review Comments with Pre-training Modelscited by 23
  11. 2024AEGIS: An Agent-based Framework for General Bug Reproduction from Issue Descriptionscited by 15
  12. 2024RepoMasterEval: Evaluating Code Completion via Real-World Repositoriescited by 10
5 more
  1. 2023Generation-based Code Review Automation: How Far Are We?cited by 9
  2. 2024Modern Code Reviews -- Survey of Literature and Practicecited by 6
  3. 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generationcited by 6
  4. 2018CORRECT: Code Reviewer Recommendation in GitHub Based on Cross-Project and Technology Experiencecited by 4
  5. 2022Modeling Review History for Reviewer Recommendation:A Hypergraph Approachcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.