ChainSWE: Benchmarking Coding Agents on Multi-Bug Software Maintenance

📅 2026-07-01
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Existing software engineering benchmarks evaluate defect repair in isolation, overlooking the contextual dependencies among multiple defects and the challenges of continuous maintenance in real-world scenarios. This work proposes ChainSWE, the first benchmark specifically designed for sequential, dependency-aware defect repair. Built upon six SWE-bench datasets, ChainSWE comprises 54 Python projects and 304 temporally ordered defect chains, enabling the first systematic evaluation of coding agents on multi-turn, context-dependent maintenance tasks. Experimental results reveal that the performance of leading agents degrades by up to 70% as defect chain length increases, exposing significant limitations in their capability for sustained software maintenance and addressing a critical gap in current evaluation frameworks.
📝 Abstract
Language model (LM) agents are increasingly deployed to maintain codebases over extended periods, fixing streams of related defects while carrying context from one fix to the next. Yet existing software engineering (SWE) benchmarks evaluate models one bug at a time: the repository is reset, the codebase is re-read, and a single self-contained issue is graded in isolation. This setting collapses a continuous maintenance workflow into a series of independent sessions, ignoring the cumulative dependencies that make real-world bug fixing challenging. To bridge this gap, we introduce ChainSWE, the first benchmark for evaluating agents on sequential, dependent bug fixes within a shared codebase. We collect chronological chains of 304 issues across 54 Python projects, mined from six SWE-bench-family datasets. Our evaluation across a range of agents and models reveals a consistent performance drop by up to 70% as the chain length increases.
Problem

Research questions and friction points this paper is trying to address.

software maintenance
bug fixing
sequential dependencies
codebase evolution
LM agents
Innovation

Methods, ideas, or system contributions that make the work stand out.

ChainSWE
sequential bug fixing
code maintenance
LM agents
software engineering benchmark
Q
Qirui Jin
Georgia Institute of Technology
L
Lingching Tung
Georgia Institute of Technology
Kenan Li
Kenan Li
Assistant Professor, Saint Louis University
public healthGISspatial statisticssystem dynamicsgeo-AI
Q
Qiyang Shi
New York University
Y
Yushi She
Georgia Institute of Technology
H
Huanzhong Jia
Georgia Institute of Technology
H
Harrison Zhao
Cornell University
Kejing Xia
Kejing Xia
Georgia Institute of Technology
Z
Zhenbang Du
Georgia Institute of Technology
Yikai Zhang
Yikai Zhang
Fudan university
Natural Language ProcessingAutonomous Agent
Jiaxin Pei
Jiaxin Pei
Stanford University, The University of Texas at Austin
Human-Centered AINLPHuman-Computer InteractionComputational Social Science
Z
Zhenyu Zhang
Stanford University
Zhen Qi
Zhen Qi
Northeastern University
AILLMCV
Y
Yuyan Duan
Georgia Institute of Technology
W
Wenke Lee
Georgia Institute of Technology
Zijian Jin
Zijian Jin
New York University
NLP