Repository navigation
TST/CI fix test_cython_solver_early_stopping to pass all random seeds in CI - #34961
Conversation
|
@lesteve You might be interested.
So this PR is a net improvement. |
There was a problem hiding this comment.
Thank you @lorentzenchr!
From what I understand here we make the test looser, so it can pass more generally on different data. The failing checks on [all random seeds] are indeed not a problem, because this touches other tests.
I'd have two comments:
-
Can we change the comment that says "# avoid all zeros" into something like "# assert if first fit is meaningful", or similar?
-
I think we should also apply
global_random_seedon this test and use it inmake_regressionbecause we want all our tests to be reproducible.
|
Thanks for the PR @lorentzenchr!
Yep, definitely agree with this. Let's use
I am not interested, don't try to nerd-snipe me into a CI wild goose chase 😅. I think we both agree that it's not worth chasing these
|
|
If you really want to, I guess we could do something like this, PR welcome 😉 (I definitely don't think this is very important, so no pressure):
The naming could be different |
|
A variant of this was seens in wheel tests as well, so it'd be nice to fix it, see build log |
|
@lorentzenchr I just refrained myself very hard to do it myself and to push into your branch directly, because I wasn't 100% sure how you would feel about it 😉. |
|
Merging, thanks! |
Reference Issues/PRs
Fixes #34732.
What does this implement/fix? Explain your changes.
AI usage disclosure
None