-
Notifications
You must be signed in to change notification settings - Fork 577
Add AI policy to contribution guide #3959
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
base: main
Are you sure you want to change the base?
Changes from all commits
72d6fa2
fc2b4d6
efffd2a
ea83451
d443547
be9df8e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,6 +18,25 @@ | |
| - | ||
| - | ||
|
|
||
| ## AI-Use Disclosure | ||
| <!-- Contributors must disclose whether and how AI tools were used and highlight any areas of uncertainty or where they want focused reviewer feedback --> | ||
|
|
||
| - [ ] AI tools were NOT used during the preparation of this PR | ||
|
|
||
| or | ||
|
|
||
| - [ ] AI tools contributed to the development of this PR | ||
| - [ ] AI tools generated documentation (including the PR description/comments, code comments, and/or Sphinx documentation) | ||
| - [ ] AI tools generated tests (baselines, examples, and/or code) | ||
| - [ ] AI tools generated code (apart from tests) | ||
|
|
||
| Review process: | ||
| - [ ] ALL AI-generated content was rewritten by the PR author | ||
| - [ ] ALL AI-generated content was thoroughly reviewed and verified by the PR author | ||
| - [ ] AI-generated content was contributed directly to the repository | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the intent behind this line to check if "CoPilot did it for me"? If so, I wouldn't say it's entirely clear.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this section is meant to help us understand the extent to which the contributor reviewed the AI-generated content but this was a change suggested by @jsiirola so I'm hoping he'll also chime in.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The original template was a request for free-response from the author. My concern is that they won't know what we are looking for and could write anything from a novel to the equivalent of "LGTM". The idea here is for a simple template to prompt them to to directly answer our most important questions.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh I agree 100% with the checklist. This specific line is hard to parse what it means, though. Does it mean, "I let copilot commit for me"?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ahh... right. The intent was to indicate that AI-generated code was included verbatim, potentially with no user involvement. My thinking at the time is that the "review process" should be a "radio button" (pick exactly one)... and the third option was a way of saying "none of the above" (and therefore volunteering the PR for summary closure). The other thing that came to mind as I was reading the references that @blnicho circulated was that we should probably be concerned when any AI code is committed verbatim, as the copyright provenance of that code is ambiguous (e.g., did the AI regenerate copyrighted code it was trained on?)
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So is the "Review Process" section only for reviewers, or are submitters still supposed to be selecting something from there? I would say, "None of us are lawyers, and the courts don't even know what's happening there. Let them figure it out and then we can adjust our terms." We already have the expectation of what license they need to be using when contributing here, and we will be covering our butts by introducing this policy at all (because we can have traceability into "PRs where AI was used"). |
||
|
|
||
| Details / discussion: | ||
|
|
||
| ### Legal Acknowledgement | ||
|
|
||
| By contributing to this software project, I have read the [contribution guide](https://pyomo.readthedocs.io/en/stable/contribution_guide.html) and agree to the following terms and conditions for my contribution: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.