Skip to content

Commit 2277c92

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 2277c92

File tree

1 file changed

+35
-25
lines changed

1 file changed

+35
-25
lines changed

doc/devel/contribute.rst

Lines changed: 35 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -185,32 +185,42 @@ 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 are evolving rapidly and can be helpful. As with any tool,
192+
the resulting contribution is the responsibility of the contributor. We
193+
expect dedicated and authentic engagement in our community. In particular when
194+
using AI, carefully consider what and how to communicate, question results,
195+
think things through thoroughly and make well-informed decisions.
196+
197+
Some examples of acceptable and unacceptable AI uses are:
198+
199+
.. grid:: 1 1 2 2
200+
201+
.. grid-item::
202+
203+
:octicon:`check;1em;sd-text-success` **Acceptable uses**
204+
205+
- Gaining understanding of the existing code
206+
- Getting solution ideas
207+
- Translating or proof-reading your comments or PR descriptions. Please keep
208+
the wording as close as possible to your original wording.
209+
210+
.. grid-item::
211+
212+
:octicon:`x;1em;sd-text-danger` **Unacceptable uses**
213+
214+
- External AI tooling (e.g. bots, agents) directly interacting with the project;
215+
including creating issues, PRs or commenting on GitHub or Discourse.
216+
- Solving topics that you wouldn't be able to solve yourself without AI
217+
- Using AI output without ensuring that you fully understand the output or
218+
without verifying that it is the correct approach.
188219

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

215225
.. _new_contributors:
216226

0 commit comments

Comments
 (0)