Repository navigation
Add a PR template and an AI Policy #2209
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
Merged
+52
−0
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
f03c2b3
Add an AI Policy that allows usage with disclosure, requires human
rgommers 66bee72
Add a pull request template
rgommers 89da447
Back to Markdown for the AI_POLICY` file, link it from Contributing g…
rgommers dd0c188
Update AI_POLICY.md
henryiii 50ded32
Tweaks to AI Policy to address review discussion.
rgommers 112d1ed
Merge branch 'main' into pr-template-and-ai-guidelines
rgommers File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
|
rgommers marked this conversation as resolved.
Resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| ### PR summary and motivation | ||
| <!-- Please take some time to make it easier for us to review | ||
| your pull request (PR). Describe the PR using the questions below as guidance. | ||
| - What problem does this PR solve? Link any relevant issues and PRs. | ||
| - Why are you interested in working on this PR? | ||
| - How does the proposed change help you? | ||
|
rgommers marked this conversation as resolved.
Resolved
|
||
| - Will this change be relevant in 5 years (for new pages or sections)? | ||
| Make sure to review the contribution guidelines: https://packaging.python.org/en/latest/contribute/ | ||
| --> | ||
|
|
||
|
|
||
| #### AI usage disclosure | ||
|
rgommers marked this conversation as resolved.
Resolved
|
||
| <!-- If AI was used in the preparation of this PR, please disclose | ||
| the tool(s) used, how they were used, and specify what code or text is AI generated. | ||
|
rgommers marked this conversation as resolved.
Resolved
|
||
| If no AI tools were used, please write "No AI tools used" in this section. | ||
|
rgommers marked this conversation as resolved.
Resolved
|
||
| All interactions with reviewers must be performed by humans, including the submission of PRs. | ||
| Read the Python Packaging User Guide's policy on AI-assisted contributions at | ||
| https://github.com/pypa/packaging.python.org/blob/main/AI_POLICY.md | ||
| --> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # AI Policy | ||
|
|
||
| AI-assisted contributions are accepted only if: | ||
|
|
||
| - The PR follows the same rules as a non-AI PR. | ||
| - It clearly states that it is AI-assisted and names the tool used. | ||
| - If you are a new contributor, your PR links to an accepted issue. | ||
| - AI-generated descriptions/comments are clearly marked and only used when | ||
| required. | ||
| - A human drove the tool, reviewed every line, and can explain the change. | ||
| - It was not opened by a fully autonomous agent. | ||
| - You respond to review comments yourself. | ||
|
|
||
| This applies to issues and comments as well as pull requests. Using AI for | ||
| translation or grammar help is fine. AI output may infringe copyright; it is | ||
|
rgommers marked this conversation as resolved.
Resolved
|
||
| your responsibility to make sure it does not. | ||
|
|
||
| Unsolicited, undisclosed, or low-effort AI PRs will be closed. | ||
|
rgommers marked this conversation as resolved.
Resolved
|
||
|
|
||
| Only humans can be named as co-authors, and AI can *never* sign off on a | ||
| commit. I.e., don't add `Co-authored-by` or `Signed-Off-By` for an AI tool. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.