diff --git a/.changeset/updated_pr_template_and_contributingmd_to_add_ai_disclosure_requirement.md b/.changeset/updated_pr_template_and_contributingmd_to_add_ai_disclosure_requirement.md new file mode 100644 index 000000000..879ff649d --- /dev/null +++ b/.changeset/updated_pr_template_and_contributingmd_to_add_ai_disclosure_requirement.md @@ -0,0 +1,5 @@ +--- +default: docs +--- + +# Updated PR template and CONTRIBUTING.md to add AI disclosure requirement. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index d481c26ba..8d22671f0 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,4 +1,4 @@ - + ### Description @@ -20,3 +20,9 @@ Fixes # - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings + +### AI disclosure: + +- [ ] Partially AI assisted (clarify which code was AI assisted and briefly explain what it does). +- [ ] Fully AI generated (explain what all the generated code does in moderate detail). + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c417e2071..29f53db0b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -53,7 +53,10 @@ We expect and appreciate authentic engagement in our community. Do not post output from Large Language Models or similar generative AI as comments on GitHub, as such comments tend to be formulaic and low content. -If you use generative AI tools as an aid in developing code, ensure that you fully understand the proposed changes and can explain why they are the correct approach. +If you use generative AI tools as an aid in developing code, ensure that you fully understand the proposed changes and can explain why they are the correct approach; additionally, you **must** disclose which parts of the code were: + +- Fully generated by the AI tool. +- Written alongside the AI tool (examples: line completion, rewriting code generated by AI). Make sure you have added value based on your personal competency to your contributions. Just taking some input, feeding it to an AI and posting the result is not of value to the project. We reserve the right to rigorously reject seemingly AI generated low-value contributions.