That said, while I'm no fan of slop I don't feel like the constant accusations of AI we now see bandied about are constructive. The general vibe at this point feels like name calling or even a witch hunt.
Bad or lazy writing should be called out regardless of how it was produced. Same for code. I'd say that "#define private public" stands on its own as case in point; how it was arrived at seems almost entirely irrelevant.