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

Skip to content

Commit 7e292f0

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 7e292f0

1 file changed

Lines changed: 36 additions & 25 deletions

File tree

doc/devel/contribute.rst

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

186186
.. _generative_ai:
187187

188+
Use 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. Discretion, good judgment, and critical thinking are the
194+
foundation of all good contributions, regardless of the tools used in their
195+
creation. We expect authentic engagement in our community. Make sure you have
196+
added value based on your personal competency to your contributions.
197+
198+
Some examples of acceptable and unacceptable uses are:
199+
200+
.. grid:: 1 1 2 2
201+
202+
.. grid-item::
203+
204+
:octicon:`check;1em;green` **Acceptable uses**
205+
206+
- Gaining understanding of the existing code
207+
- Getting solution ideas
208+
- Translating or proof-reading your comments or PR descriptions. Please keep
209+
the wording as close as possible to your original wording.
210+
211+
.. grid-item::
212+
213+
:octicon:`x;1em;red` **Unacceptable uses**
214+
215+
- External AI tooling (e.g. bots, agents) directly interacting with the project;
216+
including creating issues, PRs or commenting on GitHub or Discourse.
217+
- Solving topics that you wouldn't be able to solve yourself without AI
218+
- Using AI output without ensuring that you fully understand the output or
219+
without verifying that it is the correct approach.
188220

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.
221+
To ensure project health and preserve precious core developer
222+
capacity, we will flag low-value contributions that we believe are AI generated and
223+
will rigorously reject them. We may ban and/or report users to GitHub if they
224+
harm the project or its community through irresponsible use of AI.
214225

215226
.. _new_contributors:
216227

0 commit comments

Comments
 (0)