Skip to content
English

Switch theme

arXiv 2611.02017 · cs.CL · 2026-11-01

Switch-SWE: Do Coding Agents Hold Focus When Switching Between Unfinished Tasks?

Shuochen Chang, Qianli Ma, Yibo Miao, Qingyang Liu, Bingjie Gao, Haonan Zhao, Siyu Sun, Yulin Sun and 2 more

Shanghai Jiao Tong University

In latest · #268 Added on 2026-11-06

One-line takeaway

Switch-SWE evaluates focus resumption during task switching in coding agents, showing a 11.5% average drop in completion rate and improving it by 5.5–15.5 percentage points with a context management module.

Switch-SWE基准评估了代码代理在切换未完成任务时的专注恢复能力,发现任务间干扰显著降低完成率,引入上下文管理模块可提升完成率5.5至15.5个百分点。

Key points

Switch-SWE introduces a benchmark to evaluate how coding agents maintain focus when switching between unfinished tasks in the same repository. It constructs matched sessions with uninterrupted and interleaved task workflows, revealing a significant drop in completion rates due to cross-task confusion. A context-management module is proposed to preserve relevant task history and state, improving focus-task resolution across models.

  • Switch-SWE evaluates focus resumption during task switching in coding agents using matched sessions from real repository histories.
  • It identifies a 11.5% average drop in completion rate due to cross-task requirement confusion and state loss.
  • A context-management module selects relevant history and maintains concise task-state summaries.
  • The module improves focus-task completion by 5.5–15.5 percentage points across evaluated coding agents on OpenCode.

Written only from the official arXiv abstract by an open-source model, then checked automatically (every number and name must appear in the abstract). The paper is authoritative.

10HF upvotes
26GitHub stars
1Citations (Semantic Scholar)
37.1Buzz score

Read on arXiv PDF Hugging Face discussion Code Project page

Related papers

About this data

Metadata from the arXiv API (verified); upvotes from Hugging Face Daily Papers; citations from Semantic Scholar. Last refreshed 2026-11-30.

The takeaway is written by AIMap from the abstract; the abstract itself is not reproduced — read the original.

Data updated: Latest AI papers(UTC+8)