Exactly that. LLMs generate a lot of simple and dumb code fast. Then you need to refactor it and you can't because LLMs are still very bad at that. They can only refactor locally with a very limited scope, not globally.
Good luck to anyone having to maintain legacy LLM-generated codebases in the future, I won't.