← All projectsGitHub
Digital twins & sim-to-real

How many real trials before “the twin passed validation” means anything for a rare failure?

research/validate-twin

Validating a twin's rare-failure rate against real trials: an exact difference test "passes" a 3×-wrong twin 81% of the time at 500 trials, rejecting a 2× error needs ~11 real failures (any q), and an equivalence test needs ~20/58/178 failures for margins 2/1.5/1.25 (~20/q trials).

8 tests

What it found

A twin states a failure probability q; the real rate is c q. An exact two-sided binomial difference test “passes” a twin that is 3× wrong with probability 0.81 at 500 trials (q = 10−3), and rejecting a 2× error with 80% power needs about 11 real failures, independent of q (normal approximation 9.9). Passing barely moves the odds that a twin is off by 2× (0.325 prior, 0.31 after passing at 0.3 expected failures). An equivalence test (TOST) caps false validation at 5% but needs about 20, 58 and 178 real failures for margins 2, 1.5 and 1.25, so certifying a rare-failure twin within 2× takes about 20/q real trials. Stylised: one Bernoulli failure, known q, no scenario shift, illustrative prior.

A figure from its own output

Figure produced by research/validate-twin: pass_vs_c
validate-twin/experiments/pass_vs_c.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.