arXiv AI By Zerui Yang, Quan Xue, Miaomiao Dong, Chaorui Zhang, Xuanyu Zheng, Xiyuan Wang, Haolin Ruan, Xueyan Niu, Guangcheng Song, Weixi Zhang, Wei Han, Bo Bai

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

Read the original on arXiv AI →

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.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

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