Describe the Bug
Simulations are not repeatable due to differences in handling floating point operations between operating systems.
Steps To Reproduce
- Run the integrated test suite on a windows machine
- Enter WSL
- Run the exact same tests and some of them will now fail
Expected Behavior
Behavior should be standardized between different environments.
Environment
Please provide some details about your environment to help us replicate the bug:
- Operating System: Windows 11, Ubuntu 24.04
- Python Version: Python 3.11.10
Additional Details (If Applicable)
Float rounding can be non-deterministic and NumPy will switch between 32-bit and 64-bit floats by default depending on the system. The combination of these two factors can make reproducing data using identical configurations on two different systems impossible.
A good solution may be to standardize 32/64-bit for all values and to add some amount of deterministic rounding to eliminate non-deterministic properties from the results.
Describe the Bug
Simulations are not repeatable due to differences in handling floating point operations between operating systems.
Steps To Reproduce
Expected Behavior
Behavior should be standardized between different environments.
Environment
Please provide some details about your environment to help us replicate the bug:
Additional Details (If Applicable)
Float rounding can be non-deterministic and NumPy will switch between 32-bit and 64-bit floats by default depending on the system. The combination of these two factors can make reproducing data using identical configurations on two different systems impossible.
A good solution may be to standardize 32/64-bit for all values and to add some amount of deterministic rounding to eliminate non-deterministic properties from the results.