Skip to content

Fix reparam resuming #406

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 8 commits into from
Aug 6, 2024
Merged

Fix reparam resuming #406

merged 8 commits into from
Aug 6, 2024

Conversation

mj-will
Copy link
Owner

@mj-will mj-will commented Aug 6, 2024

The issue in #405 was most likely due to the reparameterisations not being correctly initialised when resuming the sampler. This PR fixes this by pickling the reparameterisations with the proposal and no longer reinitialising them.

To-do

  • Add tests

mj-will added 3 commits August 6, 2024 11:30
- Reparameterisations are now pickled with the proposal object rather than being reinitialised
- The `resumed` argument has been added to `initialise`
@mj-will mj-will added the bug Something isn't working label Aug 6, 2024
@mj-will mj-will added this to the v0.13.0 milestone Aug 6, 2024
Copy link

codecov bot commented Aug 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.51%. Comparing base (4d53599) to head (96a7a64).
Report is 158 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #406      +/-   ##
==========================================
- Coverage   93.52%   93.51%   -0.01%     
==========================================
  Files          67       67              
  Lines        6637     6633       -4     
==========================================
- Hits         6207     6203       -4     
  Misses        430      430              
Flag Coverage Δ
unittests 93.51% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mj-will mj-will merged commit ab6f5aa into main Aug 6, 2024
30 checks passed
@mj-will mj-will deleted the fix-reparam-resuming branch August 8, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant