neherlab / covid19_scenarios

Models of COVID-19 outbreak trajectories and hospital demand
https://covid19-scenarios.org
MIT License
1.36k stars 354 forks source link

Simulation plot changes every time refresh is pressed. #717

Closed dzid26 closed 4 years ago

dzid26 commented 4 years ago

🐛 Bug Report

How to reproduce

Steps to reproduce the issue:

  1. Open the application in a browser
  2. Press refresh
  3. Press refresh again

😯 Current Behavior

After refreshing the simulation plot changes with vastly different results: image And then (after no values changed): image

🤔 Expected Behavior

After refreshing, without changing any value, the same simulation plot is expected to be produced

💁 Possible Solution

No idea. I think this problem started appearing since the new interface was released

🔦 Context

Trying to simulate anything at this point.

🌍 Your Environment

Windows10. Tried Chrome and Edge (no extensions).

dzid26 commented 4 years ago

Nevermind. I realized you randomize the seed each time.