Skip to main content
Every number the tool prints comes from the open statistics library, and the library is held to reference values computed independently with SciPy: the test vectors. In this section “trial” means a lap, in the statistical sense.

A rate and its interval

A pass rate is the share of laps that passed. Its interval is the range of true rates the laps are consistent with, at 95% confidence by default. The tool shows the Wilson score interval; the library also has the Clopper-Pearson and Jeffreys intervals.

Laps of one case are not independent

An agent tends to pass or fail the same case again. Treating five laps of one case as five independent laps would make the interval too narrow. The library measures how alike the laps of one case are (their intraclass correlation), shrinks n to the effective n (how many independent laps the result is worth), and computes the Wilson interval at that size. With fewer than five cases the result says the interval describes these cases, not the task.

Weighting by strata

A task’s strata carry deployment weights. The library reweights each stratum’s rate by its weight, so the rate estimates the work as it arrives, and its interval uses an effective n matched to the reweighted variance. A stratum with no laps is reported as uncovered, with its rate unknown between 0 and 1.

pass^k

The share of cases passed k times in a row. With enough cases it has an interval; with few, the tool says it has none.

Zero failures

When no lap failed, the rate is not 100%: the upper bound of the failure rate is what the laps support. “To claim below 1% you need N more laps with no failure” is that bound turned around.

Comparing two runs

The difference in pass rate between two runs is computed on the cases both ran, as a paired difference with its interval. A difference whose interval includes zero is not a difference the laps support.