Skip to content
English

Switch theme

arXiv 2611.14960 · cs.AI · 2026-11-11

Termination Lag: Coding Agents Solve Early but Stop Late

Musa Cim, Burak Topcu, Mahmut Taylan Kandemir

Pennsylvania State University

In latest · #513 Added on 2026-11-18

One-line takeaway

Coding agents reach correct patches early but continue executing extensively, with some undoing earlier fixes and resulting in incorrect final solutions.

编码代理在早期即可生成正确代码补丁,但后续仍持续执行大量步骤,其中部分案例因回滚导致最终结果错误。

Key points

This study introduces termination lag as a metric to measure the time between first correct code patch and agent termination. Across five models and three SWE-bench datasets, it finds that while most agents produce correct patches early, they spend substantial post-solution steps on verification and exploration. A small fraction of runs undo earlier fixes, leading to incorrect final outputs.

  • Termination lag measures the gap between first correct patch and agent termination.
  • Post-solution steps account for 35–60% of total runtime in successful runs across models.
  • Agents spend most post-solution time verifying work or exploring repository structure.
  • In 1–8% of cases, agents undo correct patches, resulting in incorrect final solutions.

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.

8HF upvotes
0GitHub stars
0Citations (Semantic Scholar)
24.9Buzz score

Read on arXiv PDF Hugging Face discussion Code

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)