From e0059758419b43725345e692496d3ea396a75efc Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Mon, 3 Jun 2024 13:54:07 -0400 Subject: [PATCH 1/2] DOC: do not posting LLM output as your own work Co-authored-by: Jody Klymak --- doc/devel/contribute.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/devel/contribute.rst b/doc/devel/contribute.rst index 66057c76396f..0e7a9ef5115e 100644 --- a/doc/devel/contribute.rst +++ b/doc/devel/contribute.rst @@ -183,6 +183,21 @@ please cite us following the :doc:`/project/citing` guidelines. If you have developed an extension to Matplotlib, please consider adding it to our `third party package `_ list. + +.. _generative_ai: + + +Restrictions on Generative AI Usage +=================================== + +We expect authentic engagement in our community. Be wary of posting output +from Large Language Models or similar generative AI as comments on GitHub or +our discourse server, as such comments tend to be formulaic and low content. +If you use generative AI tools as an aid in developing code or documentation +changes, ensure that you fully understand the proposed changes and can explain +why they are the correct approach and an improvement to the current state. + + .. _new_contributors: New contributors From a8b5d802959d1c464335f4cf5bdaa756126ab465 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Thu, 21 Nov 2024 16:05:24 -0500 Subject: [PATCH 2/2] DOC: add links to this is PR and issue templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 +++- .github/PULL_REQUEST_TEMPLATE.md | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 045386dc7402..0a57a3989265 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -15,7 +15,9 @@ body: attributes: label: Code for reproduction description: >- - If possible, please provide a minimum self-contained example. + If possible, please provide a minimum self-contained example. If you + have used generative AI as an aid see + https://dev.matplotlib.org/devel/contributing.html#generative_ai. placeholder: Paste your code here. This field is automatically formatted as Python code. render: Python validations: diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index e857416b13d8..dbf9e5f4ae22 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -13,6 +13,11 @@ out the development guide https://matplotlib.org/devdocs/devel/index.html Additionally, please summarize the changes in the title, for example "Raise ValueError on non-numeric input to set_xlim" and avoid non-descriptive titles such as "Addresses issue #8576". + +If possible, please provide a minimum self-contained example. If you have used +generative AI as an aid in preparing this PR, see +https://dev.matplotlib.org/devel/contributing.html#generative_ai. + -->