I vaguely recall a definition of a pseudorandom generator from cryptography. My rephrasing here:
No adversary can (with non negligible probability) predict the next bit of a uniformly (pseudo)random sequence of bits with accuracy substantially greater than 50%
I define two number generators as follows:
A: I generate 100 bits by flipping a fair coin 100 times
B: I generate 100 bits by writing 50 0's and 50 1's on the back of 100 cards, then I shuffle the cards together perfectly, and report the numbers on the back of each card.
Certainly it is easy for an adversary to guess the 100th bit of the B so long as it can see the previous 99 bits. But what if the adversary must predict all 100 bits simultaneously?
If the adversary must guess 100 bits at a time, what is the probability they correctly guess 60 or more of the bits?
For A: I believe this can be determined by the binomial distribution. For B: How do I determine this? Is this the hypergeometric distribution?
(I'm trying to determine a proper null distribution for a classifier that predicts X% of a class balanced test set if the input data is completely irrelevant to the classification)
Clarification, for my exact use case, the adversary is unconstrained in their guesses, they may guess all 0's or all 1's if they so choose.
I believe they must also make all of their 100 guesses individually and independently, which may reduce their predictive ability back to case A, but I'm curious if they can somehow do better on B.