-
Notifications
You must be signed in to change notification settings - Fork 13.9k
contributing: update guidelines for AI-generated code #17625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Previously there have been instances where people submit autogenerated PRs that don't even compile. However, I don't think we need to make the code compiling and working correctly an explicit requirement as that should be a given for any PR. |
|
I think an AI-generated PR not compiling is less problematic than one that compiles, but containing bunch of hidden bugs that human maintainers have to spend time to trace & review. Btw, this also extend to documentation, where AI can generate fairly convincing docs, but yet still containing some subtle mistakes. |
|
Should we add something like this?
Edit: I guess the first point is already covered via requiring a "thorough review". |
|
I think the term "thorough review" is more suitable in the context, as a "thorough review" implies that contributor must already understand the code For the second point, "without the use of AI" can potentially contradict the "Using AI to generate PRs is permitted" part 😅 I think "thorough review" is quite concise while still sounds "professional" though |
CISC
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly though, my default assumption is normally that any given PR is at least in large parts AI-generated, looking for signs that at least some of it is written by a human. :)
|
Wondering though, we also have the But not sure if that works with other AI agents like claude/gemini CLI Edit: tried, but it doesn't work; the vscode's copilot ignore the instruction, even though it clear read the file |
We can consider moving |
Requires disclosing usage of AI for: