Skip to content

DOC Use a list instead of a checklist for AI disclosure - #34062

Merged
adrinjalali merged 1 commit into
scikit-learn:mainfrom
betatim:pr-template-tweak
May 20, 2026
Merged

adrinjalali merged 1 commit into
scikit-learn:mainfrom
betatim:pr-template-tweak

Conversation

@betatim

@betatim betatim commented May 20, 2026

Copy link
Copy Markdown
Member

Using a checklist makes it appear as if there are (open) todo items for the PR. This switches the template to use a list and asks the user to delete the items that don't apply.

This is an attempt to have the best of both worlds. Easy to use by PR authors (mostly just deleting stuff) and not have the spurious "there are open todo items" impression for PRs.

What do you think @AnneBeyer and others?

Using a checklist makes it appear as if there are (open) todo items for
the PR. This switches the template to use a list and asks the user to
delete the items that don't apply.
@adrinjalali

Copy link
Copy Markdown
Member

As somebody who at this point has been checking at least one item in the list, I've found the check list quite nice and easy. So I haven't been bothered by it. East either way.

@jeremiedbb

Copy link
Copy Markdown
Member

What about a 5th item like "Everything, I didn't even read the pull request template, my agent does everything for me" ? 😄
(not sure it would even help because full AI PRs tend to discard the pull request template altogether)

@adrinjalali

Copy link
Copy Markdown
Member

That's not true. My Claude fills out this template rather well.

@betatim

betatim commented May 20, 2026

Copy link
Copy Markdown
Member Author

I like the checklist as well, because like you said: it is super easy to use. I think that is an important feature, it increases the chances that people actually use it.

What I don't like is the "1/4 tasks done" etc annotations I see on the PR overview

Screenshot 2026-05-20 at 12 57 31

Using a list instead of a checklist is about the only idea I have for preserving the ease of use (it is a little less easy) and fixing the PR overview page.

@AnneBeyer

Copy link
Copy Markdown
Member

I'm also fine with either way. Since some people already remove the ones that don't apply, I think your suggestion is a good alternative @betatim.

What about a 5th item like "Everything, I didn't even read the pull request template, my agent does everything for me" ? 😄

Here's what I had in the first draft when we added the checklist: 😉

Please select one of the following:
* No AI assistance was used in the creation of this PR.
* I used AI assistance in the creation of this PR (specifically <ADD TOOLS/DETAILS HERE>), but I confirm that I checked and understood all changes and can explain them on request.
* This PR was created by an AI Agent.

In the end, we figured that the last one would probably never be used (but we didn't try it).

@adrinjalali

Copy link
Copy Markdown
Member

let's see how we feel about this after a while then.

@adrinjalali
adrinjalali merged commit d7b7572 into scikit-learn:main May 20, 2026
36 checks passed
@betatim
betatim deleted the pr-template-tweak branch May 20, 2026 11:56
@jeremiedbb jeremiedbb mentioned this pull request Jun 1, 2026
16 tasks done
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.

4 participants