Skip to content

add AI policy (adapted from NumPy) with PR template - #643

Merged
newville merged 1 commit into
xraypy:masterfrom
maurov:ai-policy
Oct 15, 2026
Merged

newville merged 1 commit into
xraypy:masterfrom
maurov:ai-policy

Conversation

@maurov

@maurov maurov commented Oct 14, 2026

Copy link
Copy Markdown
Member

PR summary

Closes #641.

Adopts an AI policy for contributions to Larch, adapted from the NumPy AI policy
(itself based on SciPy's), as discussed in #641:

  • AI_POLICY.md (new): the policy text, adapted for Larch (MIT license instead of
    BSD 3-clause in the Copyright section; acknowledgement of NumPy and SciPy).
  • .github/PULL_REQUEST_TEMPLATE.md (new): PR template with a summary section and a
    mandatory "AI disclosure" section linking to the policy.
  • doc/ai_policy.rst + doc/index.rst: short documentation page summarizing the
    policy and linking to AI_POLICY.md.
  • MANIFEST.in: include AI_POLICY.md in the source distribution.

The links to AI_POLICY.md point to master on xraypy/xraylarch, so they will
resolve once this is merged.

AI disclosure

Claude Code (Anthropic, model Claude Opus 5.5) was used to prepare this PR. It
fetched the NumPy policy source and PR template, and drafted all files in this PR
by adapting that text to Larch (project name, license, links). It also drafted
this PR description. I reviewed and edited all of it, and I opened this PR
myself

@maurov
maurov requested a review from newville October 14, 2026 07:55
@newville

Copy link
Copy Markdown
Member

@maurov Thanks - this looks great to me. It might need a tweak or two, but let's merge this.

@newville
newville merged commit 946eeec into xraypy:master Oct 15, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[proposal] follow NumPy AI policy

2 participants