test_rand

module
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2023 License: MIT

README

Random Number Distribution Test

Generate code coverage badge

Summary

For 1000 iterations, calculate a random number between 0-99, and if the number is less than 30, it is a challenger, otherwise a champion.

Take the challenger numbers, and calculate if how close they are to 30% of the population.

Check the population standard deviation as a measure of closeness.

Sample Output

Mean: 29.944000
Standard Deviation (σ): 1.421142
Min: 26.200000
Max: 34.200000

Directories

Path Synopsis
cmd
checker command
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL