Repository navigation
TST/CI fix all global_random_see in test_spectral_biclustering - #35063
Merged
ogrisel merged 4 commits intoOct 13, 2026
Merged
Conversation
cakedev0
approved these changes
Oct 5, 2026
OmarManzoor
reviewed
Oct 12, 2026
Contributor
There was a problem hiding this comment.
Thanks for the PR @lorentzenchr
Can you please add a commit with [all random seeds] for this particular test?
StefanieSenger
approved these changes
Oct 13, 2026
StefanieSenger
left a comment
Member
There was a problem hiding this comment.
This looks alright. The CI failures are unrelated. We cannot merge despite, but if you push a usual empty commit without the [all random seeds] flag, we can merge afterwards.
ogrisel
approved these changes
Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reference Issues/PRs
Found in #34961 (comment).
What does this implement/fix? Explain your changes.
SKLEARN_TESTS_GLOBAL_RANDOM_SEED="all" pytest -x sklearn/cluster/tests/test_bicluster.py::test_spectral_biclusteringfailed with random seed 97.The fix was setting
n_initfrom 3 to 5This PR also modernizes the test by using
@pytest.mark.parametrize.AI usage disclosure
None
Any other comments?