Termination Lag: Coding Agents Solve Early but Stop Late
minor signal 16
Study characterizes "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. 38–82% of successful runs reach a correct solution on the initial source-code edit, yet agents keep working: post-solution steps are a median 35–37% for Qwen3-Coder and 54–60% for Laguna-XS.2 on SWE-bench Verified and Multilingual. In 1–8% of cases the continued activity undoes the earlier correct patch, leaving the fi
Action: Add an explicit stop condition to coding agents — halt or require justification once a patch passes tests — and measure wasted post-solution steps and the rate of correct patches being reverted.
Migration effort: none
Cited
Termination Lag: Coding Agents Solve Early but Stop Late arxiv-ai · community · 2026-11-11