nkremerh / sugarscape

Development repository for the Digital Terraria Lab implementation of the Sugarscape agent-based societal simulation.
https://github.com/digital-terraria-lab/sugarscape
MIT License
7 stars 12 forks source link

Fixes index mismatch between cell and environment causing breaks #61

Closed colinhanrahan closed 4 months ago

colinhanrahan commented 5 months ago

Current repo:

This PR:

nkremerh commented 4 months ago

Going to add testing and validating this as an exercise for the first week of research work. Stay tuned.

nkremerh commented 4 months ago

Confirmed nearly identical trends across 50 seeds out to 1k timesteps.

colinhanrahan commented 4 months ago

Note: determinism with the current repo is maintained without the north-south switch. The only difference with the north-south switch is that the order of neighbor cells is slightly different, so it will still be slightly different after shuffles.