I am using dieHarder tool (version 3.31.1 on Ubuntu) with ASCII format input files to test for randomness for unsigned integers that are in the range 0-63. I am running the following command:
_dieharder -a -g 202 -f <ASCII_formatted_file_name>_
Majority of the tests pass when I try about 10 million unsigned numbers between 0 – 4 294 967 295 (max value) in ASCII format. However, none of the tests pass when I restrict the unsigned random number range between 0-63 (generated using same RNG). I have tried with file that had 300 million numbers too and the tests are still failing. Here’s the different version of metadata that I have used in ASCII formatted file (10 million random numbers between 0-63 range) and tests have failed for all of them:
#=====================================
#**Python generator**
#======================================
type: u
count: 10000000
numbit: 6
I have tried with combination of d as type and numbit as 32 too.
Questions:
- What should be the metadata here (type, count, numbit) for numbers between 0-63?
- What should be the minimum size of data?
- Does dieharder need wider range of numbers?
- Anything else that I can try?