Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hard-code numerical tests for randomly-generated data #138

Merged
merged 5 commits into from
Oct 24, 2024

Conversation

mtanneau
Copy link
Contributor

@mtanneau mtanneau commented Oct 24, 2024

This should be the last thing to finally un-break CI 🤞

This PR removes hard-coded randomly-generated values, which have been triggering countless CI failures, and are a pain to maintain in the long run. It also replaces MersenneTwister random number generators with StableRNG for unit tests; this is to reduce the risk of a silent change to MersenneTwister somehow affecting unit tests.

Note that we should still use MersenneTwister when generating datasets.

@mtanneau mtanneau mentioned this pull request Oct 24, 2024
17 tasks
@mtanneau mtanneau requested a review from klamike October 24, 2024 17:09
test/sampler.jl Outdated Show resolved Hide resolved
Co-authored-by: Michael Klamkin <klamike@users.noreply.github.com>
Copy link

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

@mtanneau mtanneau merged commit 37573e6 into mk/vector-formulations Oct 24, 2024
4 checks passed
@mtanneau mtanneau deleted the mt/remove-random-data-checks branch October 24, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants