-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Same dataset, same seed -> different results ... #30
Comments
Hum... Another random number leaking in perspective 😢 Hope it's not too difficult to find. |
Passing the same seed to different simulations, with the same dataset, I was able to reproduce it... See the results I obtain when asking the simulations to write the cycle followed by a list of 5 random values:
It diverges at cycle 12 in that case (sometimes sooner when more simulations are created). |
After a bit of investigation, deactivating the move of individuals from one building to another (in |
Deactivating the line
solves the problem... So the leaking is somehow related to the management of list/containers... |
- COMOKIT/COMOKIT-Model#31 - COMOKIT/COMOKIT-Model#30 - Rationalizes the calls to 'shuffle' and 'shuffleInPlace'
Should be fixed in gama-platform/gama@ac17bc3 |
I create (in COMOKIT Template Project) a new model from the template
Case Studies Comparison.template
without any modification.In the
datasets
folder, I copy theSample
dataset from COMOKIT and paste it twice in thedatasets
folder of COMIKIT Template Project.I have a model, with the same datasets, and the same seed for both simulations, so I was expecting exactly the same results in both simulations.
Nevertheless the plot shows difference...
The text was updated successfully, but these errors were encountered: