arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.02262cs.SEcs.AIcs.CL
收藏

OmniCode: 一个评估软件工程代理的基准

OmniCode: A Benchmark for Evaluating Software Engineering Agents

Cornell University(康奈尔大学);Independent contributor(独立贡献者);UC Santa Barbara(加州大学圣巴巴拉分校);Jadavpur University(贾瓦伊普尔大学);New York University(纽约大学)
Atharv Sonwane, Eng-Shen Tu, Wei-Chung Lu, Claas Beger, Carter Larsen, Debjit Dhar, Simon Alford, Rachel Chen, Ronit Pattanayak, Tuan Anh Dang, Guohao Chen, Glo… 展开作者

Atharv Sonwane, Eng-Shen Tu, Wei-Chung Lu, Claas Beger, Carter Larsen, Debjit Dhar, Simon Alford, Rachel Chen, Ronit Pattanayak, Tuan Anh Dang, Guohao Chen, Gloria Geng, Kevin Ellis, Saikat Dutta

AI总结:

本文提出OmniCode,一个涵盖更广泛任务类别的软件工程基准,旨在评估软件代理在不同软件开发方面的性能。

摘要:

LLM驱动的编码代理正在重新定义现实世界软件的开发方式。为了推动研究向更好的编码代理发展,我们需要具有挑战性的基准,能够严格评估此类代理执行各种软件工程任务的能力。然而,流行的编码基准如HumanEval和SWE-Bench专注于狭窄的任务,如竞赛编程和补丁生成。实际上,软件工程师必须处理更广泛的任务来完成现实世界软件开发。为了解决这一差距,我们提出了OmniCode,一个新型的软件工程基准,包含比代码或补丁生成更广泛和多样化的任务类别。总体而言,OmniCode包含1794个任务,涵盖三种编程语言 - Python、Java和C++,以及四个关键类别:bug fixing、test generation、code review fixing和style fixing。与之前的软件工程基准不同,OmniCode的任务(1)经过人工验证以消除定义不清的问题,并且(2)合成创建或最近整理以避免数据泄漏问题,呈现了一个从有限现实数据中合成多样化软件任务的新框架。我们使用流行的代理框架如SWE-Agent评估OmniCode,显示尽管它们在Python的bug fixing上表现良好,但在Test Generation等任务以及C++和Java等语言上则表现不佳。例如,SWE-Agent在C++ Test Generation上使用DeepSeek-V3.1达到最大25.0%。OmniCode旨在作为稳健的基准,推动开发在软件开发不同方面表现良好的代理。代码和数据可在https://github.com/seal-research/OmniCode上获取。

英文摘要:

LLM-powered coding agents are redefining how real-world software is developed. To drive the research towards better coding agents, we require challenging benchmarks that can rigorously evaluate the ability of such agents to perform various software engineering tasks. However, popular coding benchmarks such as HumanEval and SWE-Bench focus on narrowly scoped tasks such as competition programming and patch generation. In reality, software engineers have to handle a broader set of tasks for real-world software development. To address this gap, we propose OmniCode, a novel software engineering benchmark that contains a broader and more diverse set of task categories beyond code or patch generation. Overall, OmniCode contains 1794 tasks spanning three programming languages - Python, Java, and C++ - and four key categories: bug fixing, test generation, code review fixing, and style fixing. In contrast to prior software engineering benchmarks, the tasks in OmniCode are (1) manually validated to eliminate ill-defined problems, and (2) synthetically crafted or recently curated to avoid data leakage issues, presenting a new framework for synthetically generating diverse software tasks from limited real-world data. We evaluate OmniCode with popular agent frameworks such as SWE-Agent and show that while they may perform well on bug fixing for Python, they fall short on tasks such as Test Generation and in languages such as C++ and Java. For instance, SWE-Agent achieves a maximum of 25.0% with DeepSeek-V3.1 on C++ Test Generation. OmniCode aims to serve as a robust benchmark and spur the development of agents that can perform well across different aspects of software development. Code and data are available at https://github.com/seal-research/OmniCode.

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

↑