Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 1.66 KB

File metadata and controls

15 lines (11 loc) · 1.66 KB

AI Policy

As AI assisted coding is becoming more prevalent in open source code projects, it is necessary we have a policy about Al usage in contributions to Hummingbird and its related projects.

We are happy to accept contributions that have been generated using some form of AI assistance with the following provisos.

  • Contributors should have fully reviewed any generated code, understand it, able to answer questions about it and be able to explain the rationale behind decisions made. The contributor is always the author and is fully accountable for their contributions.
  • Contributors should have the right to license their submissions to the project as detailed in CONTRIBUTING.md.
  • It should be made clear if a considerable amount of a pull request has been generated. For instance by adding “Assisted-by:” to commit messages.
  • The quality bar for pull requests is the same regardless of whether they have been generated with AI or not. We expect PRs to compile on all supported platforms, tests to be added where applicable.
  • Any non-code submission eg Issues, PR descriptions or security reports should not be generated using AI, with the exception of fixing grammar and spelling.
  • There should always be a human in the loop. Agents cannot be used to respond with PR comments, feedback or commits. All responses have to be reviewed by a human before submission.
  • Finally AI cannot be used to implement good first issues. These are designed for someone to learn the code base and using an AI assistant is defeating the purpose of them.

Much of this policy was inspired by the LLVM Project AI Tool Use Policy