Xarray
N-dimensional labeled arrays and datasets in Python.
Mostly friendly. Welcome, with extra rules.
AI-generated code is accepted if the submitter has read, tested and fully understands every change; large AI-assisted changes should be discussed in an issue first. PR descriptions, issue comments and review replies must be in the contributor's own words, with AI allowed only to polish language.
Policy by area
- Code contributionsPatches, pull requests and other changes written with AI tools.
- Friendly
- Contributor takes full responsibility
- A human must review the output
- Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
- Unfriendly
- Only minor help (autocomplete, grammar)
- AI-written textPull request descriptions, issue comments and summaries written by AI.
- Unfriendly
- Only minor help (autocomplete, grammar)
In their own words
Code contributions
this policy applies regardless of whether the code was written by hand, with AI assistance, or generated entirely by an AI tool.
You must have personally reviewed and understood all changes before submitting.
Issues & bug reports
PR descriptions, issue comments, and review responses must be your own words.
AI-written text
Do not paste AI-generated text as comments or review responses.
Using AI to improve the language of your writing (grammar, phrasing, spelling, etc.) is acceptable.
Sources
- Xarray AI Usage Policygithub.com/pydata/xarray/blob/main/doc/contribute/ai-policy.mdSnapshot 9 Oct 2026