AI
New Benchmark Reveals Major Gaps in AI Coding Agents' Ability to Handle Sequential Bug Fixes
Researchers introduce ChainSWE, a benchmark showing that language model agents lose up to 70% of their performance when fixing multiple dependent bugs in sequence, exposing limitations in real-world maintenance scenarios.
Language model agents are being increasingly used to help maintain software codebases over time, tackling sequences of related bugs while building on context from prior fixes. However, existing testing frameworks have a critical blind spot: they evaluate models on individual bugs in isolation, resetting the codebase and starting fresh each time, rather than simulating how developers actually work in practice.
The Problem with Current Benchmarks#
Today's standard software engineering (SWE) benchmarks treat each bug as a standalone challenge. The repository gets reset between tasks, the code is re-read from scratch, and a single issue is graded independently. This approach misses a central reality of real-world maintenance: bugs are often interconnected, and fixing one may depend on understanding or building atop previous changes. By ignoring these cumulative dependencies, existing benchmarks overstate how well agents can handle actual development workflows.
Introducing ChainSWE#
Researchers have built ChainSWE, the first benchmark designed specifically to evaluate agents on sequential and interdependent bug fixes within a shared codebase. The team collected historical chains of 304 issues across 54 Python projects, drawn from six existing SWE-bench-family datasets and organized in chronological order to reflect real dependency patterns.
Key Finding: Performance Collapse with Chain Length#
Testing across multiple agents and models revealed a striking pattern: performance drops sharply as chains grow longer. Some agents experienced performance declines of up to 70% as they tackled sequential bugs, compared to their results on isolated issues. This substantial gap exposes how much current models struggle to maintain context and coherence when handling multiple related changes in succession.
This work bridges a significant evaluation gap and suggests that developing more robust agents will require new training approaches and architectures designed for sequential reasoning over evolving codebases.

