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

保存SWE-Bench:一种用于现实代理评估的基准突变方法

Saving SWE-Bench: A Benchmark Mutation Approach for Realistic Agent Evaluation

Microsoft(微软)

Spandan Garg, Benjamin Steenhoek, Yufan Huang

AI总结:

本文提出一种基准突变方法,通过分析开发者与聊天代理的互动模式,将现有基准转化为现实用户查询,揭示现有基准对代理能力的高估问题。

摘要:

当前用于评估软件工程代理的基准,如SWE-Bench Verified,主要来源于GitHub问题,无法准确反映开发者在集成开发环境(IDE)中与基于聊天的代码助手互动的方式。我们提出,这种不匹配导致在现实场景中代理能力的系统性高估,尤其是在bug修复方面。我们引入了一种新的基准框架,通过系统分析开发者与基于聊天的代理互动模式,将现有正式基准转化为现实用户查询。我们的方法灵活,可以轻松扩展到现有基准。在本文中,我们将我们的测试框架应用于SWE-Bench Verified,TypeScript子集的Multi-SWE-Bench以及一个私有基准SWE-Bench C#,并基于对流行基于聊天的代理互动的遥测分析,将正式的GitHub问题描述转化为现实用户风格的查询。我们的发现表明,现有基准在某些模型上对代理能力的高估超过基线性能的50%(对于公开基准)和约10-16%(对于我们的内部基准)。这项工作通过基准突变技术建立了评估交互式基于聊天的软件工程代理的新范式。

英文摘要:

Current benchmarks for evaluating software engineering agents, such as SWE-Bench Verified, are predominantly derived from GitHub issues and fail to accurately reflect how developers interact with chat-based coding assistants in integrated development environments (IDEs). We posit that this mismatch leads to a systematic overestimation of agent's capabilities in real-world scenarios, especially bug fixing. We introduce a novel benchmarking framework that transforms existing formal benchmarks into realistic user queries through systematic analysis of developer interaction patterns with chat-based agents. Our methodology is flexible and can be easily extended to existing benchmarks. In this paper, we apply our testing framework to SWE-Bench Verified, the TypeScript subset of Multi-SWE-Bench and a private benchmark, SWE-Bench C# and transform formal GitHub issue descriptions into realistic user-style queries based on telemetry analysis of a popular chat-based agent interactions. Our findings reveal that existing benchmarks significantly overestimate agent capabilities for some models by >50% over baseline performance for public benchmarks and ~10-16% for our internal benchmark. This work establishes a new paradigm for evaluating interactive chat-based software engineering agents through benchmark mutation techniques.

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

↑