LLMs love to defensively wrap code instead of thinking holistically about the big picture. That creates a lot of bloat.
A human coder might OTOH follow the Boy Scout rule and clean up as they go.
A human coder might OTOH follow the Boy Scout rule and clean up as they go.