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

Skip to content

Commit d038726

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 d038726

1 file changed

Lines changed: 27 additions & 22 deletions

File tree

doc/devel/contribute.rst

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

186186
.. _generative_ai:
187187

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. Discretion, good judgment, and critical thinking are the
194+
foundation of all good contributions, regardless of the tools used in their
195+
creation. We value good code, concise accurate documentation, and
196+
avoiding unneeded code churn. We expect authentic engagement in our community.
197+
Make sure you have added value based on your personal competency to your
198+
contributions.
188199

189-
Restrictions on Generative AI Usage
190-
===================================
200+
**Acceptable uses** include
191201

192-
We expect authentic engagement in our community.
202+
- Gaining understanding of the existing code
203+
- Getting solution ideas
204+
- Translating or proof-reading your comments or PR descriptions. Please keep the
205+
wording as close as possible to your original wording.
193206

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.
207+
**Unacceptable uses** include
204208

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.
209+
- External AI tooling (e.g. bots, agents) directly interacting with the project;
210+
including creating issues, PRs or commenting on GitHub or Discourse.
211+
- Solving topics that you wouldn't be able to solve yourself without AI
212+
- Using AI output without ensuring that you fully understand the output or
213+
without verifying that it is the correct approach.
214+
215+
To ensure project health and preserve precious core developer
216+
capacity, we will flag low-value contributions that we believ are AI generated and
217+
will rigorously reject them. We may ban and/or report users to GitHub if they
218+
harm the project or its community through irresponsible use of AI.
214219

215220
.. _new_contributors:
216221

0 commit comments

Comments
 (0)