Termination Lag: Coding Agents Solve Early but Stop Late

Musa Cim, Burak Topcu, Mahmut Taylan Kandemir
11/11/2026
cs.AIcs.CL

No confident code implementation found for this paper.

Abstract

Coding agents can solve a task well before they stop working on it. We characterize \emph{termination lag}--the number of steps between an agent's first correct patch and the end of its run--across five models, two agent frameworks, and three SWE-bench datasets by recording and testing every distinct repository patch generated during execution.

Show full abstract

Our analysis reveals that 38--82% of successful runs achieve a correct solution on their initial source-code edit. However, agents continue to expend substantial effort after correct patches, with post-solution steps accounting for a median of 35--37% for Qwen3-Coder and 54--60% for Laguna-XS.2 in successful runs on SWE-bench Verified and Multilingual. Agents spend most of these additional steps verifying their work and exploring the repository. In a small fraction of cases (1--8%), this continued activity leads agents to undo their earlier correct patch, leaving the final solution incorrect.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cim2026termination,
  title  = {Termination Lag: Coding Agents Solve Early but Stop Late},
  author = {Musa Cim and Burak Topcu and Mahmut Taylan Kandemir},
  year   = {2026},
  eprint = {2611.14960},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.14960v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.14960.svg)](https://codeofpaper.com/paper/2611.14960)

Discussion