acme (email not shown publicly)
http://www.astray.com/
Leon Brocard (aka acme) is an orange-loving Perl eurohacker with many varied contributions to the Perl community, including the GraphViz module on the CPAN. YAPC::Europe was all his fault. He is still looking for a Perl Monger group he can start which begins with the letter 'D'.
I've had this problem too ... (Score:2)
Re:I've had this problem too ... (Score:1)
Re:I've had this problem too ... (Score:2)
What I really need to test is that I'm not introducing any bias to the data between me getting truly random data from the source and me presenting it to the programmer. My code manipulates the random data to do things like only produce values within a particular range. I have convinced myself that I'm probably OK, but I *need* regression tests for this.
Example: Tie::Hash::Cannaboli (Score:2)
If its the latter, say you're developing Crypt::Random or checking that
The former is more common. How do I test non-deterministic behavior?
Seeing as how Dave Cross bought my testing services for Tie::Hash::Cannabinol at a YAPC auction way back when, let's use that as an example.
Tie::Hash::Cannabinol is
Re:I've had this problem too ... (Score:1)
I need to test a module whose output is meant to be truly random.
I've used Statistics::ChiSquare [cpan.org] for this in the past, and it worked quite well. It was originally written by the very-large-brained Jon Orwant, and is currently maintained by David Cantrell.
--Bill