NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Writing tests for random functions (Score:1)
Pseudo code for an inadequate number of tests of an imaginary model, assumed not unlike a bell-curve - your mileage WILL vary -
The classical references on this are Knuth http://isbn.nu/0201896842 [isbn.nu], and then GG&M JACM 1986 [psu.edu] and B&M SIAM JoC [psu.edu]; ACM CALGO [acm.org] has good stuff buried in it too. WikiPedia [wikipedia.org] has reference & short summary of the German standard for rating random functions; and the US NIST standard [nist.gov] is voluminous, with test info.
Just remember
Bill
# I had a sig when sigs were cool
use Sig;
Reply to This
Re: (Score:2)
Interesting. I was just talking to a coworker about that. It's been years since statistics classes and I was struggling to remember the formulae involved in calculating what I was interested in. I wasn't thinking of a distribution under a bell curve so much as I was thinking "if X might not be correct, how many times do I need to calculate X to ensure the odds of it being incorrect are acceptably minimized?" More inportantly, I can't have randomly failing tests, but I'm quite happy to have a test which