Skip to content

Allow multiple trials for Lookahead logistic regression test - #456

Merged
rcurtin merged 2 commits into
mlpack:masterfrom
rcurtin:lookahead-test-tol-fix
May 1, 2026
Merged

Allow multiple trials for Lookahead logistic regression test#456
rcurtin merged 2 commits into
mlpack:masterfrom
rcurtin:lookahead-test-tol-fix

Conversation

@rcurtin

@rcurtin rcurtin commented May 1, 2026

Copy link
Copy Markdown
Member

I saw in another PR that this test randomly failed and was a little bit disappointed because of the time I spent last summer tuning all the test suites so they had no test failures in 1000 runs. So, I ran the test locally another 1000 times and saw one failure... an easy fix is just to allow multiple trials for the logistic regression test, so I did that, and in ~4k trials I saw no failures.

@zoq zoq 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.

Easy review.

@eddelbuettel eddelbuettel 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.

Nice trick to fall victim to an unlucky (and rare) RNG draw

@rcurtin
rcurtin merged commit 69b2e9f into mlpack:master May 1, 2026
1 of 6 checks passed
@rcurtin
rcurtin deleted the lookahead-test-tol-fix branch May 1, 2026 17:33
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.

3 participants