Synthetic fixtures computed locally. No model, agent, payment system or production service is contacted.
Experiment workspace
Decision trace
The question this experiment answers
Jenya's team runs a coding agent on the returns scripts at Belgavi's Book Store. Many runs reach a correct patch early and keep working: verifying, exploring and sometimes editing again, which can break the fix. The agent cannot see the hidden acceptance tests, only its own tests. Which stopping rule, acting only on that evidence, saves steps without losing runs that the agent would have solved, and does submitting the last patch that passed an own test help?
Change one assumption at a time
Start from two_quiet_passes and switch the rule to the agent's own stop, then to the first passing own test: steps saved rise from about a quarter to almost half, and solved runs start to be lost. Raise the own-test false-pass rate and watch the first-pass rule lose more. Return to the agent's stop and turn on keep last passing snapshot: no steps are saved, but most runs that broke a correct patch are recovered. Raise the edit share after the fix to see more broken runs, and lower the step budget to see a cap cut the lag.
Expected outcomes
With 400 runs and seed 11: 221 runs reach a correct patch, 69.7 percent of them at the first edit; the agent's own stop solves 208, the median termination lag is 20 steps and the median normalized lag is 55 percent; 13 runs reach a correct patch and end broken. Two quiet passes solve 218, save 24.2 percent of steps and lose none. The first passing own test solves 206, saves 46.2 percent and loses 11; with a 0.35 false-pass rate it loses 37. Keeping the last passing snapshot at the agent's stop solves 214. With edit share 0.2 and break probability 0.3, 78 runs end broken.
Read the table and the trace
The metrics describe the population at the agent's own stop (runs reaching a correct patch, first edit already correct, medians of first correct step, lag and normalized lag, runs that ended broken) and then the chosen rule: solved runs, steps saved, solved runs lost and unsolved runs rescued. The table compares all three rules on the same runs with the same snapshot setting. The trace shows each step of the first run that reaches a correct patch: kind, hidden tests, own test, and where the first correct patch and the rule's stop fall.
Reset and export
Reset inputs restores the selected preset and recomputes. Export JSON downloads the inputs, the rule comparison, every trace step, the metrics and the stated limits.
Limits
Synthetic trajectories whose shape loosely follows arXiv 2611.14960; the numbers are not the paper's measurements and no model is called. Own tests here are independent coin flips with a fixed sensitivity and false-pass rate, while real own tests fail in correlated ways. Steps stand in for cost, and growth of context per step is not modelled.