Skip to content

Make all MLDA tests deterministic #4313

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

Merged
merged 1 commit into from
Dec 8, 2020

Conversation

mikkelbue
Copy link
Contributor

I have added random_seed arguments to the sampler in three different MLDA tests in test_step.py, where they were missing. test_nonparallelized_chains_are_random, test_parallelized_chains_are_random and test_acceptance_rate_against_coarseness.

This is a response to #4267

@MarcoGorelli mentioned that the issue seemed to be resolved after removing parallel testing, but here is a PR anyway, in case you want to merge these changes.

@codecov
Copy link

codecov bot commented Dec 8, 2020

Codecov Report

Merging #4313 (4515894) into master (a9806db) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4313   +/-   ##
=======================================
  Coverage   87.57%   87.57%           
=======================================
  Files          88       88           
  Lines       14274    14274           
=======================================
  Hits        12500    12500           
  Misses       1774     1774           

@twiecki twiecki requested a review from MarcoGorelli December 8, 2020 12:28
Copy link
Contributor

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

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

cool, thanks @mikkelbue and @gmingas !

@twiecki twiecki merged commit 6a299a3 into pymc-devs:master Dec 8, 2020
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.

3 participants