Sadly, it seems to be fairly common to have at least some AI slop code now. E.g. lemmy itself appears to be planning to do so too.
Lemmy may be heading down the path of LLMs - Leminal Space

Sadly, it seems like Lemmy is going to integrate LLM code going forward: https://github.com/LemmyNet/lemmy/issues/6385 [https://github.com/LemmyNet/lemmy/issues/6385] If you comment on the issue, please try to make sure it’s a productive and thoughtful comment and not pure hate brigading. Consider upvoting the issue to show community interest. Edit: perhaps I should also mention this one here as a similar discussion: https://github.com/sashiko-dev/sashiko/issues/31 [https://github.com/sashiko-dev/sashiko/issues/31] This one concerns the Linux kernel. I hope you’ll forgive me this slight tangent, but more eyes could benefit this one too.

I think you misrepresented it. Lemmy dev says it needs to be declared and AI is useful for some operations but it must pass review.

I don’t use AI, and think the code is crap, but assisted is different when in skilled hands.

The only issue here is your absolute no vs lemmy’s pragmatic no unless used as a tool in small instances. There are better hills to die on than this and you’ll just lose support for whatever objective you have.

There are lots of legal problems with accepting any AI generated code, regardless of whether it’s bad quality or not. For one, the AI tends to reproduce copyrighted code without a proper license:

youtu.be/xvuiSgXfqc4?t=24

Another is that AI generated code is not copyrightable, so even if it’s not copying someone else’s code, it can’t be licensed under an open source license.

AI generated Code or Rewrites violate FOSS-Licences. Talk at FOSS Backstage Berlin

YouTube