Identical Runs, Different Results: Benchmarking AI Coding Agents on Open-Weight Models
Abstract
Repeated runs of the same coding agent are known to give different benchmark scores. We ask what that variation means for a team running an agent on its own task, by intensive replication on one machine-learning task: an agent improves the training code of an XGBoost classifier for airline delays, and a holdout it never sees scores the result. Across 584 runs, we compare six agents on six open-weight model endpoints, run six agent-model pairings 52 times each under fixed settings, and repeat three of them on a larger model from the same family. Identical runs of one pairing varied more than the pairings differed from one another, so comparisons of a few runs ranked them unreliably; resolving the agent differences we observed would take tens to more than a hundred runs of each. Runs on the larger model scored clearly higher, but by less than one run-to-run standard deviation, and the gap was more than twice as large with one agent as with the others. Fewer than one run in twenty broke the task's data rules, but those runs held the highest scores. Rejecting those runs first and keeping the best compliant result among a few attempts reliably improved the delivered model, even though a few runs could not rank the agents. On flights from a later year, the delivered models kept only a third of their gain over the starting code. At list prices, cost differed more than twentyfold between two agents on the same model, mostly through the prompt cache. Agents and models should be evaluated as pairings, over repeated attempts, with compliance reported beside quality. Data, code and every delivered program: https://github.com/earino/identical-runs-different-results
Create a lesson
Metadata
- Categories
- cs.SE, cs.LG
- Comments
- 22 pages, 6 figures, 18 tables. Data and code: https://github.com/earino/identical-runs-different-results
Related papers
How Do Coding Agents Optimize Software and Report Performance Validation? A Large-Scale Empirical Study of Open-Source Pull Requests
Shared title terminologycs.SEHuiyun Peng, Ricardo Calvo, Kelechi G. Kalu et al.
WebUIProof: Benchmarking WebUI Code Generators with UI-Agent Execution Harness
Shared title terminologycs.SEYun-Yun Tsai, Yuning Mao, Shiqi Wang et al.
WitnessGym: Benchmarking Coding Agents on the Construction of Bug Witnesses
Shared title terminologycs.SEHaomin Qi, Xiangzhe Xu, Yiming Huang et al.
Compact Documentation for Coding Agents: A Benchmark, an Optimizer, and Why It Does Not Transfer
Shared title terminologycs.SEMd Shohel Arman, Igor Molybog
Evaluating Code Slop in Long-Horizon Coding Agents
Shared title terminologycs.SEShubham Gandhi, Shyam Agarwal, Nachiket Kotalwar et al.
ReleaseSynth: Scaling Data from Software Evolution for Long-Horizon Coding Agents
Shared title terminologycs.SEMan Ho Lam, Chaozheng Wang, Zongjie Li et al.