My colleague, David, had an interesting problem:
For example, if an error should occur 33% of the time, it should be predictable like:
ERROR, ok, ok, ERROR, ok, ok, ...
Or at 50% error rate:
ERROR, ok, ERROR, ok, ...“
Pis the probability of the event (e.g. I/O error) then:
event?(t) = p(t) < P.
Pseudo-random numbers are predictable if you know the seed."