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

Partially revert #5131 #5135

Merged
merged 1 commit into from
Nov 5, 2021
Merged

Partially revert #5131 #5135

merged 1 commit into from
Nov 5, 2021

Conversation

ricardoV94
Copy link
Member

This PR re-allows Metropolis proposals to depend on global seeding by default.

Unfortunately the sampling/step API (and test suite) is strongly dependent on global random seeding. I am partially reverting some changes from #5131, which led to flaky tests.

Closes #5134

Allow Metropolis proposals to depend on global seeding by default
@codecov
Copy link

codecov bot commented Nov 4, 2021

Codecov Report

Merging #5135 (c75583a) into main (21e1998) will decrease coverage by 0.00%.
The diff coverage is 70.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5135      +/-   ##
==========================================
- Coverage   77.74%   77.74%   -0.01%     
==========================================
  Files          88       88              
  Lines       14100    14098       -2     
==========================================
- Hits        10962    10960       -2     
  Misses       3138     3138              
Impacted Files Coverage Δ
pymc/step_methods/metropolis.py 82.83% <70.00%> (-0.08%) ⬇️

@ricardoV94 ricardoV94 requested a review from twiecki November 4, 2021 21:23
@twiecki twiecki merged commit b8e1dbe into pymc-devs:main Nov 5, 2021
@ricardoV94 ricardoV94 deleted the fix_5134 branch June 6, 2023 02:57
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.

Fix regression in test_step caused by #5131
2 participants