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
fix: add random parameter to get normal random for reproducibility
Add optional Random parameter to MathHelper.GetNormalRandom() method to allow callers to pass in a seeded Random instance, preventing the creation of new unseeded Random instances on each call which breaks reproducibility.
Update IQLAgent.cs to pass in its seeded _random instance when calling GetNormalRandom() at line 210, ensuring deterministic behavior for reproducible testing.
Without this fix, each call to GetNormalRandom created a new Random() instance, making it impossible to achieve reproducible results even when agents were initialized with a seed.
Addresses PR #481 review comment.
0 commit comments