Blog / Research
How many times should you run a robot safety test?
One passing run proves little. In our sweep 20 of 141 robot tests passed their first run and failed a later one. How many runs are enough.
The Digital Twin Security teamPublished Updated 2 min read
Short answer: More than once, and many times for any test near a limit. In our last sweep 20 of 141 tests passed their first run and failed a later one, and one of them failed for the first time on run 97.
Book a demoWhy does the same test give different results?
No two days on the same route are the same. The wind shifts and a person steps out a second later. A simulated test should shift in the same way, so each of our runs moves the conditions and the timing a little.
A system that is far inside its limits passes every time. One that is near a limit passes on some runs and fails on others.
What did 100 runs of each test show?
We ran 141 tests 100 times each on our own test systems. 50 tests failed every run and 50 never failed. The other 41 passed some runs and failed others.
20 tests passed their first run and failed a later one. In "Survey launched on a 45% charged battery" the system passed 96 runs before its first failure, on run 97.
How many runs are enough?
It depends on how rare a failure you need to find. A failure that happens once in 100 runs is missed by ten runs about nine times in ten. A hundred runs still miss it about one time in three.
So the number follows from the risk. For a failure that could hurt someone, a team should want to find it even when it is rare, and that takes hundreds of runs. Simulation makes that cheap.
Frequently asked questions
Is a single passing test run meaningful?
It shows the system can pass. Many runs show how often it does.
Why not make every run identical?
Identical runs give the same answer every time, which hides the failures that depend on timing.
Can a failed run be repeated exactly?
Yes. Each of our runs is set by a number, so the same number replays the same run.