Skip to content

random weighted cat choice #280

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

Merged
merged 5 commits into from
Jun 26, 2024
Merged

random weighted cat choice #280

merged 5 commits into from
Jun 26, 2024

Conversation

bovard
Copy link
Member

@bovard bovard commented Jun 26, 2024

Instead of randomly selecting the category, select it based on a weighted choice based on the number of words in the category

@bovard bovard requested a review from dster2 June 26, 2024 20:55
Copy link
Contributor

@dster2 dster2 left a comment

Choose a reason for hiding this comment

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

Nice, thanks Bovard!

@bovard bovard merged commit 7ef0399 into master Jun 26, 2024
4 checks passed
@bovard bovard deleted the weighted-random branch June 26, 2024 21:39
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