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
{{ message }}
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
The procedures GetNondeterministicBooleanChoice and GetNondeterministicIntegerChoice do the following: new Random(DateTime.Now.Millisecond). The use of DateTime.Now.Millisecond results in loss of randomness when the calls are close together in time, and in general only 1000 possible random values can be generated.
StateMachineRuntime should have its own random generator that is used over its entire lifetime. And initialized using the default constructor.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The procedures
GetNondeterministicBooleanChoice
andGetNondeterministicIntegerChoice
do the following:new Random(DateTime.Now.Millisecond)
. The use ofDateTime.Now.Millisecond
results in loss of randomness when the calls are close together in time, and in general only1000
possible random values can be generated.StateMachineRuntime
should have its own random generator that is used over its entire lifetime. And initialized using the default constructor.The text was updated successfully, but these errors were encountered: