I very often hear from developers at clients I work with that code they (not me) generate with AI is not of enough "quality". So I ask them what quality means. So far, I only get the most basic feedback: it should be in X style, pass Y linter, have N% coverage, have documentation... At the same time, most, if not all manually written repositories do not pass the newfound quality metrics that must apply to AI code to…
Those are things that AIs can check by themselves.
What AIs are lacking is common sense.
They have no problem to inline everything they do which makes the codebase unmaintainable for humans
If you tell them to refactor, you get useless abstractions, like functions that get called in random places with no sense of structure.