arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.32196cs.AIcs.CLcs.LG
收藏

SWE-Shift:在动态工作空间中评估编码智能体

SWE-Shift: Evaluating Coding Agents in Evolving Workspaces

Victor Shea-Jay Huang, Rongqing Li, Zhangyue Yin, Kelong Mao, Yaqi Zhao, Xinyuan Wang, Yao Yin, Lirui Luo, Renrui Zhang, Hongsheng Li

AI总结:

本文提出SWE-Shift基准,评估编码智能体在执行中发生工作变更时的表现,发现所有被测智能体在变更场景下的成功率均低于无变更场景。

摘要:

仓库级编码基准大多假设任务和环境在执行过程中保持不变,但在软件开发中,智能体工作时代码、依赖、运行时状态和需求可能发生变化。本文提出SWE-Shift,用于评估智能体在执行中发生此类变化时的表现:从相同的保存历史和工作空间出发,Clean延续流程无干预,匹配的Shifted延续流程则接收与任务相关的更新,成功需完成当前任务、保留仍有效的工作,并通过适用的状态与证据检查。该基准包含12个变化类别下的120个场景,每个场景在9个预定干预位置进行评估。本文评估了17个编码智能体系统,所有系统的Shifted成功率均低于Clean:GPT-6 Astra的成功率从67.35%降至24.79%,配对成功率为20.34%;工具/会话变更和陈旧证据导致所有系统的配对成功率为0;部分系统在后期位置的配对成功率更低,部分则更高。这些结果表明,未变更任务的成功可能与更新后无法保留工作、恢复状态或刷新证据的失败共存。

英文摘要:

Repository-level coding benchmarks largely assume that tasks and environments remain unchanged throughout execution. In software development, code, dependencies, runtime state, and requirements can change while an agent is still working. We introduce SWE-Shift, a benchmark for evaluating coding agents under such mid-execution changes. From the same saved history and workspace, a Clean continuation proceeds without intervention, while a matched Shifted continuation receives a task-relevant update. Success requires completing the current task, preserving still-valid work, and satisfying the applicable state and evidence checks. The benchmark contains 120 scenarios across 12 change families, each evaluated at nine scheduled intervention positions. We evaluate 17 coding-agent systems, all of which have lower Shifted than Clean success. GPT-6 Astra drops from 67.35% to 24.79%, with 20.34% paired success. Tool/session changes and stale evidence yield zero paired success across all systems. Late-position paired success is lower for some systems and higher for others. These results show that success on the unchanged task can coexist with failures to preserve work, recover state, or refresh evidence after an update.

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

↑