Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 0/1] zsh/random module
On 3/24/2024 09:11, Clinton Bunch wrote:
I am still working on the test harness. I'm thinking about using a C
program for analysis of shell output, but no current test harness does
anything like that. (long double would really be helpful for larger
bounds, 1-20 works, 1-100 causes overflows)
I'm struggling with a test for this module. I thought about doing a
statistical analysis (chi-square) of output, but I can't get a
successful p-value nearly 10% of the time. I tried doing the same with
return values from the base library functions and got similar bias, so
it appears I'd just be testing the randomness of the kernel PRNG rather
than compilation of code.
Anyone else have any ideas?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author