arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.10975cs.SEcs.AI
收藏

FeatureBench: 评估代理编码在复杂特性开发中的性能

FeatureBench: Benchmarking Agentic Coding for Complex Feature Development

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Huawei Technologies Co., Ltd(华为技术有限公司)

Qixing Zhou, Jiacheng Zhang, Haiyang Wang, Rui Hao, Jiahe Wang, Minghao Han, Yuxue Yang, Shuzhe Wu, Feiyang Pan, Lue Fan, Dandan Tu, Zhaoxiang Zhang

AI总结:

FeatureBench通过基于执行的评估协议和自动化任务收集方法,评估代理在复杂特征开发中的性能,发现先进模型在该基准上表现有限,为提升代理编码能力提供新机会。

摘要:

由大型语言模型(LLMs)驱动的代理正在越来越多地被软件行业采用,作为协作者甚至自主开发者贡献代码。随着其存在感的增强,评估当前编码能力的边界变得至关重要。然而,现有的代理编码基准测试却覆盖了有限的任务范围,例如单个拉取请求(PR)内的bug修复,并且往往依赖于不可执行的评估或缺乏自动方法来持续更新评估覆盖范围。为了解决这些问题,我们提出了FeatureBench,一个用于评估代理在端到端、面向特征的软件开发中的性能的基准测试。FeatureBench集成了基于执行的评估协议和一个可扩展的测试驱动方法,该方法能够自动从代码仓库中推导出任务,仅需极小的人工努力。通过追踪单元测试沿依赖图,我们的方法可以识别跨越多个提交和散落在开发时间线上的特征级编码任务,同时确保分离后其他功能的正常运行。使用这一框架,我们从24个开源仓库中精心挑选了200个具有挑战性的评估任务和3825个可执行环境。实证评估表明,最先进的代理模型,如Claude 4.5 Opus,在SWE-bench上实现了74.4%的解决率,但在FeatureBench上仅成功解决了11.0%的任务,这为推动代理编码技术的发展开辟了新的机会。此外,受益于我们的自动化任务收集工具包,FeatureBench可以轻松地在以后的时间内进行扩展和更新,以缓解数据泄漏问题。所构建环境的内在可验证性也使我们的方法在代理训练中具有潜在价值。

英文摘要:

Agents powered by large language models (LLMs) are increasingly adopted in the software industry, contributing code as collaborators or even autonomous developers. As their presence grows, it becomes important to assess the current boundaries of their coding abilities. Existing agentic coding benchmarks, however, cover a limited task scope, e.g., bug fixing within a single pull request (PR), and often rely on non-executable evaluations or lack an automated approach for continually updating the evaluation coverage. To address such issues, we propose FeatureBench, a benchmark designed to evaluate agentic coding performance in end-to-end, feature-oriented software development. FeatureBench incorporates an execution-based evaluation protocol and a scalable test-driven method that automatically derives tasks from code repositories with minimal human effort. By tracing from unit tests along a dependency graph, our approach can identify feature-level coding tasks spanning multiple commits and PRs scattered across the development timeline, while ensuring the proper functioning of other features after the separation. Using this framework, we curated 200 challenging evaluation tasks and 3825 executable environments from 24 open-source repositories in the first version of our benchmark. Empirical evaluation reveals that the state-of-the-art agentic model, such as Claude 4.5 Opus, which achieves a 74.4% resolved rate on SWE-bench, succeeds on only 11.0% of tasks, opening new opportunities for advancing agentic coding. Moreover, benefiting from our automated task collection toolkit, FeatureBench can be easily scaled and updated over time to mitigate data leakage. The inherent verifiability of constructed environments also makes our method potentially valuable for agent training.

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

↑