Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d5bd88f

Browse files
committed
DOC: Impove AI policy
- Change title from "Restrictions ..." to "Usage ..." which is more neutral - Introductory paragraph copied from https://devguide.python.org/getting-started/generative-ai/#generative-ai (CC0 license) - I find this a very good high-level summary of the mindset - Add lists of acceptable and unacceptable uses
1 parent 0bef286 commit d5bd88f

1 file changed

Lines changed: 32 additions & 26 deletions

File tree

doc/devel/contribute.rst

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -185,32 +185,38 @@ If you have developed an extension to Matplotlib, please consider adding it to o
185185

186186
.. _generative_ai:
187187

188-
189-
Restrictions on Generative AI Usage
190-
===================================
191-
192-
We expect authentic engagement in our community.
193-
194-
- Do not post output from Large Language Models or similar generative AI as
195-
comments on GitHub or our discourse server, as such comments tend to be
196-
formulaic and low content.
197-
- If you use generative AI tools as an aid in developing code or documentation
198-
changes, ensure that you fully understand the proposed changes and can
199-
explain why they are the correct approach.
200-
- If you use AI for translation or grammar correction, please keep the wording as close
201-
as possible to the original wording. It is much easier to come to a mutual
202-
understanding when we are working off a direct translation of your words/thoughts
203-
rather than a text an LLM may have embellished with possibly spurious information.
204-
205-
Make sure you have added value based on your personal competency to your
206-
contributions. Just taking some input, feeding it to an AI and posting the
207-
result is not of value to the project. To preserve precious core developer
208-
capacity, we reserve the right to rigorously reject seemingly AI generated
209-
low-value contributions.
210-
211-
In particular, it is also strictly forbidden to post AI generated
212-
content to issues or PRs via automated tooling such as bots or agents. We
213-
may ban such users and/or report them to GitHub.
188+
Usage of Generative AI
189+
======================
190+
191+
Generative AI tools have evolved rapidly, and their suggested results can be
192+
helpful. As with using any tool, the resulting contribution is the responsibility
193+
of the contributor. We value good code, concise accurate documentation, and
194+
avoiding unneeded code churn. Discretion, good judgment, and critical thinking
195+
are the foundation of all good contributions, regardless of the tools used in
196+
their creation.
197+
198+
We expect authentic engagement in our community. Make sure you have added value
199+
based on your personal competency to your contributions.
200+
201+
**Acceptable uses** include
202+
203+
- Gaining understanding of the existing code
204+
- Translating or proof-reading your comments or PR descriptions. Please keep the
205+
wording as close as possible to the original wording.
206+
- Getting solution ideas
207+
208+
**Unacceptable uses** include
209+
210+
- External AI tooling directly interacting with the project; e.g. creating
211+
issues, PRs or commenting on GitHub or Discourse.
212+
- Solving topics that you wouldn't in principle be able to solve yourself without AI
213+
- Blindly using any AI output. Ensure that you fully understand the output
214+
and can judge that it's the correct approach.
215+
216+
To ensure project health and preserve precious core developer
217+
capacity, we will call out and rigorously reject seemingly AI generated
218+
low-value contributions. We may ban and/or report users to GitHub if they
219+
harm the project or its community through irresponsible use of AI.
214220

215221
.. _new_contributors:
216222

0 commit comments

Comments
 (0)