arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.24110cs.AI
收藏

EvoCode-Bench:评估多轮迭代交互中的编码智能体

EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions

UniPat AI;Peking University(北京大学);Tsinghua University(清华大学);HKU(香港大学)

Haiyang Shen, Xuanzhong Chen, Wendong Xu, Yun Ma, Liang Chen, Kuan Li

AI总结:

提出EvoCode-Bench基准,通过多轮状态化任务和累积测试评估编码智能体在需求变化下维持代码库工作的能力,发现多轮指标远低于单轮指标,且最强智能体多轮成功率仅约50%。

摘要:

编码智能体越来越多地被用作迭代开发伙伴,但大多数基准测试仍然评估一个规范后跟一个最终评估。这忽略了一个基本问题:当需求变化时,智能体能否保持自己的代码库正常工作?我们引入了EvoCode-Bench,一个包含26个状态化编码任务和227个评估轮次的基准。每个任务保留智能体的工作空间5-15轮,通过可观察的行为陈述需求,并使用累积可执行测试来检查新需求以及仍然活跃的先前需求。我们使用两个指标评估了13个编码智能体:MT@4,一个四次尝试失败停止的多轮分数;以及SR,一个从参考完成的先前状态开始的单轮分数。对于大多数智能体,SR超过MT@4 22-40分。差距也改变了排名:最高SR的智能体(78.9)在持续执行中仅排名第三(44.0 MT@4)。即使是最强的智能体在多轮指标上也仅达到约50%的成功率,并且到第5轮时,聚合通过率下降到第1轮性能的一半以下。失败分析显示了层级依赖的行为:较弱的智能体早期失败,而较强的智能体存活足够长以暴露规范跟踪和回归失败。我们发布了基准数据和Harbor多轮基础设施。

英文摘要:

Coding agents are increasingly used as iterative development partners, but most benchmarks still evaluate one specification followed by one final assessment. This leaves out a basic question: can an agent keep its own codebase working as requirements change? We introduce EvoCode-Bench, a benchmark of 26 stateful coding tasks and 227 evaluated rounds. Each task preserves the agent's workspace for 5-15 rounds, states requirements through observable behavior, and uses cumulative executable tests to check new requirements and still-active prior ones. We evaluate 13 coding agents with two metrics: MT@4, a four-attempt fail-stop multi-round score, and SR, a single-round score from a reference-completed prior state. For most agents, SR exceeds MT@4 by 22-40 points. The gap also changes rankings: the highest-SR agent (78.9) ranks only third in persistent execution (44.0 MT@4). Even the strongest agents achieve only about 50% success on multi-turn metrics, and aggregate pass rate drops below half of round-1 performance by round 5. Failure analysis shows tier-dependent behavior: weaker agents fail early, while stronger agents survive long enough to expose specification-tracking and regression failures. We release the benchmark data and Harbor multi-turn infrastructure.

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

↑