Skip to content

MAINT: update the PR template - #30932

Merged
seberg merged 7 commits into
numpy:mainfrom
mattip:pr-template1
Mar 11, 2026
Merged

seberg merged 7 commits into
numpy:mainfrom
mattip:pr-template1

Conversation

@mattip

@mattip mattip commented Mar 4, 2026

Copy link
Copy Markdown
Member

PR Summary

This is the first of a series of PRs that are prompted by the mailing list discussion about AI. We want first time contributors to introduce themselves to start to build a circle of trust with them.

cc @mhvk

@jorenham

jorenham commented Mar 4, 2026

Copy link
Copy Markdown
Member

Maybe we could also ask here that AI agents should say that they're agents?

@mattip mattip mentioned this pull request Mar 4, 2026
@mattip

mattip commented Mar 4, 2026

Copy link
Copy Markdown
Member Author

In #30933 I proposed a policy that bans AI agent submissions, we would rather talk to a person. Once that PR starts to take shape, I will submit another PR that adds more content to the template about AI disclosure, and mentions that AI-agentic PRs are not welcome.

@seberg seberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few small comments, more take-or-leave style. I like the thoughts. It feels like some word-smithing iterations may be nice (and I am hoping others might have good ideas, but may also suggest more edits).

Comment thread .github/PULL_REQUEST_TEMPLATE.md Resolved
Comment thread .github/PULL_REQUEST_TEMPLATE.md Resolved
Comment thread .github/PULL_REQUEST_TEMPLATE.md Resolved
Comment thread .github/PULL_REQUEST_TEMPLATE.md Resolved

@mhvk mhvk left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Am happy as is, but have a suggestion to remove the old list with a single link to the guidelines.
(EDIT: since this is somewhat off-topic and could be done in another PR, feel free to ignore!).

Comment thread .github/PULL_REQUEST_TEMPLATE.md Resolved
@mattip mattip mentioned this pull request Mar 8, 2026
[skip actions][skip cirrus][skip circle]
@mattip

mattip commented Mar 9, 2026

Copy link
Copy Markdown
Member Author

After the ai guidelines have been merged, the next step is to add a disclosure section. Edits/suggestions welcome.

@mattip

mattip commented Mar 9, 2026

Copy link
Copy Markdown
Member Author

a suggestion to remove the old list with a single link to the guidelines

Done. Note it links to devdocs, we can link to stable after the next release (or not, maybe it is better to always refer to devdocs).

@rgommers

rgommers commented Mar 9, 2026

Copy link
Copy Markdown
Member

maybe it is better to always refer to devdocs

+1 that seems better to me.

@rgommers rgommers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an improvement and puts something in place that we need very soon, so I'll add my Approve review here.

That said, I'd like to point out one potential issue. GitHub interprets check boxes as "tasks", so in the UI it reports the status of that. E.g., see "2 of 4 tasks" in the screenshot below from scikit-learn.

Image

If we choose to use checkboxes rather than the more free-form thing SciPy does, then I'd recommend:

  1. Reduce it to a single checkbox rather than two for "I am human, I understand reviewers want to interact with humans" (the latter part could be a description above the checkbox for example)
  2. For the "I used AI" checkbox, I'd suggest changing the instructions so that the box can always be checked. E.g., "I declared any AI usage truthfully below" - followed by explanation of how. If not used, say "No AI used", else say "....".

@mattip

mattip commented Mar 9, 2026

Copy link
Copy Markdown
Member Author

Ahh, thanks for pointing to SciPy's template. I like that better.

[skip actions][skip circle][skip cirrus]

@mhvk mhvk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, very nice. Smaller suggestions for the very last sentence, but also good as is.

p.s. I see that I'm about to submit 3 comments, one of which is out of date, but I cannot seem to delete it any more... Maybe it will not appear.

Comment thread .github/PULL_REQUEST_TEMPLATE.md Resolved
Comment thread .github/PULL_REQUEST_TEMPLATE.md Resolved
Comment thread .github/PULL_REQUEST_TEMPLATE.md Resolved
@mattip

mattip commented Mar 9, 2026

Copy link
Copy Markdown
Member Author

I am not sure markdown links work, but let's give it a try.

@mhvk mhvk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super!

@rgommers

rgommers commented Mar 9, 2026

Copy link
Copy Markdown
Member

I like it even better now, looks great!

@mattip

mattip commented Mar 11, 2026

Copy link
Copy Markdown
Member Author

Any more review needed before we try this out?

@seberg

seberg commented Mar 11, 2026

Copy link
Copy Markdown
Member

Thanks Matti, let's give this a shot. If anyone would prefer some small changes, we can continue (or just open a new PR).

@seberg
seberg merged commit d7f2450 into numpy:main Mar 11, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants