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
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL, cs.LG
- Comments
- 47 pages. Code: https://github.com/JeixHuang/SWE-Shift
Related papers
ESM-Bench: A Benchmark for Evaluating Whether AI Agents Understand Earth System Model Physics and Code
Shared title terminologycs.AIKoutian Wu, Yuxuan Cao, Gengchen Mai et al.
Co-Design Bench: Multimodal Collaborative Coding Evaluation for Agentic Models
Shared title terminologycs.AIXilin Wei, Shengyuan Ding, Xinyu Fang et al.
DoppelVet: Comparative Safety Verification for Self-Evolving Agents
Shared title terminologycs.AIYifan Duan, Du Yin, Siyuan Zheng et al.
DiscernBench: Evaluating Cooperative Discernment of LLM Agents in Institutional Settings
Shared title terminologycs.AIDisha Sheshanarayana, Tanishka Magar
EvoViM: Recursively Self-Evolving Visual Agents for Exploration with Deferred Queries
Shared title terminologycs.AIXinyu Cao, Tianjie Ju, Zhuosheng Zhang
Schedule, Rank, Profile: Continuous Evaluation of LLM Agents in Games
Shared title terminologycs.AIMartyna Plomecka, Yao Yan, DJ Sterling et al.