(I'm not sure where ChatGPT is getting that you "lose when predicting incorrectly. And weirdly, that's in the initial form of the expected value calculation but not in the (correct) final result for predicting heads, which is