Egregoros

Signal feed

Timeline

Post

Remote status

Context

11
[CW]

Content warning

genai, policy, includes template

Show

i really don't think projects need a super detailed genai policy, just something like:

This project condemns generative models (also referred to as "AI" or "GenAI"), please do not use them for any contributions or communication. Contributions where usage of generative models is clear will result in rejection of the contribution and possibly a ban. This includes usage of generative models for code, images, video, audio, documentation, writing and everything else. Exceptions may be made for accessibility, but these exceptions will always be very limited.

For reasons why this project rejects generative models, have a look at
ai-sucks-actually.fyi or justsayno.ai.
this is more than enough. feel free to copy-paste it if you wish to use it

@lanodan @lumi I don't know, I don't think clankers tend to write good code but I think a blanket ban on clanker code is like the politics-based bans, like, the thing that matters is code quality. Because you can get clanker-spammed, a general, like, "Clanker-generated patches may be completely ignored" is reasonable.
@p @lumi Well LLM code is going to be statistically average at best, and at very least 90% of code is pure crap nobody wants to read (and so nobody reads).
But it's far from the only problem, like AT&T Unix code was (and quite few times still is) great, but nobody would touch it for anything legal back in the early 90's and even now it's still a bit unclear depending on the versions.

Plus outside of purely code, since then there's also the absolute spam of completely bogus security reports, same breed as people throwing a full set of static analyzers and fuzzers without any kind of thoughts in their brains, except now it's with stuff that doesn't even qualifies as tools.
@lanodan @lumi

> LLM code is going to be statistically average at best, and at very least 90% of code is pure crap nobody wants to read

Sure, yes. Reasonable.

> but nobody would touch it for anything legal back in the early 90's

Right, yeah. :bwksmug: on FSE comes from a photo of bwk holding up his copy of Lion's Commentary when AT&T finally announced that they were going to stop suing people for using that book, and there was the whole SCO thing. AT&T got litigious as soon as they possibly could.

(I think copyright assignment mainly makes extraction/relicensing easier.)

> there's also the absolute spam of completely bogus security reports

This is real, yeah, but people that are putting clankers to your codebase are, by their nature, not paying attention to contribution guidelines; I don't think a rule against clanker code stops the spam, it just gives you a thing to point to when you ignore the spam, and you don't really need that. You can just put something about ignoring clanker-submissions and that's kind of a hint to people that are people to avoid looking like clankers.
@p @lumi Oh they're not really guidelines in my case, it's there so bans can be made immediately and be justified, and so others know the codebase will be kept clean.
Then like maybe for the extremely rare few that may occasionally use LLMs and still have reading comprehension, that they shouldn't direct it my way.

It's why there's nothing close to a "please", and more intended to be like a bar where there's a "drug dealers will be booted out" sign.
@lanodan @p @lumi
>>And 9front's even more elegant:
>3. Submitted code is not computer-generated

Technically that bans also completely mundane stuff like auto-generated headers from things like device trees/spec sheet documentation or m4 macro expansions. Of course it will never be enforced that way.

>and at very least 90% of code is pure crap nobody wants to read (and so nobody reads).

Things got way better in the last year or so with new-ish models. If you take the time to set up a workflow for the new models, the results are still somewhat easy to distinguish from non-clanker contributions, but they aren't bad either and usually require some smaller fixups and removal of some overly defensive checks. If done by someone that knows stuff at least. And even with the "chat in a browser window" way, you can get decent-ish results if you keep things small.

>Plus outside of purely code, since then there's also the absolute spam of completely bogus security reports

On the other hand you also have security reports with really high severity that were found within a day or two of letting a model loose on a codebase. The recent nginx CVEs were all found by LLMs, most of the recent Linux LPEs as well. The way I see it is the same as static analyzers and fuzzers, a useful tool in the hands of someone knowing how to handle it.