Determinism between versions
- Dominant language
- Haskell
- Stars
- 61
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
Is there a policy regarding whether two versions of the library will generate the same pseudo-random values given the same seed, or any other way to tell whether switching from one version to another will preserve behavior? I couldn't find any relevant description in the change log.
For example, client software that assumes that the same pseudo-random sequence is always generated for a given seed will break when upgrading mwc-random if the determinism is not preserved between the old and new versions, and the user needs to know whether a given mwc-random upgrade is safe in this regard.
Today, after switching stack resolver from lts-15 to nightly-2022-06-10, I noticed that my app that does random sampling with controlled seed behaved differently. In the end, I found out that the difference is due to the mwc-random version change from 0.14.0.0 to 0.15.0.2
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.