eugenevinitsky / sequential_social_dilemma_games

Repo for reproduction of sequential social dilemmas
MIT License
384 stars 134 forks source link

bug(cleanup.py): probability computation did not perfectly match original env #139

Closed eugenevinitsky closed 5 years ago

eugenevinitsky commented 5 years ago

the computation probability was mistakenly: spawn_prob = (1 - (waste_density - thresholdRestoration)) / (thresholdDepletion - thresholdRestoration) \

instead of
spawn_prob = (1 - (waste_density - thresholdRestoration) / (thresholdDepletion - thresholdRestoration)) \