[go: up one dir, main page]

Python Calendaring Ecosystem

AI policy

Our policy on the use of generative artificial intelligence (AI)

We want to protect the joy, goodwill, and volunteer time of the maintainers and contributors of the Python Calendaring Ecosystem (PCE). Reviewers want to work with people, not with generated output.

This policy is based on NLnet's policy on the use of generative AI, version 2.0. It's the default for every PCE package. A package may adapt or override it.

Generative artificial intelligence (GenAI) includes large language models, code assistants, and image or diffusion models. Other automation—including linters, formatters, code generators that follow a fixed specification, or fuzz testing—is excluded from this policy and is welcome.

#Read-only use

You may use GenAI only in a read-only way. It can look at your work and tell you what it finds, but everything you submit must be written by you.

For example, you may ask GenAI to:

  • review your code or architecture, and point out bugs, security issues, or portability problems
  • explain existing code, a standard such as an RFC, or a general technical concept
  • look up information, as you would with a search engine
  • point out errors in a documentation draft you wrote
  • suggest tests that might be missing
  • run the tests and checks, and tell you what fails and why, without changing any files

You then make every fix and write every test yourself. Build a working solution before you have it reviewed.

#What you may not use GenAI for

You may not use GenAI to produce anything you contribute, including:

  • code, tests, and test data such as example calendar files
  • documentation, docstrings, and change log entries
  • designs, diagrams, and images
  • pull request descriptions, issues, security reports, comments, and commit messages
  • translations of your own text, beyond plain word-for-word machine translation
  • a dependency or separate package that you generated, to bring its code into a PCE package indirectly

You may use GenAI to find a security issue, but write the report yourself.

Don't use GenAI as a coding partner.

Don't contribute through an account that is run by an AI agent.

#Disclosure

If you used GenAI in any way while working on a contribution, disclose it in two places:

  • In each commit, as a trailer at the end of the commit message, stating the tool, the model and its version, and what you used it for. For example: GenAI: Example Assistant 2.1, reviewed the parser changes for edge cases. One automation tool for this purpose is ai-prompt-auto-commit.
  • In the pull request description, in your own words.

The commit trailer keeps the record in the project's history, where it stays available without a GitHub account.

#Your responsibility

  • You must understand every change you submit, and be able to explain your design and code decisions.
  • You must make sure your contribution contains no material copied from sources you have no right to use.
  • You must follow the requirements for pull requests of the package you contribute to, and PCE's Code of Conduct.
  • You must respond to feedback on your contribution yourself.

#Enforcement

Maintainers don't review contributions that break this policy, including undisclosed use of GenAI. They may close such contributions without giving feedback. If your pull request is closed, you may open a new one that follows this policy.

Maintainers may also suspend, ban, or report users, as described in PCE's Code of Conduct.

To report a suspected violation, email team@pycal.org.

#Effective date

This AI policy is effective December 1, 2026.