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

Tweak default max_proposals limit #16

Merged
merged 5 commits into from
Nov 30, 2024
Merged

Conversation

Red-Portal
Copy link
Member

@Red-Portal Red-Portal commented Nov 30, 2024

This PR tightens the limit on the number of proposals so that SliceSampling doesn't hang in case a degenerate model is supplied. The default value is an acceptance rate of 0.01%.

Copy link

codecov bot commented Nov 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.61%. Comparing base (e5415c4) to head (a28b21a).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   94.27%   94.61%   +0.33%     
==========================================
  Files          10       10              
  Lines         332      334       +2     
==========================================
+ Hits          313      316       +3     
+ Misses         19       18       -1     

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

@Red-Portal Red-Portal merged commit 7b261ae into main Nov 30, 2024
8 checks passed
@Red-Portal Red-Portal deleted the tighten_default_max_props branch November 30, 2024 21:36
@Red-Portal Red-Portal restored the tighten_default_max_props branch November 30, 2024 21:36
@Red-Portal Red-Portal deleted the tighten_default_max_props branch November 30, 2024 21:36
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.

1 participant