CRJudgeBench: Can AI Detect Plausible but Invalid Code Reviews?
Yue Pan, Jiawei Li, Ziyuan Zhang, Xiangxin Zhao, He Ye
Key points
From the paper's conclusion- We further present Sentinel, a repository-grounded agentic judge that actively gathers code evidence to verify review comments before making judgments.
Abstract
Large language models can generate plausible code-review comments, but such comments may contain technically incorrect claims that mislead developers. We study technical trustworthiness judgment: determining whether a review comment's core technical claims are correct and applicable to the reviewed code in its repository context. Existing code-review benchmarks primarily evaluate review generation, issue discovery, or general comment quality, but do not directly assess whether an agent can determine the technical trustworthy of an individual review comment. To fill this gap, we introduce CRJudgeBench, a benchmark of 1199 instances constructed from real pull requests and expert-verified perturbations, covering both trustworthy and plausible but untrustworthy comments. We further present Sentinel, a repository-grounded agentic judge that actively gathers code evidence to verify review comments before making judgments. Starting from Qwen3-Coder-30B-A3B-Instruct, Sentinel is trained on the CRJudgeBench training split through iterative action-level learning from a privileged teacher. On the 359-instance CRJudgeBench test set, Sentinel achieves 76.60\% accuracy, outperforming GLM-5.3 by 6.13 percentage points and its base model by 19.78 points. These results show that even state-of-the-art general-purpose LLMs struggle to identify untrustworthy comments, while iterative action-level learning substantially improves the accuracy of repository-grounded trustworthiness judgments. Our dataset is available at https://huggingface.co/datasets/dcloud347/CRJudgeBenchmark
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CIVER: Causal Intervention Verification for Reliable Code ReviewarXiv · 2026
- CR-Bench-v2: Evaluating the Real-World Utility of AI Code Review AgentsarXiv · 2026
- CodeReviewBench: An Automated Benchmark for Evaluating the Software FactoryarXiv · 2026
- How Much Effort Does an AI Code Reviewer Need? Evidence from Claude 5.5 Models on Plausible-but-Wrong PatchesarXiv · 2026
- Autonomous Code Review: Hidden-Test Results on GitHub IssuesarXiv · 2026
- Can Agentic Code Review Catch Vulnerabilities Before They Are Merged?arXiv · 2026