Repository navigation
[META] AI policy #7914
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
[META] AI policy #7914
Changes from 2 commits
b4e66d1
1ab9206
96a895c
0daf0f7
5c51bfd
df31b9d
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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| <!-- | ||
| Thanks for your contribution! | ||
|
|
||
| TBD | ||
|
|
||
| --> | ||
|
Contributor
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. Added Should we merge feels redundant two have two separate files for the same thing, no?
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. having both CONTRIBUTING and DEVELOPMENT doesn't make sense. yeah, mv DEVELOPMENT and patch it please.
Contributor
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. The |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Contributing to RustPython | ||
|
|
||
| Contributions are more than welcome, and in many cases we are happy to guide | ||
| contributors through PRs or on Discord. Please refer to the | ||
| [development guide](DEVELOPMENT.md) as well for tips on developments. | ||
|
|
||
| With that in mind, please note this project is maintained by volunteers, some of | ||
| the best ways to get started are below: | ||
|
|
||
| Most tasks are listed in the | ||
| [issue tracker](https://github.com/RustPython/RustPython/issues). Check issues | ||
| labeled with [good first issue](https://github.com/RustPython/RustPython/issues?q=label%3A%22good+first+issue%22+is%3Aissue+is%3Aopen+) if you wish to start coding. | ||
|
|
||
| To enhance CPython compatibility, try to increase unittest coverage by checking this article: [How to contribute to RustPython by CPython unittest](https://rustpython.github.io/guideline/2020/04/04/how-to-contribute-by-cpython-unittest.html) | ||
|
|
||
| Another approach is to checkout the source code: builtin functions and object | ||
| methods are often the simplest and easiest way to contribute. | ||
|
|
||
| You can also simply run `python -I scripts/whats_left.py` to assist in finding any unimplemented | ||
| method. | ||
|
|
||
| ## Use of AI | ||
|
|
||
| We **require all use of AI in contributions to follow our | ||
| [AI Policy](https://github.com/RustPython/.github/blob/main/AI_POLICY.md)**. | ||
|
Comment on lines
+20
to
+21
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. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Description: Verify the AI policy document exists and is accessible
# Check if the AI policy file exists in the .github repository
gh api repos/RustPython/.github/contents/AI_POLICY.md --jq '.name' 2>/dev/null || echo "AI_POLICY.md not found in RustPython/.github repository"
# Also check the raw content availability
curl -s -o /dev/null -w "%{http_code}" https://raw.githubusercontent.com/RustPython/.github/main/AI_POLICY.mdRepository: RustPython/RustPython Length of output: 251 The referenced AI policy document does not exist and must be created before merging. The contribution guidelines require contributors to follow an AI policy at 🤖 Prompt for AI Agents |
||
|
|
||
| If your contribution does not follow the policy, it will be closed. | ||
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.
I'm not quite sure what to write here, any suggestions? @fanninpm @youknowone
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.
You could start with these sections:
Closes #WXYZshould suffice, given some criteria [TODO: should be defined] that the linked issue has to meet.)cargo whateverwith no errors. (If not, please explain why.)If you have anything to add to the checklist, it is a good idea to use the active voice in a manner similar to how I wrote the previous bullet points.
Separately from this PR, I think it would be a good idea to convert our Issue templates from Markdown into YAML format.
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.
I liked that idea a lot. I've looked around in couple of FOSS projects and took what I liked. If you have a checkbox you would like to add/remove, please feel free to say (or even push it straight to my branch)
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.
I'll look into that:)