@bagder Imagine you did an inspection of a home and saw many of the nails pounded in crookedly or bent over. Many of them miss their mark and the support plates are not properly anchored. Does it matter if they used a hammer or a nail gun? Either way, it is the fault of the carpenter, not the hammer.
The problem you’re experiencing is that AI allows people who have no business trying to submit patches to do so. That makes garbage for you. Even people who might be able to create a patch without AI are rushing and often creating trash for you.
You are an engineer and you did not sign up to work in trash picking at a recycling center. I do not blame you for associating AI-generated patches with slop because the vast majority of them are. That doesn’t mean the models aren’t capable of generating good code. It means that they have been poorly supervised and not reviewed.