Skip to content

Conversation

@StefanieSenger
Copy link
Member

@StefanieSenger StefanieSenger commented Dec 11, 2025

Reference Issues/PRs

What does this implement/fix? Explain your changes.

This PR fixes the autoclose-schedule workflow to not run on forks, links to a central list of how to improve a PR, and implements some changes in the wording. Specifically, it makes it more clear to new contributors where the autoclose label was set, that they are responsible to fix the issues and advises them to not request the label getting removed.

AI usage disclosure

I used AI assistance for:

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

@StefanieSenger StefanieSenger changed the title CI/MNT Fix automated comments workflows in Github Actions MNT/DOC Autoclose schedule doesn't run on forks and improved structuring Dec 11, 2025
Copy link
Member

@lucyleeow lucyleeow left a comment

Choose a reason for hiding this comment

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

Overall I think we can be more succinct and structured in the autoclose comment. I am not sure repeating ourselves is going to stop the more egregious offenders and the longer we make this, the less likely people are going to read it.

What about an overall structure of:

  • Paragraph 1: PR does not standards (I think it's fine currently)
  • Paragraph 2: Link to ways to improve PR. Advise they are responsible for driving this PR. If they do not know how to improve their PR, suggest building foundation with other contribution types (link to new contributor section) or asking questions after doing research, which someone from community may respond to.
  • Paragraph 3: If they improve the PR, the label may be removed. Advise against them requesting label be removed or ping-ing maintainers (I think you did not want to tell people not to ping maintainers, but I think its worth having, they can still comment and ask questions, but don't ping maintainers)

I've made more specific suggestions below.

* ensure to only submit code you can explain and maintain, as you might need to defend
and discuss it during review, clarify your reasons, understand the use case, do
additional research, or investigate alternatives,
* inspect and solve tests failing locally or in the CI.
Copy link
Member

Choose a reason for hiding this comment

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

I think this is already mentioned in the PR checklist

:ref:`stalled_pull_request` and :ref:`stalled_unclaimed_issues`,
* fill in all sections of the issue or pull request template provided by GitHub,
including a clear description of the problem or motivation, and any relevant code
examples,
Copy link
Member

Choose a reason for hiding this comment

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

I though the original was mostly adequate? I am reluctant to make it wordier, but may we could add that they should explain their through process for PRs...

Suggested change
examples,
* complete all sections of the issue or pull request template,
including a clear and concise description of the issue or motivation and
thought process behind the pull request

* ensure the changes are minimal and directly relevant to the described issue,
* ensure your PR complies with scikit-learn's development conventions (which you can
learn about from the docs and by going through similar prior PRs),
* ensure to only submit code you can explain and maintain, as you might need to defend
Copy link
Member

Choose a reason for hiding this comment

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

I think this may be included in the AI contributions section and honestly I am not sure writing this several times is not going to stop offending users. These people are unlikely to read or abide by this no matter how many times we write it...

Comment on lines +329 to +330
* ensure your PR complies with scikit-learn's development conventions (which you can
learn about from the docs and by going through similar prior PRs),
Copy link
Member

Choose a reason for hiding this comment

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

I feel like this is a bit vague and I think the PR checklist already does a reasonable job of discussing some of these conventions: https://scikit-learn.org/dev/developers/contributing.html#pull-request-checklist

Comment on lines +50 to +51
maintainer suggestions, and doing additional research if requested. If all
that sounds demanding, that's because it is, and if you are a [new
Copy link
Member

Choose a reason for hiding this comment

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

Not sure about how this phrase comes off: "if all that sounds demanding, that's because it is,"

clarifications and changes. Disclose any AI assistance per our
[Automated Contributions Policy](https://scikit-learn.org/dev/developers/contributing.html#automated-contributions-policy).
Scikit-learn maintainers cannot provide one-to-one guidance on this PR.
However, as a community that values helpful discussions, we encourage you to
Copy link
Member

Choose a reason for hiding this comment

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

This seems vague - helpful to whom? And I am worried someone will use this against us, because we don't have time to engage in discussions.

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.

2 participants