cs.AIOct 23, 2026

SWE-Shift: Evaluating Coding Agents in Evolving Workspaces

Authors: Victor Shea-Jay Huang, Rongqing Li, Zhangyue Yin, Kelong Mao, Yaqi Zhao, Xinyuan Wang, Yao Yin, Lirui Luo, 

Organizations: MMLab, The Chinese University of Hong Kong · Somewhere on the Earth · Fudan NLP Lab, Fudan University · The Hong Kong University of Science and Technology · 

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.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. SWE-Touch: Benchmarking Coding Agents When Users Touch the Code

    Aug 3, 2026Yuqiao Tan, Jinxiang Meng, Fangyu Lei +4Coding AgentsSoftware Engineering Benchmarks

  2. SWE-Bench Pro V2: A Cleaner, Harder-to-Game Coding Benchmark

    Oct 16, 2026Soham Dan, Jeff Da, Sanyam Bhutani +8Coding Agent BenchmarksSoftware Engineering Benchmarks