1.5 KiB
AI Usage Policy
Our Rule
Using auto-complete or generated snippets is fine, but overall contributions should be human-written and human-reviewed.
This is to ensure the quality, security and maintainability of the codebase.
Warning
Maintainers may close PRs that appear to be fully or largely AI-generated.
If you do end up using AI tools, we ask that you only do so assistively (like a reference or tutor) and not generatively (having the tool write code for you).
Guidelines for Using AI Tools
- Assistance, not Generation: Do not just copy-paste/save AI output. AI use should assist human development, not replace.
- Understand fully: You must be able to explain every line of code you submit
- Test thoroughly: Review and test all code (manually by a human) before submission
- Take responsibility: You are accountable for bugs, issues, or problems with your contribution
- Disclose usage: Note which AI tools you used in your PR description
- Follow reasonable coding practices: Use multiple commits to break down changes, a single large commit makes review and tracking code changes difficult for maintainers.
Example disclosure
I used Claude to help debug a test failure. I reviewed the suggested fix, tested it locally, and verified it solves the issue without side effects.
I used Gemini to generate some (not all) functions which I then reviewed and tested myself.
I used ChatGPT to help me understand an error message and suggest debugging steps. I implemented the fix myself after verifying it.