File: AI_policy.md

package info (click to toggle)
pyfai 2026.02-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 96,100 kB
  • sloc: python: 70,217; lisp: 8,335; sh: 407; ansic: 247; makefile: 133; xml: 69
file content (69 lines) | stat: -rw-r--r-- 2,946 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# AI Policy

"AI" herein refers to generative AI tools like large language models (LLMs)
that can generate, edit, and review software code, create and manipulate
images, or generate human-like communication.

## Responsibility

You are responsible for any code you submit to pyFAI's repositories, regardless
of whether it was manually written or generated by AI. You must understand and be able
to explain the code you submit as well as the existing related code. It is not
acceptable to submit a patch that you cannot understand and explain yourself.
In explaining your contribution, do not use AI to automatically generate
descriptions.

## Disclosure

You must disclose whether AI has been used to assist in the development of
your pull request.
If so, you must document which tool(s) have been used, how they were used,
and specify what code or text is AI generated. We might reject any pull request
that does not include the disclosure.

## Code Quality

Code generated by AI can be of low quality. Contributors are expected to
submit code that meets pyFAI's standards. We will reject pull requests that we
deem being [AI slop](https://en.wikipedia.org/wiki/AI_slop).
Do not waste developers' time by submitting code that
is fully or mostly generated by AI, and doesn't meet our standards.

## Copyright

All code in pyFAI is released under the MIT copyright license.
Contributors to pyFAI agree to license their code under the same license used by the project
when it is included into the version control repository. That means contributors must
own the copyright of any code submitted to pyFAI or must include the MIT-compatible
open source license(s) associated with the submitted code
in the patch. Code generated by AI may infringe on copyright and it is the
submitter's responsibility to not infringe. We reserve the right to reject any pull
requests, AI generated or not, where the copyright is in question.

## Communication

When interacting with developers (forum, discussions,
issues, pull requests, etc.) do not use AI to speak for you, except for
translation or grammar editing. If the developers want to chat with a chatbot,
they can do so themselves. Human-to-human communication is essential for an
open source community to thrive.

## AI Agents

The use of an AI agent that writes code and then submits a pull request autonomously is
not permitted. A human must check any generated code and submit a pull request in accordance
with the 'Responsibility' section above.

## Other Resources

While these do not formally form part of pyFAI's AI policy, the following resources
may be helpful in understanding some pitfalls associated with using AI to contribute to
pyFAI:

- https://llvm.org/docs/AIToolPolicy.html
- https://blog.scientific-python.org/scientific-python/community-considerations-around-ai/

## Acknowledgements

We thank the SciPy/SymPy developers for their AI policy, upon which this document is largely
based.