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

feat: Allow for adjustable boolean probability #42

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

kentquirk
Copy link
Collaborator

Which problem is this PR solving?

  • Sometimes you don't want a bool to be a coinflip. This allows specifying the probability of truth.

Short description of the changes

  • Add optional probability of truth, default to 50%.

@kentquirk kentquirk requested a review from a team as a code owner January 16, 2024 23:36
@kentquirk kentquirk merged commit df761a1 into main Jan 17, 2024
3 checks passed
@kentquirk kentquirk deleted the kent.adjustable_bool branch January 17, 2024 01:54
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