-
Notifications
You must be signed in to change notification settings - Fork 109
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 randomness tests #125
Labels
Comments
The dieharder test suite is passing with a small modification in |
moodmosaic
added a commit
to moodmosaic/haskell-hedgehog
that referenced
this issue
Apr 25, 2018
Dieharder.hs is a stripped-down version of https://github.com/phadej/splitmix/blob/90265357da5c8660f1d488018743c9ef78a057ca/tests/Dieharder.hs This resolves hedgehogqa#125 --- #=============================================================================# # dieharder version 3.31.1 Copyright 2003 Robert G. Brown # #=============================================================================# rng_name |rands/second| Seed | stdin_input_raw| 7.67e+05 |1245981391| #=============================================================================# test_name |ntup| tsamples |psamples| p-value |Assessment #=============================================================================# diehard_birthdays| 0| 100| 100|0.62096971| PASSED diehard_operm5| 0| 1000000| 100|0.23097534| PASSED diehard_rank_32x32| 0| 40000| 100|0.95626528| PASSED diehard_rank_6x8| 0| 100000| 100|0.04235979| PASSED diehard_bitstream| 0| 2097152| 100|0.76136637| PASSED diehard_opso| 0| 2097152| 100|0.88265649| PASSED diehard_oqso| 0| 2097152| 100|0.92697151| PASSED diehard_dna| 0| 2097152| 100|0.34275575| PASSED diehard_count_1s_str| 0| 256000| 100|0.64486489| PASSED diehard_count_1s_byt| 0| 256000| 100|0.70229216| PASSED diehard_parking_lot| 0| 12000| 100|0.02419162| PASSED diehard_2dsphere| 2| 8000| 100|0.97049093| PASSED diehard_3dsphere| 3| 4000| 100|0.50412381| PASSED diehard_squeeze| 0| 100000| 100|0.40154000| PASSED diehard_sums| 0| 100| 100|0.64871070| PASSED diehard_runs| 0| 100000| 100|0.93363421| PASSED diehard_runs| 0| 100000| 100|0.30140282| PASSED diehard_craps| 0| 200000| 100|0.87190895| PASSED diehard_craps| 0| 200000| 100|0.66487761| PASSED marsaglia_tsang_gcd| 0| 10000000| 100|0.04147272| PASSED marsaglia_tsang_gcd| 0| 10000000| 100|0.78166450| PASSED sts_monobit| 1| 100000| 100|0.92112607| PASSED sts_runs| 2| 100000| 100|0.37686964| PASSED sts_serial| 1| 100000| 100|0.04358078| PASSED sts_serial| 2| 100000| 100|0.49845339| PASSED sts_serial| 3| 100000| 100|0.91294020| PASSED sts_serial| 3| 100000| 100|0.86176185| PASSED sts_serial| 4| 100000| 100|0.03010210| PASSED sts_serial| 4| 100000| 100|0.41174143| PASSED sts_serial| 5| 100000| 100|0.02834762| PASSED sts_serial| 5| 100000| 100|0.21268216| PASSED sts_serial| 6| 100000| 100|0.74909151| PASSED sts_serial| 6| 100000| 100|0.43482933| PASSED sts_serial| 7| 100000| 100|0.80783010| PASSED sts_serial| 7| 100000| 100|0.28102273| PASSED sts_serial| 8| 100000| 100|0.14895957| PASSED sts_serial| 8| 100000| 100|0.25212730| PASSED sts_serial| 9| 100000| 100|0.75431325| PASSED sts_serial| 9| 100000| 100|0.94511171| PASSED sts_serial| 10| 100000| 100|0.85991506| PASSED sts_serial| 10| 100000| 100|0.91400059| PASSED sts_serial| 11| 100000| 100|0.96657331| PASSED sts_serial| 11| 100000| 100|0.72122456| PASSED sts_serial| 12| 100000| 100|0.68120818| PASSED sts_serial| 12| 100000| 100|0.97133975| PASSED sts_serial| 13| 100000| 100|0.70687916| PASSED sts_serial| 13| 100000| 100|0.88842304| PASSED sts_serial| 14| 100000| 100|0.96163008| PASSED sts_serial| 14| 100000| 100|0.97644914| PASSED sts_serial| 15| 100000| 100|0.14086975| PASSED sts_serial| 15| 100000| 100|0.06416294| PASSED sts_serial| 16| 100000| 100|0.67164237| PASSED sts_serial| 16| 100000| 100|0.83797332| PASSED rgb_bitdist| 1| 100000| 100|0.61691580| PASSED rgb_bitdist| 2| 100000| 100|0.14396964| PASSED rgb_bitdist| 3| 100000| 100|0.93838604| PASSED rgb_bitdist| 4| 100000| 100|0.55099912| PASSED rgb_bitdist| 5| 100000| 100|0.76401247| PASSED rgb_bitdist| 6| 100000| 100|0.96027992| PASSED rgb_bitdist| 7| 100000| 100|0.38407455| PASSED rgb_bitdist| 8| 100000| 100|0.38240500| PASSED rgb_bitdist| 9| 100000| 100|0.45690609| PASSED rgb_bitdist| 10| 100000| 100|0.15835176| PASSED rgb_bitdist| 11| 100000| 100|0.47262302| PASSED rgb_bitdist| 12| 100000| 100|0.58695482| PASSED rgb_minimum_distance| 2| 10000| 1000|0.26323324| PASSED rgb_minimum_distance| 3| 10000| 1000|0.21874625| PASSED rgb_minimum_distance| 4| 10000| 1000|0.88552062| PASSED rgb_minimum_distance| 5| 10000| 1000|0.00538393| PASSED rgb_permutations| 2| 100000| 100|0.70997391| PASSED rgb_permutations| 3| 100000| 100|0.95190535| PASSED rgb_permutations| 4| 100000| 100|0.02389875| PASSED rgb_permutations| 5| 100000| 100|0.73251256| PASSED rgb_lagged_sum| 0| 1000000| 100|0.72224411| PASSED rgb_lagged_sum| 1| 1000000| 100|0.93320596| PASSED rgb_lagged_sum| 2| 1000000| 100|0.24968508| PASSED rgb_lagged_sum| 3| 1000000| 100|0.58308433| PASSED rgb_lagged_sum| 4| 1000000| 100|0.90405840| PASSED rgb_lagged_sum| 5| 1000000| 100|0.98546882| PASSED rgb_lagged_sum| 6| 1000000| 100|0.36086793| PASSED rgb_lagged_sum| 7| 1000000| 100|0.88945117| PASSED rgb_lagged_sum| 8| 1000000| 100|0.98947964| PASSED rgb_lagged_sum| 9| 1000000| 100|0.70665306| PASSED rgb_lagged_sum| 10| 1000000| 100|0.13910580| PASSED rgb_lagged_sum| 11| 1000000| 100|0.24561692| PASSED rgb_lagged_sum| 12| 1000000| 100|0.04007926| PASSED rgb_lagged_sum| 13| 1000000| 100|0.66960002| PASSED rgb_lagged_sum| 14| 1000000| 100|0.42752192| PASSED rgb_lagged_sum| 15| 1000000| 100|0.74997293| PASSED rgb_lagged_sum| 16| 1000000| 100|0.67430353| PASSED ...
moodmosaic
added a commit
to moodmosaic/haskell-hedgehog
that referenced
this issue
Apr 25, 2018
Dieharder.hs is a stripped-down version of https://github.com/phadej/splitmix/blob/90265357da5c8660f1d488018743c9ef78a057ca/tests/Dieharder.hs This resolves hedgehogqa#125
moodmosaic
added a commit
to moodmosaic/haskell-hedgehog
that referenced
this issue
Apr 25, 2018
Dieharder.hs is a stripped-down version of https://github.com/phadej/splitmix/blob/90265357da5c8660f1d488018743c9ef78a057ca/tests/Dieharder.hs This resolves hedgehogqa#125
moodmosaic
added a commit
to moodmosaic/haskell-hedgehog
that referenced
this issue
Apr 26, 2018
This is a stripped-down version of https://github.com/phadej/splitmix/blob/90265357da5c8660f1d488018743c9ef78a057ca/tests/Dieharder.hs Resolves hedgehogqa#125
moodmosaic
added a commit
to moodmosaic/haskell-hedgehog
that referenced
this issue
Apr 26, 2018
This is a stripped-down version of https://github.com/phadej/splitmix/blob/90265357da5c8660f1d488018743c9ef78a057ca/tests/Dieharder.hs Resolves hedgehogqa#125
moodmosaic
added a commit
to moodmosaic/haskell-hedgehog
that referenced
this issue
Apr 27, 2018
This is a stripped-down version of https://github.com/phadej/splitmix/blob/90265357da5c8660f1d488018743c9ef78a057ca/tests/Dieharder.hs Resolves hedgehogqa#125
moodmosaic
added a commit
to moodmosaic/haskell-hedgehog
that referenced
this issue
Apr 27, 2018
This is a stripped-down version of https://github.com/phadej/splitmix/blob/90265357da5c8660f1d488018743c9ef78a057ca/tests/Dieharder.hs Resolves hedgehogqa#125
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Triggered by a discussion I had with @jystic related to #124.
See https://en.wikipedia.org/wiki/Randomness_tests and particularly
The text was updated successfully, but these errors were encountered: