potiuk commented on code in PR #60158:
URL: https://github.com/apache/airflow/pull/60158#discussion_r2669514595


##########
contributing-docs/05_pull_requests.rst:
##########
@@ -100,6 +100,31 @@ these guidelines:
 -   Adhere to guidelines for commit messages described in this `article 
<https://cbea.ms/git-commit/>`__.
     This makes the lives of those who come after you (and your future self) a 
lot easier.
 
+Gen-AI Assisted contributions
+-----------------------------
+
+Generally, it's fine to use Gen-AI tools to help you create Pull Requests for 
Apache Airflow as long as you
+adhere to the following guidelines:
+
+* Follow the `Apache Software Foundation (ASF) Generative Tooling guideliens 
<https://www.apache.org/legal/generative-tooling.html>`__.
+* Ensure that you review and understand all code generated by Gen-AI tools 
before including it in your PR -
+  do not blindly trust the generated code.
+* Make sure that the generated code adheres to the project's coding standards 
and best practices described
+  above
+* Make sure to run all relevant static checks and tests locally to verify that 
the generated code works as
+  intended and does not introduce any issues.
+* State in your PR description that you have used Gen-AI tools to assist in 
creating the PR.
+* Be prepared to explain and justify the use of Gen-AI tools if asked by 
project maintainers or reviewers.
+* Remember that the final responsibility for the code in your PR lies with 
you, regardless of whether
+  it was generated by a tool or written by you.
+* By contributing code generated by Gen-AI tools, you agree to comply with the 
project's licensing terms
+  and any applicable laws and regulations.
+* Blindly copy & pasting code from Gen-AI tools is detrimental as it might 
introduce security and
+stability risks to the project. Maintainers that spot such behaviours will 
have no choice but to
+close the related PRs. It adds extra burden on the maintainers and doesn't 
help the project.
+The contributor reputation is also impacted as maintainers will lose 
confidence and  might block
+the user from making further contributions.

Review Comment:
   I think, currently there are some really wide-spread attempts to game the 
reputation that you get via open-source. For example I saw posts that people 
are being paid as mentors to accept students from some universities that want 
their students to be accepted to GSoC projects - regardless if they are good or 
not (and the mentors are offered really nice sum of money for that) - I think 
this is a very clear message to anyone who wants to submit PRs to game the 
system, that this work to their disadvantage.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to