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

Clean up sampling tests #1486

Merged
merged 11 commits into from
Oct 18, 2024
Merged

Clean up sampling tests #1486

merged 11 commits into from
Oct 18, 2024

Conversation

PaulJonasJost
Copy link
Collaborator

  • Moved problem definitions into a utility file
  • Sped up Dynasty sampling in pipeline (kudos to Jonas)
  • Removed the separated modes test, as it was less of a test, more of a showcase - covered in sampler_study.ipyn
  • Moved harmonic mean to other evidence calculations

Should speed up most of the very slow tests in base, clean up the code and thereby adress #1475

@codecov-commenter
Copy link

codecov-commenter commented Oct 10, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.87%. Comparing base (2eee081) to head (d6353c4).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1486      +/-   ##
===========================================
- Coverage    82.88%   82.87%   -0.02%     
===========================================
  Files          163      163              
  Lines        13786    13786              
===========================================
- Hits         11427    11425       -2     
- Misses        2359     2361       +2     

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

Copy link
Contributor

@Doresic Doresic left a comment

Choose a reason for hiding this comment

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

Looks good to me!
Thanks

Copy link
Contributor

@arrjon arrjon left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@dilpath dilpath left a comment

Choose a reason for hiding this comment

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

Thanks for the many improvements, including speeding things up! I don't think this addresses some of the unnecessary computation and non-deterministic behavior described in #1475 , but that can be revisited if failing tests become an issue again. Fine to merge and close/leave open that issue as you like.

@PaulJonasJost PaulJonasJost added this pull request to the merge queue Oct 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 17, 2024
@PaulJonasJost PaulJonasJost added this pull request to the merge queue Oct 18, 2024
Merged via the queue into develop with commit 58c7b5f Oct 18, 2024
18 checks passed
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.

5 participants