You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which seems correct at first sight, but something somehow gets screwed up.
We should add a test for some statistics about random numbers, with high enough tolerance to always pass (say probability of failing 10e-10, or something like that), but fail on obvious cases like the above.
It looks like we should implement a Kolmogorov-Smirnov test, and we can use SciPy's kstest to check that we implemented it correctly.
The text was updated successfully, but these errors were encountered:
With #2318 we can now set the seed. The following program:
prints:
Those are not random numbers. The implementation is:
Which seems correct at first sight, but something somehow gets screwed up.
We should add a test for some statistics about random numbers, with high enough tolerance to always pass (say probability of failing 10e-10, or something like that), but fail on obvious cases like the above.
It looks like we should implement a Kolmogorov-Smirnov test, and we can use SciPy's kstest to check that we implemented it correctly.
The text was updated successfully, but these errors were encountered: