I could take your comment and use it as a prompt and depending on the model quality it will have been an ex-bug
That is why the term "AI slop" exists. Not because AI cannot produce working code - we all know it can - but because it breeds a low-effort process where people just slap code into production with no regard to quality.