I think it's 70% quality control, 30% luck. I've had two 'identical' barrels from the same manufacturer and one shot 0.5 MOA, the other barely held 2 MOA. Same ammo, same setup. At a certain price point you're guaranteed quality, but mid-tier stuff is a lottery. That's why test-firing before you commit to a build is smart if possible