So, a strange thing happens after this hidden variable saga is shot down. Neither quantum nor classical mechanics actually predict what Nature does. They both predict a continuous negative cosine curve with no hidden variable but that is not what Nature does in the experiments. And there doesn't seem to be a local theory of any kind that predicts what Nature does, yet. Perhaps that theory requires a so-called hidden variable. But that would mean the variable is hidden from both.
.