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

Update integration tests for new DynamicHMC versions #99

Merged
merged 2 commits into from
Nov 2, 2022

Conversation

burtonjosh
Copy link
Contributor

Noticed that some of the integration tests weren't passing, looks like at some point the chain field has been renamed to posterior_matrix in AdvancedHMC. Also the mean_and_mcse function was not working "per parameter" so I made some changes to fix that.

@sethaxen sethaxen self-requested a review November 2, 2022 15:21
Copy link
Member

@sethaxen sethaxen left a comment

Choose a reason for hiding this comment

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

Thanks @burtonjosh for the PR! LGTM, just one tiny whitespace change.

Relates #90

test/integration/DynamicHMC/runtests.jl Outdated Show resolved Hide resolved
@burtonjosh burtonjosh closed this Nov 2, 2022
@burtonjosh burtonjosh reopened this Nov 2, 2022
@codecov-commenter
Copy link

codecov-commenter commented Nov 2, 2022

Codecov Report

Base: 87.95% // Head: 92.74% // Increases project coverage by +4.79% 🎉

Coverage data is based on head (38bbf8d) compared to base (49be506).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #99      +/-   ##
==========================================
+ Coverage   87.95%   92.74%   +4.79%     
==========================================
  Files          13       13              
  Lines         523      524       +1     
==========================================
+ Hits          460      486      +26     
+ Misses         63       38      -25     
Impacted Files Coverage Δ
src/integration/dynamichmc.jl 100.00% <0.00%> (+100.00%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sethaxen sethaxen changed the title updated chains to posterior_matrix and fixed mean_and_mcse function Update integration tests for new DynamicHMC versions Nov 2, 2022
@sethaxen sethaxen merged commit 264587e into mlcolab:main Nov 2, 2022
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