A junior would see the solution works and create a PR. A senior knows it works, why it works and what can be improved, then they open a PR.
AI is great at a first draft of anything, code, images, text, but the real skill is turning that first draft into something good.