SecondSourceJudgment rebuilt from primary sources

This week · preprint, arXiv 2610.35971

Study finds mid-run coding-agent failure unpredictable

A study of 147,002 coding-agent trajectories finds that 20,000 tokens into a run, whether the attempt will fail is no more predictable than a coin flip, and in 216 of 224 configurations running to the end solved more problems with fewer tokens than restarting midway. According to the paper's abstract, authors Srinivasan, Li, Menzies and Assunção analyzed 32,406 attempts. Stopping a coding agent's run that looks bad and restarting it, to save compute, may cost more than letting it finish. The authors use AUC to measure whether, partway through, it is possible to tell which attempts at the same problem will fail, where 0.5 equals guessing; at 20,000 tokens, the within-problem AUC was 0.50 (range 0.48 to 0.51). A learned rule for when to restart solved only 1.98 percentage points more than random restarts, and the gain came mainly from not wasting restarts on easy problems. Across four settings with a 75,000-token cap, 216 of 224 configurations had a higher solve rate and lower average token use when runs continued without interruption. The abstract doesn't say which models or problem sets were used (arXiv 2610.35971). How we checked →

Concept illustration: two desks stand side by side in front of a window showing a city skyline, with a pale pink circle at upper right; on each desk a laptop whose screen shows a speech bubble feeds out a sheet of paper lettered TOKENS. On the left, a hand in a dark suit sleeve holds red scissors and cuts the paper, and cut strips lie in a heap on the floor; on the right, the paper runs uncut off the desk and along the floor, and a pair of red scissors lies on the desk beside the laptop.

Source and checks

This item ran in the brief of Oct 29, 2026, alongside 16 other items. How we checked it, the quote checks and what was still missing that day are on that issue's How we checked page.

Cite this item

SecondSource (2026). "Study finds mid-run coding-agent failure unpredictable." https://secondsource.io/en/research/2026-10-29-3/. Accessed access date.