I have had good luck with a Howa 1500 and a CZ527 in .223, a Savage 110 in 25-06. The worst out of the box was a Remington 700 BDL in 7 mm mag.
Love my Ruger Precision rifle in 6.5 creed. I run a factory barrel and trigger, 1/2 MOA at 200, MOA at 1000 and made it to the mile.
I am defining your question in reference to my purchases and bone stock.
A Howa 1500 in 6.5 creedmoor for centerfire.
Rimfire is a CZ 455 FS.
What is your most accurate bolt rifle out of the box. And calibers of?