InfluxData welcomes contributions to its open source software (OSS) projects, including code created with the assistance of generative AI tools. To ensure that contributions maintain the quality, security, and integrity expected of InfluxData OSS, contributors must adhere to the following guidelines when using AI-generated code:

1. Responsibility

  • You, the contributor, are fully responsible for any code you submit, regardless of whether it was written by you directly or generated by an AI system.
  • Submissions must be reviewed and understood by you before being proposed for inclusion in an InfluxData OSS project. “Copy-and-paste” contributions without review are not acceptable.

2. Code Quality

  • Generated code must hold to the same standards as human-written code: clarity, maintainability, adherence to project style guidelines, and avoidance of verbosity or unnecessary complexity that makes review more difficult.
  • You should provide adequate test coverage and thoroughly validate AI-assisted code to ensure it functions correctly within the project.
  • Contributors are expected to ensure AI-assisted code follows secure coding practices and does not introduce vulnerabilities. When using AI tools, provide explicit prompts to guide the system toward generating secure implementations.

3. Licensing and Attribution

  • Code must not introduce license conflicts. Do not submit AI-generated code that replicates or incorporates material from copyrighted or incompatible OSS licenses.
  • Contributors must ensure that generated code does not plagiarize third-party works. The responsibility for verifying originality lies with the contributor.

4. Transparency

  • While disclosure of AI use is not required for every contribution, maintainers may ask about the origin of code during review. Be prepared to explain whether AI tools were involved and how you validated the contribution.

5. Review Process

  • AI-assisted contributions will be subject to the same review process as all other code. Maintainers may reject submissions that do not meet quality, licensing, or originality standards.

Summary:

InfluxData now accepts contributions that include AI-generated code. However, contributors must treat AI assistance as a tool—not a substitute for engineering judgment. You are responsible for ensuring that your contributions are high-quality, legally sound, and align with the expectations of the InfluxData OSS community.