←back to thread

490 points todsacerdoti | 9 comments | | HN request time: 0.428s | source | bottom
1. teruakohatu ◴[] No.44382812[source]
So essentially it’s “let us cover ourselves by saying it’s not allowed” and in practice that means not allowing code that a human thinks is AI generated code.

Universities have this issue too, despite many offering students and staff Grammarly (Gen AI) while also trying to ban Gen AI.

replies(3): >>44382831 #>>44382844 #>>44382904 #
2. _fat_santa ◴[] No.44382831[source]
Well I guess the key difference is code is deterministic, that is whether an paper accomplishes it's goals is somewhat subjective but with code its an absolute certainty.

I'm sure that if a contributor working on a feature used cursor to initially generate the code but then goes over it to ensure it's working as expected that would be allowed, this is more for those folks that just want to jam in a quick vibe-coded PR so they can add "contributed to the QEMU project" on their resumes.

replies(1): >>44382894 #
3. SchemaLoad ◴[] No.44382844[source]
Sounds like a good idea to ensure developers are owning the code they submit rather than hiding behind "I don't know why it does that, ChatGPT wrote it".

Use AI if you want to, but if the person on the other side can tell, and you can't defend the submission as your own, that's a problem.

replies(1): >>44382861 #
4. JoshTriplett ◴[] No.44382861[source]
> Use AI if you want to, but if the person on the other side can tell, and you can't defend the submission as your own, that's a problem.

The actual policy is "don't use AI code generators"; don't try to weasel that into "use it if you want to, but if the person on the other side can tell". That's effectively "it's only cheating if you get caught".

By way of analogy, Open Source projects also typically have policies (whether written or unwritten) that you only submit code you are legally allowed to submit. In theory, you could take a pile of proprietary reverse-engineered code that you have no license to, or a pile of code from another project that you aren't respecting the license of, and submit it anyway, and slap a `Signed-off-by` on it. Nothing will physically stop you, and people might not be able to tell. That doesn't make it OK.

replies(1): >>44382990 #
5. hananova ◴[] No.44382894[source]
You'd be wrong, the linked commit clearly says that anything written by, or derived from, AI code generation is not allowed.
6. GuB-42 ◴[] No.44382904[source]
It more like a clarification.

The rules regarding the origin of code contributions are rather strict, that is, you can't contribute other people code unless you can make sure that the licence is appropriate. A LLM may output a copy of someone else code, sometimes verbatim, without giving you its origin, so you can't contribute code written by a LLM.

7. SchemaLoad ◴[] No.44382990{3}[source]
The way I interpret it is that if you brainstorm using ChatGPT but write your own code using the ideas created in this step that would be fine, the reviewer wouldn't suspect the code of being AI generated because you've made sure it fits in with the project and actually works. The exact wording here is that they will reject changes they suspect of being AI generated, not that you can't have read anything AI generated in the process.

Getting AI to remind you of the libraries API is a fair bit different to having it generate 1000 lines of code you have hardly read before submitting.

replies(1): >>44383032 #
8. Art9681 ◴[] No.44383032{4}[source]
What if the code is AI generated and the developer that drove it also understands the code and can explain it?
replies(1): >>44383699 #
9. Filligree ◴[] No.44383699{5}[source]
Well, then you’re not allowed to submit it. This isn’t hard.