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.

define slop
AI slop - Wikipedia

thats a real definition but the person i replied to, wasnt using it in that way.

It’s easier to troll of you wait until your account is over a month old ;)

i am not trolling. it was a stupid comment

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.

How would such limited use fix the plagiarism? Here’s a lawyer demo’ing the issue: github.com/mastodon/mastodon/issues/38072#issueco…

This isn’t a legal advice. Check out the link, make your own picture.

Consider not allowing LLM and AI contributions · Issue #38072 · mastodon/mastodon

Pitch You may want to not allow LLM and gen AI contributions, including for auto completion use, and mention it here: https://github.com/mastodon/mastodon/blob/main/CONTRIBUTING.md or here: https:/...

GitHub

I watched. He used a prompt with exact wording from an example and obviously it’s the most logical continuation, so AI would generated it. We know how they’re trained. But how many open source prompts will start with exact code and comment? Unlikely to ever happen in real world. So unlikely to he direct infringement. Someone could easily sue the AI companies with these examples to prove it infringes copywrite work, but then govs are going to protect them so it won’t happen.

It’s unlikely to get identical output without intention, but it’ll also take the infringed actively taking steps to sue that case. Stastical likelihood of this happening in real world is low.

I’m with you in wanting to watch the AI industry collapse. But I’m unfortunately in a minority without the lobbying power, so it won’t happen.

So function isEven() is a prompt with exact wording from an example, too?

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