I guess, they have some form of harness engineering optimized for Claude + they likely use more advanced models than those available to us.
And yes, they likely accept that not every line of code is clean.
But honestly (and unfortunately), average source code is nothing stellar either. I do SW dev for 30 years. And most projects I have seen were somewhat ugly.