Skip to content

Commit 56370c4

Browse files
committed
add AI policy
1 parent 651bcad commit 56370c4

2 files changed

Lines changed: 30 additions & 2 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
<!--
22
3-
Thanks for contributing a pull request! Please make sure you have read the
4-
[contribution guidelines](https://mne.tools/dev/development/contributing.html)
3+
Thanks for contributing a pull request! Please make sure you have read
4+
[CONTRIBUTING.md](https://github.com/mne-tools/mne-python/blob/main/CONTRIBUTING.md)
5+
and the [detailed contribution guidelines](https://mne.tools/dev/development/contributing.html)
56
before submitting.
67
8+
If you used AI to help prepare this pull request, please pay special attention to
9+
our **Policy on AI Assistance in Contributions** in
10+
[CONTRIBUTING.md](https://github.com/mne-tools/mne-python/blob/main/CONTRIBUTING.md).
11+
Here are some examples of what we expect for "tool, manner, and scope" disclosure:
12+
13+
- "I implemented the code changes myself, and Claude Sonnet 4.6 wrote the test."
14+
- "I prompted Gemini 3.1 Pro to get a first draft implementation, then refined it
15+
manually until I was satisfied."
16+
- "I wrote the code and asked Kimi K2.5 to write the docstring for me."
17+
- "I fed GPT 5.4 the paper where the algorithm is described, and asked it to implement
18+
it for me. Then I had it write an example script using the `sample` dataset, and I
19+
wrote the narrative text of the tutorial myself."
20+
721
Please be aware that we are a loose team of volunteers so patience is
822
necessary. Assistance handling other issues is very welcome. We value
923
all user contributions, no matter how minor they are. If we are slow to

CONTRIBUTING.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,17 @@ Users and contributors to MNE-Python are expected to follow our [code of conduct
77

88
The [contributing guide](https://mne.tools/dev/development/contributing.html) has details on the preferred contribution workflow
99
and the recommended system configuration for a smooth contribution/development experience.
10+
11+
12+
Policy on AI Assistance in Contributions
13+
----------------------------------------
14+
Contributing to MNE-Python requires human judgment, contextual understanding, domain knowledge, and familiarity with MNE-Python’s structure and goals. It is not suitable for automatic processing by AI tools.
15+
16+
You may not submit issues or pull requests generated by fully-automated tools. Maintainers reserve the right, at their sole discretion, to close such submissions and to block any account responsible for them.
17+
18+
Review all code or documentation changes assisted by AI tools and make sure you understand all changes and can explain them on request, before submitting them under your name. Do not submit any AI-generated code that you haven’t personally reviewed, understood and tested. Please pay special attention to whether AI-assisted code reproduces specific passages for specialized algorithms, as this may risk license violations.
19+
20+
Please do not paste AI generated text in the description of issues, PRs or in comments as this makes it harder for reviewers to assess your contribution.
21+
If you used AI tools, state so in your PR description and disclose the tools you have used, and the manner and scope of their assistance (see PR template for examples).
22+
23+
PRs that appear to violate this policy will be closed without review. AI usage is an evolving issue with serious repercussions far beyond the scientific software ecosystem. The MNE-Python project reserves the right to change or reverse this policy given the developments in these areas.

0 commit comments

Comments
 (0)