← Ziding Zhang

At a true rate near 0.5%, optstop stopped 3 of 8 test runs early, and all three read high

Eight planted test runs of the optstop early-stopping package, default settings. Three stopped early, at 2.3 to 3.2 times the true success rate. Six of eight intervals held the truth. Our own pre-set rule calls this mixed.

November 13, 2026 · Research note · What is not yet established


Some tools stop an AI evaluation early, once the score looks precise enough, to save compute. We tested one of them, optstop, on made-up data where we knew the true success rate: about 0.5%. In 3 of 8 runs it stopped early, and in all three the success rate seen at the stop was more than twice the truth. The other five runs used every trial and were fine. This is a working note, and by the rule we set in advance the verdict is mixed.

How to read it

What held: with a threshold above the true rate, early stops happen, and they pick out the runs that got lucky. Their numbers read high, and we could predict which runs they would be.

What did not hold: it was not most runs. Five of eight ran to the end and gave intervals that held the truth. An earlier version of this check had only the runs that finished quickly, which are the early stops, and so looked worse than the full set does.

This is not a bug report. The package does what its documentation describes, and the documentation warns that the trigger is a matter of chance. The practical point is for readers of results. A score from a run that stopped at the default threshold answers “did the rare event show up?” better than “how rare is it?”. If the true rate is below the threshold, the early-stopped number will tend to sit above it.

This follows an earlier planted-data check of the same tool: Stopping rare-event evaluations.

Agent context: sources, method and working notes

The tool

optstop is an open-source package from the UK AI Security Institute (MIT licence). It is described in Knowing When to Stop: Bayesian Optimal Stopping for LLM Evaluations by Toby D. Pilditch (arXiv 2608.14425v1, 14 August 2026, CC BY 4.0). We ran version 0.5.0, pinned at commit 1fa679ea8208.

An evaluation asks a model the same questions many times and counts successes. Each attempt is a trial. optstop watches the count as trials come in. It reports a 97% credible interval: a range that, by the tool’s own model, holds the true success rate with 97% probability. When that range is narrow enough, it stops.

For very rare successes the package adds a gate. While the success rate seen so far is below a threshold (1% by default), it will not stop. The documentation presents this as a detection trigger: keep sampling until the rare event shows up, then stop. It says the crossing is a matter of chance, and it advises setting the threshold to the rate you care about.

What we did

We made eight synthetic evaluations, each with 200 items and 10 trials per item, so 2,000 trials at most. Every item got a planted success rate between 0 and 1%, so each evaluation has a known true rate near 0.5%. No model was called. The outcomes are coin flips with known odds.

We ran the package as shipped, with its defaults: a 97% interval, a width target of 5 percentage points, and the 1% threshold. So the threshold sat at about twice the true rate. That is the default, not the documentation’s advice.

The rule for reading the result was written on 9 November, before most of the runs existed. A run is “early” if it stops before 2,000 trials. The worry holds if at least half the runs stop early and their intervals sit, on average, at twice the truth or more. It is dead if at most one run stops early. Anything else is mixed.

Two runs finished on 9 November. Before the other six ran, we wrote down the exact trial at which each would stop. The prediction came from our own replay: a separate program that takes the items in the package’s order and applies our own copy of the package’s stopping rule, without running the package.

Result

RunTrials usedSuccesses seenPlanted true rateReported 97% intervalHolds the truthPredicted stop
12,000110.508%0.283% to 1.082%yesalready run
253060.502%0.524% to 2.708%no530
32,000120.507%0.318% to 1.146%yes2,000
417030.546%0.669% to 5.469%no170
515020.494%0.439% to 5.273%yesalready run
62,000100.523%0.261% to 1.046%yes2,000
72,00090.503%0.191% to 0.968%yes2,000
82,00050.483%0.082% to 0.660%yes2,000

Percentages are rounded to three decimals.

Early stops: 3 of 8. Runs 2, 4 and 5 stopped after 530, 170 and 150 trials. Three is more than one and fewer than half, so the rule says mixed.

The early stops read high. At the stop, the success rate seen in those three runs was 2.25, 3.23 and 2.70 times the planted rate (2.73 on average). The middle of each reported interval was 3.22, 5.62 and 5.78 times the planted rate (4.87 on average). That is what the gate does when the threshold is above the true rate: a run can only stop after a lucky stretch has pushed its count over 1%.

Coverage: 6 of 8. Six intervals held the planted true rate. The two misses, runs 2 and 4, are both early stops, and both intervals lie wholly above the truth. All five runs that used every trial held it.

Exact replay: 6 of 6. All six predictions were right to the trial: 530, 170, and four runs to the full 2,000. So in these runs the stopping point follows from the order of the outcomes and the package’s rule. A simpler shortcut, “stop at the first check from trial 150 where the seen rate is at least 1%”, got 5 of 6. It said 150 for run 4, which stopped at 170.

What is not verified

  • Eight runs are few. They are eight fixed synthetic datasets, one package version and one group of settings. 3 of 8 and 6 of 8 describe these runs. They are not rates for the package in general.
  • The sampler was not checked. The package fits its model by random sampling. Six of the eight run logs contain divergence warnings, a sign the sampler may have struggled. Clean exits and correct arithmetic do not show that it converged, and nobody refitted the intervals independently. They are quoted as the package printed them.
  • The midpoint is ours. The package reports an interval, not a single estimate. “Middle of the interval” is a number we derived. Near zero these intervals are lopsided, so the midpoint overstates more than the seen rate does.
  • A credible interval is not a coverage promise. A 97% Bayesian interval does not have to hold the truth in 97% of repeated runs. 6 of 8 is a count, not a failed guarantee.
  • Run 5 is older. Its result comes from the first batch on 9 November. That batch hit a time limit, and we cannot show from the records that it ended cleanly or exactly which build produced it. The other seven have full records.
  • The replay explains these runs only. It matched six stopping points. It does not give an early-stop rate. Our own approximation suggests about a third at this rate, but that is our program, not the package.
  • The rule’s date rests on its file. The rule and the first result were saved together, so the history cannot prove the rule came first for that one. It was fixed four days before the six later runs. The six predictions were saved before those runs.
  • Synthetic items. Real benchmarks have items that differ in ways these do not. Only yes-or-no scoring was tested.

Independent recompute

A fresh Codex agent got the raw output files, the rule and the predictions, not the first agent’s summaries or code. It rebuilt all eight planted datasets from their seeds, got the same true rates and success counts, and recomputed every number above. It found no errors. This checks the records and the arithmetic. It did not rerun the package.

Corrections with a row or a calculation are welcome at @ziding. Part of the research notebook. Earlier note, written when only two of the eight runs had finished: Stopping rare-event evaluations.

Changes
  • November 17, 2026: Shortened to the result and what it means; method, verification and limits moved under Agent context.

Have an answer, a counterexample, or a story? See Talk to me for open questions and live trials.

Credits: Ziding Zhang. Experiments, predictions and independent recompute by Claude and Codex agents under my direction; this note drafted by a Claude agent.