arXiv AI

Done, But Still Working: Anytime Evaluation of When Coding Agents Should Stop

The paper investigates whether coding agents should stop working once their own tests pass, using anytime evaluation to replay recorded runs and score intermediate patches with hidden tests. Across about 6,000 runs of eight open models on SWE‑bench, the authors find that the benefit of continued work varies widely—from less than 1% to 57%—and that a simple rule stopping after a patch passes twice can save 23% of effort, though it does not guarantee non‑inferior quality. Fine‑tuning agents to imitate this rule can reduce effort by 30%, but the impact on quality remains uncertain.

arXiv AI
Nov 14

Termination Lag: Coding Agents Solve Early but Stop Late

The study examines "termination lag," the period between a coding agent’s first correct patch and the end of its run, across five models, two frameworks, and three SWE‑bench datasets. It finds that 38–82% of successful runs produce a correct solution on the first edit, yet agents often continue working afterward, with post‑solution steps making up 35–60% of the run. In most cases the extra effort is spent verifying and exploring the repository, but in 1–8% of runs this leads to the agent undoing its correct patch and ending with an incorrect solution.

By Musa Cim, Burak Topcu, Mahmut Taylan Kandemir
arXiv AI
Oct 9

TestJack: Should you trust the results in coding benchmarks? Agentic Coding Benchmarks Auditing via Evaluator Evolution

TestJack is a scalable framework that audits large language model (LLM) coding agents by generating new tests for each trial, focusing on prompt requirements that may be violated. It keeps only the tests passed by the ground‑truth patch and re‑examines failures, providing replayable evidence for each confirmed error. In experiments across six model backends and five benchmarks, TestJack found that 34.4% of trials deemed correct actually violated task requirements, reducing the overall resolution rate from 50.6% to 33.2%.

By Shuangjie Yao, Hao Wang, Koushik Sen, Simin Chen, Baishakhi Ray, Dawn Song
arXiv AI
Sep 18

Chronicle: Cut-Point Replay for Regression Testing of LLM Agents

Chronicle introduces a method called cut‑point replay to make regression testing of large language model (LLM) agents reproducible. It records an agent’s run at non‑deterministic boundaries as immutable envelopes and then replays selected boundaries while executing the rest live, enabling continuous‑integration tests that detect faulty code changes. Benchmarks show minimal overhead, perfect bit‑stability, and effective detection of unsafe actions in a mutation study.

By Tisha Chawla, Susheem Koul
arXiv AI
Oct 26

SWE-Shift: Evaluating Coding Agents in Evolving Workspaces

SWE-Shift is a new benchmark that tests coding agents in environments where tasks and workspaces can change mid-execution. It presents 120 scenarios across 12 change families, each evaluated at nine intervention points, comparing a Clean continuation (no change) with a Shifted continuation (task-relevant update). The benchmark shows that all evaluated agents perform better on Clean than on Shifted, with significant drops in success rates and zero paired success for certain change types.

By Victor Shea-Jay Huang, Rongqing Li, Zhangyue Yin, Kelong Mao, Yaqi Zhao, Xinyuan Wang, Yao Yin, Lirui Luo, Renrui Zhang, Hongsheng Li
arXiv AI
Oct 23

PAUSE: Search-Free Steering of Coding Agents Before Their First Source-Code Edit

PAUSE is a steering framework for coding agents that intervenes once before the agent’s first source‑code edit, eliminating the need for learned monitors, checkpoint searches, or extra model calls. By having a Planner generate a repair plan from the task and pre‑edit transcript, the same agent can resume execution with this plan, preserving context and workspace. Experiments on SWE‑bench Verified and Multilingual show that PAUSE improves resolution rates by up to 16.8% online and recovers 35.4% of failed tasks offline, while reducing Executor token usage by 33‑41% compared to restarts.

By Viral Patel, Boyin Tan, Jason Xue, Youcheng Sun
Hugging Face Trending Papers
Sep 17

Chronicle: Cut-Point Replay for Regression Testing of LLM Agents

Chronicle introduces a method called cut‑point replay to make regression testing of large language model (LLM) agents reproducible. It records an agent run at non‑deterministic boundaries as immutable envelopes and replays selected boundaries while executing the rest live, turning recorded failures into continuous‑integration tests. Benchmarks show minimal overhead, bit‑stable full replay, and effective detection of faulty code changes in a mutation study.

arXiv AI
Oct 26

Knowing When to Stop: The Evidence-Action Gap in Coding Agents

The paper introduces the evidence-action gap, where coding agents persist in tasks even when completion is impossible, despite having sufficient evidence that outside help is needed. To quantify this, the authors present ImpasseBench, a benchmark that injects realistic blockers into repair tasks and marks the step at which evidence becomes sufficient. Across eight models and 19,371 trajectories, they find that many agents still exhaust their budget or make unsafe requests after the evidence threshold, but an escalation tool and external monitor can significantly reduce these failures.

By Tianyu Chen, Xinran Zhao, Vijay Viswanathan, Shoubin Yu, Mingyuan Zhou, Tongshuang Wu
arXiv AI
Nov 14

Audit the Scaffold, Not the Checkpoint: A Stationarity Dichotomy for Recursive Self-Improvement in Agentic Coding

The paper argues that for AI coding agents, auditing should focus on the scaffold—tools, tests, and task breakdown—rather than just the model itself. It proposes that an agent’s ability to improve depends on expanding this scaffold, not merely retraining the model, and presents descriptive evidence from coding benchmarks and development sessions showing diminishing returns with repeated revisions. The authors suggest that a frozen model imposes a ceiling, while a mutable scaffold can allow continued growth. "whyItMatters":"The study highlights that current AI self‑improvement practices may overlook critical factors in the surrounding software ecosystem, potentially limiting the agents’ long‑term performance."

By Sebastian Bobadilla-Suarez, Bob Suh, Ryan Fortin