arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.11078cs.SEcs.AIcs.CL
收藏

CR-Bench:评估AI代码审查代理的现实世界效用

CR-Bench: Evaluating the Real-World Utility of AI Code Review Agents

Nutanix, Inc.(Nutanix公司)

Kristen Pereira, Neelabh Sinha, Rajat Ghosh, Debojyoti Dutta

AI总结:

CR-Bench通过引入基准数据集和细粒度评估流程,评估AI代码审查代理在现实世界中的效用,揭示了问题解决与假发现之间的权衡,为LLM驱动的代码审查代理发展提供基础。

摘要:

近期前沿大语言模型的发展使能够处理开放性、推理密集型环境的代码审查代理成为可能。然而,缺乏标准化的基准和细粒度评估协议使得难以评估代码审查代理的行为,特别是在假阳性成本较高的任务中。为解决这一差距,我们引入了CR-Bench基准数据集和CR-Evaluator细粒度评估流程。利用这些工具,我们对两种前沿模型中的单次代理和基于反思的代理进行了初步研究。我们发现,当设计用于识别所有隐藏问题时,代码审查代理可能会表现出低信噪比,这在仅以解决率为衡量标准时会掩盖真正的进展和开发人员生产力。我们的分析揭示了问题解决与假发现之间的隐含权衡,揭示了一个限制有效代理设计的前沿。共同,CR-Bench和CR-Evaluator为研究和开发基于LLM的代码审查代理提供了及时的基础,随着LLM系统从受控基准向现实软件工程工作流过渡。

英文摘要:

Recent advances in frontier large language models have enabled code review agents that operate in open-ended, reasoning-intensive settings. However, the lack of standardized benchmarks and granular evaluation protocols makes it difficult to assess behavior of code review agents beyond coarse success metrics, particularly for tasks where false positives are costly. To address this gap, we introduce CR-Bench, a benchmarking dataset, and CR-Evaluator, a fine-grained evaluation pipeline for code review agents. Using these tools, we conduct a preliminary study evaluating both a single-shot agent and a Reflexion-based agent across two frontier models. We find that code review agents can exhibit a low signal-to-noise ratio when designed to identify all hidden issues, obscuring true progress and developer productivity when measured solely by resolution rates. Our analysis identifies the hidden trade-off between issue resolution and spurious findings, revealing a frontier that constrains effective agent design. Together, CR-Bench and CR-Evaluator provide a timely foundation for studying and developing code review agents as LLM-based systems transition from controlled benchmarks to real-world software engineering workflows.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑