Skip to content

Commit aaa06bf

Browse files
authored
Update CONTRIBUTING.md regarding AI contributions. (ReactiveX#7960)
Describing the expectations and constraints regarding possible and planned AI submissions to the project.
1 parent 59b36f9 commit aaa06bf

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CONTRIBUTING.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ If you would like to contribute code you can do so through GitHub by forking the
44

55
When submitting code, please make every effort to follow existing conventions and style in order to keep the code as readable as possible.
66

7+
## AI contributions
8+
9+
We are not against contributions from AI tools, LLM-based or future architectures. However, you as a human are responsible for its contributions and suggestions.
10+
11+
This means, you have to make sure it doesn't hallucinate issues or elements of the contribution, doesn't try to hack rewards or hack established unit tests, doesn't go wild
12+
and rearchitect established components.
13+
14+
If you post a contribution that is broken, we will not argue with your LLM or prompt engineer for you. You are responsible for having the the LLM's output work within the confines
15+
of this project.
16+
17+
Please also be aware that this project is large both in current and historical sense with some rules not documented or enforced by unit tests. This is because such unwritten rules
18+
were trivial or readily inferrable by humans in the past. The project predates LLMs several years and thus is not organized to be accessible by LLMs today. Nor should it be.
19+
20+
Consequently, the amount of prompting and the context window size to include all possible information about it could become so much that it can become prohibitively expensive to have
21+
an LLM come up with more than basic and trivial contributions. Needless to say, don't bankrupt yourself and don't just accept the LLM's output at face value.
22+
723
## License
824

925
By contributing your code, you agree to license your contribution under the terms of the APLv2: https://github.com/ReactiveX/RxJava/blob/3.x/LICENSE

0 commit comments

Comments
 (0)