arXiv:2610.32196cs.AIOct 2026

Manuscript Offprint

arXiv:2610.32196

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

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Victor Shea-Jay Huang 1^{1}, Rongqing Li 5^{5}, Zhangyue Yin 2^{2}, Kelong Mao 5^{5}, Yaqi Zhao 3^{3}, Xinyuan Wang 2^{2}, Yao Yin 4^{4}, Lirui Luo 4^{4}, Renrui Zhang 1^{1}, Hongsheng Li 1,†^{1,\dagger}

1^{1}MMLab, The Chinese University of Hong Kong, 2^{2}Fudan NLP Lab, Fudan University

3^{3}The Hong Kong University of Science and Technology, 4^{4}Peking University, 5^{5}Somewhere on the Earth

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.

Code: https://github.com/JeixHuang/SWE-Shift

Correspondence: jeix782@gmail.com

1 Introduction

Figure

Figure 1 | Success drops after workspace changes. Clean (red) and Shifted (blue) success rates across 17 coding-agent systems, ordered by Clean success.

Repository-level benchmarks such as SWE-bench [13] have made it possible to evaluate coding agents on realistic software engineering tasks rather than isolated code generation. An agent must understand an issue, navigate a repository, modify executable code, and satisfy tests. Yet these benchmarks largely assume that once execution begins, the task and its environment remain unchanged. Real software development is less static. Code may be edited, dependencies may change, runtime state may evolve, and requirements or available information may be updated while an agent is still working. This raises a different reliability question: