I'm yet to see perfect code from a human or ai. Most of the people I work with that want everything to be in a perfect state typically get way less done. To your point, sometimes we are just mechanics and that's okay.