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

Mislabeled buckets? #5

Closed
JamieBallingall opened this issue Aug 8, 2023 · 1 comment
Closed

Mislabeled buckets? #5

JamieBallingall opened this issue Aug 8, 2023 · 1 comment

Comments

@JamieBallingall
Copy link

If I ask dice.run for information about 2d51 I get a distribution ranging from 2 to to 102 with a mode of 52, which is correct. However, if ask dice.run about 2d52 it says that the lowest value bucket is 2-3, the highest is 206-207 and the mode is 104-105. The lowest bucket is correct but the highest and modal buckets are about twice what they should be.

Something similar happens with 3d34 (correct) and 3d35 (about double).

The problem gets worse for higher dice rolls. 10d100 should have a mode of around 505 but shows something like 5050-5059 as the mode.

So these seems to be related to the labeling of the distributions. The error increases linearly with the bucket size. This is supported by the fact that the random result generator is unaffected and correctly generates values in range.

@fponticelli
Copy link
Owner

This should be fixed now. Thank you!

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

No branches or pull requests

2 participants