SWE-Bench Pro Verified:可靠的软件工程智能体基准

·

研究论文 · 2026/09/10

SWE-Bench Pro 已成为评估软件工程智能体在挑战性仓库级任务上的标准基准。然而,我们的分析工作表明,其评估受到两个不可靠来源的削弱:奖励黑客行为(由黄金解决方案或隐藏评估信息泄露所促成)以及任务质量问题(包括误导性问题陈述和范围不当的测试)。这些问题可能夸大基准性能并掩盖智能体的真实编码能力。我们提出 SWE-Bench Pro Verified,这是 SWE-Bench Pro 的验证版本,解决了这两个问题。我们的方法结合了反黑客防护措施(在不干扰正常智能体功能的情况下消除主要泄露渠道)与任务精炼(最小限度地纠正有缺陷实例中的不一致)。在 SWE-Bench Pro Verified 上的评估显示,一些模型的表现远低于先前报告,表明 SWE-Bench Pro 上的现有结果可能高估了真实的软件工程能力。SWE-Bench Pro Verified 为评估软件工程智能体提供了更可信的基准。

该研究指出了广泛使用的 SWE-Bench Pro 基准的可靠性缺陷,并提出了经过验证的改进版本,对于依赖该基准评估软件工程智能体的研究者和开发者具有重要参考价值。

SWE-Bench Pro has emerged as a standard benchmark for evaluating software engineering agents on challenging repository-level tasks. However, our analysis work show that its evaluation is undermined by two sources of unreliability: reward hacking, enabled by leakage of gold solutions or hidden evaluation information, and task quality issues, including misleading problem statements and improperly scoped tests. These issues can inflate benchmark performance and obscure agents' true coding ability. We present SWE-Bench Pro Verified, a verified version of SWE-Bench Pro that addresses both problems. Our approach combines anti-hacking safeguards that eliminate major leakage channels without disrupting normal agent functionality, with task refinement that minimally corrects inconsistencies within flawed instances. Evaluations on SWE-Bench Pro Verified reveal that some models perform substantially worse than previously reported, suggesting that existing results on SWE-Bench Pro may overestimate real software engineering capability. SWE-Bench Pro Verified offers a more trustworthy benchmark for assessing software engineering agents.

阅读原文

参与讨论