Musgrave lays out the “miracle” argument for scientific realism:
Musgrave, Alan. 2006–2007. “The ‘Miracle Argument’ For Scientific Realism,” The Rutherford Journal 2First, Musgrave sets out a Popperian version of inference to the best explanation, as the form of reasoning we must use to explain why the natural sciences are so successful.
The inference that it is rational to accept that there is an objective reality with objective truths follows via inference to the best explanation from the overwhelming reality that some scientific theories are extremely successful at explaining the world and doing things while some are worthless or almost completely worthless.
In essence, there if there wasn’t an objective reality with objective truths, the astonishing success of science would be (bizarrely) wholly accidental or some kind of miracle.