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

Add RandomWordSampler for infinite groups #54

Merged
merged 4 commits into from
Nov 19, 2024
Merged

Conversation

kalmarek
Copy link
Owner

PRASampler is a bad default for infinite groups as it generates exponential long words leading to OOM situations on simple rand(M, 2) calls

@codecov-commenter
Copy link

codecov-commenter commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.70%. Comparing base (2f95567) to head (79486a5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #54      +/-   ##
==========================================
+ Coverage   97.14%   98.70%   +1.55%     
==========================================
  Files           5        5              
  Lines         140      154      +14     
==========================================
+ Hits          136      152      +16     
+ Misses          4        2       -2     

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


🚨 Try these New Features:

@kalmarek kalmarek merged commit af66302 into main Nov 19, 2024
4 checks passed
@kalmarek kalmarek deleted the mk/poisson_sampler branch November 19, 2024 14:19
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.

2 participants