Daily Tech Briefing
AI 科技速览
每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。
arXiv AI · 2026/7/30 17:42:44
PAIChecker: Uncovering and Checking PR-Issue Misalignment in SWE-Bench-Like Benchmarks
AI 中文解读
核心亮点:一项新研究给AI编程能力测评“找茬”,发现近14%的测试数据其实“文不对题”,并开发出自动纠错工具PAIChecker。
通俗解读:科研人员常用“SWE-bench”这类考卷来测试AI写代码、修bug的水平。考卷的题目是从真实项目里挖出来的:开发者提交的修复代码(PR)和对应的问题描述(Issue)被配成一对。但研究发现,因为大仓库太复杂,这种配对经常出错——比如问题描述和修复内容根本对不上。PAIChecker就像一个“考题质检员”,派出多个AI协作,从不同角度检查配对是否合理,还能进一步验证代码逻辑,比单靠人手或单个AI检查更准更可靠,在两项测试中的准确率都超过了91%。
实际影响:以后测评AI编程能力时,题目会更干净、更可信。这意味着我们看到的AI编程水平排行榜会更客观,厂家吹的“AI写代码很强”也更经得起推敲。对普通人来说,大家放心地把工作交给AI的前提,就是它的能力被真实准确地衡量,而不是被水分数据夸大。
SWE-bench-like benchmarks are widely used for evaluating LLM's issue resolution capability. They typically follow a common construction pipeline: each PR (Pull Request) is paired with its linked issue by extracting issue references from the PR description; the issue description is used as the problem statement, and the PR patch serves as the test oracle. However, due to the inherent complexity of developing and maintaining large repositories, such PR-Issue pairings are often misaligned in practice. In this work, we systematically study SWE-bench Verified instances, finding that 13.6% exhibit misalignment across five patterns in eleven fine-grained scenarios. To enable reliable and scalable construction of those benchmarks in the future, we propose PAIChecker, a multi-agent system for checking PR-Issue misalignment in SWE-bench-like benchmarks. Specifically, PAIChecker adopts a three-phase design that combines specific pattern identification, cross-agent label synthesis, and code-level validation, thereby enabling more accurate, generalizable, and progressively verified detection. Experiments on SWE-Gym and SWE-bench Multilingual show that PAIchecker achieves the best performance across all four LLM backbones, reaching up to 92.12% and 91.67% binary accuracy, respectively.
分享
阅读原文 ↗