Your robot passed 58 of 60 tests. Can you claim 90%?
Not yet. With 60 tries, the true success rate could be as low as 89.8%. howsure tells you what your robot test results actually prove, how many more tries you need, and when you can stop.
58 worked, 2 failed. A made-up example.
The blue band is where the true success rate could be: from 89.8% to 99.5%. The target line sits inside it, so these tests can't say yes or no.
Four questions it answers
- How sure can I be?
- 17 of 20 sounds like 85%, but the real rate could be anywhere from 64% to 95%.
range 17 20 - How many tries do I need?
- To claim 95% success, 59 tries in a row with no failures.
need 0.95 - Is the new checkpoint better?
- It compares two runs, episode by episode when the seeds match, and says whether the gap could just be chance.
compare 13 30 10 30 - Is it ready to ship?
- A one-page YES, NOT YET or NO against a target you set first, with rare failures and drift checked too.
ship results.csv --target 0.9
Try it
One Python file. Nothing to install.
git clone https://github.com/elanklatif-boop/howsure
cd howsure
python3 howsure.py compare 13 30 10 30
That runs a real comparison: two policies from the ArmnetBench SO-101 results, 13 of 30 against 10 of 30. If they were equally good, a gap this big would still show up 59.6% of the time.
It reads a CSV with one row per try, or a lerobot-eval output folder directly. Read the docs on GitHub
The ship report
One page you can print or send to someone who has to sign off. It names the data file's fingerprint and the exact command, so anyone can check it came from your data.
Already have test results?
Send me your eval logs, either a CSV or a lerobot-eval folder, and I'll send back a report on what's real and what's luck within 48 hours. Free while howsure is early.
What it can't tell you
- It treats every try as the same chance. A real arm warms up, wears and gets bumped. The drift check catches big changes, not slow ones.
- A success rate isn't a safety sign-off. It's evidence about one claim, under the conditions you tested.
- Failure reasons are only as good as whoever writes them down.