Bayesianism doesn't seem to discriminate against ad hoc hypotheses.
A simple example illustrates this.
Let's assume a person tosses a coin 20 straight times and it lands on heads. They, ad hoc, start postulating whether or not their mind somehow controlled that coin to land on heads. The probability of it landing on heads 20 straight times given the coin can be controlled by their mind to land on heads is literally 1. Most would look at the prior probability of minds being able to control coins being very low and conclude it probably wasn't controlled by their mind (or would at least assume it's rigged).
Note, however, the other scenario where they thought of the hypothesis before they tossed the coin. Even now, if they toss it straight heads 20 times, the probability of it landing on heads 20 straight times given their mind controlled it to land on heads is still 1. And the prior probability of minds controlling coins would still be the same.
According to Bayes theorem, those hypotheses would give you an equivalent probability of the mind-controlling hypothesis given the evidence, even though the former is clearly ad hoc.
This leads to the conclusion that either Bayesianism is wrong in not discriminating against ad hoc hypotheses, or that ad hoc hypotheses aren't really "bad" in explaining things. What are your thoughts?