They're paid to ship a feature, why would they spend extra time making something perfect? If it breaks they just fix it - and get paid doing it.
Not everyone writing code in a corporation is a Code Artesan who handcrafts every single character with thought and precision like an old Japanese craftsman. They just write code, it does about what it should and push a PR branch. Then you grab the next task from the corporate Jira project.
You tell humans to make code, they make code.
How do you check it's correct and does what it should?