centreformicrosimulation / SimPaths

SimPaths is an open-source microsimulation framework for life course analysis, developed and maintained by CeMPA at the University of Essex
European Union Public License 1.2
7 stars 17 forks source link

enhance replicability of results #58

Open justin-ven opened 5 months ago

justin-ven commented 5 months ago

Simulation results do not appear to be replicated reliably when cohabitation alignments are enabled.

pbronka commented 5 months ago

Haven't had a chance to test but most likely caused by use of parallel stream and stream applied to set of persons. Need to switch to a list and some stream implementation that maintains order.