← All projectsGitHub
Digital twins & sim-to-real

How long can a sequential rollout test run, and what does capping it cost?

research/free-sprtcap

How long can a sequential rollout test run, and what does capping it cost? Exact: the SPRT's 99th percentile is 309 rollouts against a 79 mean (1% vs 5%; fixed test 181), 28% of runs exceed the fixed size at the midpoint rate; capping at the fixed size adds 34–38% to the error, a cap of 1.5 times it keeps the error at 0.053 to 0.057 for a mean within 2% of uncapped.

5 tests

What it found

Exact dynamic-programming study (no sampling) of the stopping-time distribution of Wald’s sequential test for certifying a failure rate at 5% error, and of adding a hard rollout cap that decides by the sign of the likelihood ratio. For 1% vs 5% (fixed test: 181 rollouts) the average is 79 but the 99th percentile is 309, and 28% of runs at the midpoint rate exceed the fixed size. Capping at the fixed size inflates the unacceptable-rate error to about 0.068; a cap of 1.5 times the fixed size brings it to 0.053–0.057 with the mean within 2% of the uncapped test. Four rate pairs, one truncation rule, iid rollouts matching reality; says nothing about the sim-to-real gap.

A figure from its own output

Figure produced by research/free-sprtcap: error_vs_cap
free-sprtcap/experiments/error_vs_cap.svg, written by the project's own experiment code.

Paper, code and results

More in Digital twins & sim-to-real

All 164 Digital twins & sim-to-real projects →

Other research topics

Proper scoring & elicitation28Effort & peer prediction9Verification games & slashing19Detection & tolerances14Markets as routers13Prediction-market design9Paying contributors8Decentralised training systems23Digital twins & sim-to-real164LLM chip design loops40Robot manufacturing loops53Ambient AI assistant46Self-replicating manufacturing34Simulation-first design64Engineered clothing45Task-specific AI accelerators40Algorithmic chip-design loops42Open-source purpose-built robots44The software-engineering loop43Adversarial human imitation41Open-source residential construction41Autonomous multi-angle capture34Sensing, imaging and 3D31Energy supply and dense energy storage39Robot societies among people31Agentic co-design of low-cost robots27Laundry-hanging robots25Machine learning on qualitative data23Robots on the building site27Civilizations & group psychology1History & human sciences1

Produced with AI assistance (Claude). Results are from the code in this repository and are simulated or stylised unless the abstract says otherwise; nothing here implies affiliation with or endorsement by any lab, researcher or company cited. MIT licensed.