-
Notifications
You must be signed in to change notification settings - Fork 3
Add an AI policy for contributors #211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+61
−2
Merged
Changes from 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
550d1a9
Start AI policy
adamltyson e9ab880
Add comms policy
adamltyson 541daa3
Add action
adamltyson 5405f01
ignore chatgpt link
adamltyson 739cbb1
Update docs/source/get-involved/ai_policy.md
adamltyson 1041edb
Update docs/source/get-involved/ai_policy.md
adamltyson 0c4ad0d
Update docs/source/get-involved/index.md
adamltyson 48769ae
Update docs/source/get-involved/ai_policy.md
adamltyson d6fc019
Update wording based on feedback
adamltyson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| # NIU policy on contributions using AI | ||
|
|
||
| ::: {admonition} TL;DR | ||
| :class: note | ||
|
|
||
| While we encourage, and are very grateful for, contributions to our software, we don't accept any contributions generated | ||
| mostly by AI. | ||
| ::: | ||
|
|
||
| ## Introduction | ||
| Generative AI tools have developed quickly in the last few years, and have changed how many people write code. General | ||
| purpose tools such as [ChatGPT](https://chatgpt.com/) or specific code development tools such as | ||
| [Cursor](https://cursor.com/) now mean software development is quicker and more accessible than ever before. We only | ||
| expect these developments to continue, and AI agents to play a crucial role in the way that we create software. | ||
|
|
||
| Many members of the NIU use AI in their workflows, as do many of our collaborators. We are also fortunate to have a | ||
| large community of contributors to our tools. However, many potential contributions are low-quality and either require | ||
| lots of work to get them into shape, or simply need to be rejected immediately as they do not solve the problem at hand. | ||
| In many cases, these contributions appear to be mostly, or entirely, AI generated. | ||
|
|
||
| ## Code contributions | ||
| It can be very difficult to contribute to an open-source repository for the first time, and we are always happy to | ||
| provide assistance to anyone trying to learn. However, it is our policy that **we will not review any code contribution | ||
| that is, or appears to be, mostly written by AI tools**. These contributions look useful superficially, but often make | ||
| poor design choices, and are difficult to maintain long-term. Sometimes the AI agent creates a solution that does not | ||
| solve the problem in any way. | ||
|
|
||
| While the use of AI tools to help you write code is absolutely allowed, we expect all contributors to be able to | ||
| understand and explain every line of code they submit (if needed, we won't interrogate you!). If you cannot | ||
| understand every line, it is unlikely that whoever reviews it will be able to either! | ||
adamltyson marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| If you submit some code and we incorrectly tell you that we think it's AI generated, please let us know! There are various | ||
| "tells" that code has been written by AI, but these are not perfect. If we've made a mistake, that's on us, and we | ||
| want to correct it. | ||
|
|
||
| ## Communication | ||
| It is also tempting to use AI for general communication, whether this is in GitHub issues or pull requests, or in our | ||
| [Zulip Chat](https://neuroinformatics.zulipchat.com). Often LLMs add lots of unnecessary text, and may distort the | ||
| meaning behind the message. For many contributors, English is not their first language, and it is of course fine to | ||
adamltyson marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| use tools to help correct your communication. However, **please do not use LLMs to create entire messages that you send | ||
| to us in any format**. We want to hear what *you* think, not what an LLM thinks! | ||
|
|
||
| ## Action | ||
| We hope this policy will help clarify our position. If we think that a code contribution or communication is AI | ||
| generated, we will politely refer you to this page and close the issue or PR (if relevant). If we have made a mistake, | ||
adamltyson marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| please tell us. As these tools progress, we will likely get it wrong a lot, and we want to know. The last thing we | ||
| want is to deter any real, human contributors! | ||
|
|
||
| In the unlikely event that our policy is repeatedly ignored (e.g. multiple AI-generated pull requests), we may block | ||
| that individual from our GitHub organisation and/or Zulip. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.