Cricket Manager
Decision 5 of 13

Treat determinism as sacred in the engine

One decision from Cricket Manager, which asks: How do you make a simulated cricketer behave like the real one — and how would you know if you had failed?


The ball-by-ball engine is fully deterministic, and the rules protecting that are absolute: one seeded source of randomness, nothing random outside it, and no I/O inside the engine at all.

Guarding it are golden-master tests pinned to reproducible scorecards. Any change that shifts one is a behavioural change, whether or not it was meant to be. With every tilt set to zero, aggregate output reproduces the data’s base rates to within ±0.2 percentage points, which checks the machinery and says nothing about whether the cricket is realistic. That was Decision 10’s job.

Your opinion

Would you have decided this differently?

Where do you stand?

What gets published. I read every opinion and publish substantive ones, including those that disagree with me, as a scroll on this page. I may add a reply. I leave out spam, abuse and anything off-topic, so please include only what you’d be happy to see in public.

Where it goes. I keep your opinion, your stance and, if you allow it, your name in a database run by Neon. I don’t ask for your email or store your IP address, but Netlify, which hosts this site, may log it when it handles your request. To have yours removed, email pkrishna@vaulthai.health. A published opinion is removed from the site, though it can remain in my site’s version history.

Next