arXiv cs.CL论文
SWE-Bench ProMax:在大规模多语言代码重构中基准测试智能体
该论文针对AI编码智能体处理复杂软件工程任务的能力,提出了新的基准测试方法。研究指出当前SWE-bench等现有基准存在评估质量下降的问题,审计发现近60%的未解决实例包含有缺陷的测试用例(如过于狭窄或宽泛),导致前沿模型表现失真。SWE-Bench ProMax旨在通过更严格的评估标准,准确衡量智能体在多语言代码重构场景下的真实水平。
这篇是正式发表的长论文,站内提供中文解读,全文请到原文阅读 PDF。
Abstract:As AI coding agents take on increasingly complex, long-horizon software engineering tasks, existing benchmarks are rapidly saturating and their evaluation quality has come under serious scrutiny: a recent audit found that nearly 60% of unsolved SWE-bench Verified instances contain flawed tests -- either overly narrow tests that reject correct solutions or overly broad tests that check unstated requirements -- and that frontier models can verbatim reproduce gold patches from training data. Code refactoring, which requires coordinated, behavior-preserving changes across many files, offers a substantially harder and more realistic test of agent capability, yet remains underserved by current benchmarks. We introduce SWE-Bench ProMax, an expert-curated, multilingual code refactoring benchmark of 170 instances drawn from real commits across seven programming languages (Python, Java, TypeScript, Go, C, C++, and Rust). Every instance undergoes rigorous, multi-stage curation that directly addresses the quality problems identified in prior benchmarks: issue descriptions are rewritten from scratch to provide precise, unambiguous specifications, and test suites are manually reviewed to remove overly narrow and overly broad tests. Tasks with insufficient complexity or limited cross-file scope are filtered out, yielding a benchmark of challenging, large-scale refactoring tasks that average 11.5 modified files and 261.6 lines of code per instance, substantially exceeding the scale of existing benchmarks. Experiments with frontier models under two agent scaffolds show that the best model achieves only 41.2% resolve rate, confirming that SWE-Bench ProMax presents a meaningful and unsaturated challenge for current AI coding agents. Our benchmark is available at this https URL.