You implicitly have hypotheses “this random number generator is broken always returns 0” and “this random number generator works fine.” You start off being pretty sure the latter is true. Your shift to the former upon seeing 0 is where the surprise comes from.
Right, and one thing to note is that given basic programming assumptions, a return of all zeros is a much more likely failure mode of a random number generator than say always returning 72 or something similar.
You implicitly have hypotheses “this random number generator is broken always returns 0” and “this random number generator works fine.” You start off being pretty sure the latter is true. Your shift to the former upon seeing 0 is where the surprise comes from.
Right, and one thing to note is that given basic programming assumptions, a return of all zeros is a much more likely failure mode of a random number generator than say always returning 72 or something similar.