Remix.run Logo
aDyslecticCrow 7 hours ago

Whenever working with this kind of probabilities, i always throw in a python rand() as a comparison. It sanity checks the calculation of threshold with very low rist of miscalculation.

Of course calculating the threshold properly needs to be done aswell... but a rand() is so quick and simple to add as a napkin check.