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
@oyamad asked me to expand my comment in #274 into an issue. Here it is.
A lot of tests currently depend on outcomes of simulations. In order to get reproducible results, the tests set seeds. However the random number streams are not guaranteed to be the same across Julia versions. This led to the problem visible in #274: a test suddenly broke on Julia 1.7 and above.
@oyamad asked me to expand my comment in #274 into an issue. Here it is.
A lot of tests currently depend on outcomes of simulations. In order to get reproducible results, the tests set
seed
s. However the random number streams are not guaranteed to be the same across Julia versions. This led to the problem visible in #274: a test suddenly broke on Julia 1.7 and above.In order to avoid this one can use the package https://github.com/JuliaRandom/StableRNGs.jl, which guarantees reproducible streams of random numbers across Julia versions.
I am afraid that this would require rewriting some of the functionality of this package to accept an
RNG
as inThe text was updated successfully, but these errors were encountered: