-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cash balance #3
Comments
It seems like mesa (or perhaps the visualizer) is getting ahead of itself or is not completely flushing old data. This abnormality could be related to why hitting the reset button does not completely update everything. |
It seems the 'reset flow' (from Javascript to def reset_model() in ModularVisualization.py) tries to do what it is supposed to. I do not think Mesa itself stores any data beyond the temporary process. My guess is the culprit is what Mesa import, esp. tornado. We may ask the developers. |
Does giving -B option (e.g. python -B ./server.py) works? In my environment, it is not perfect but appears to do. But, we still have the 'reset issue'; i.e. when keep resetting, it gradually reduces the number of survivors. See the log file. |
The cause of dwindling survivors seems to be a failure of initializing the prices. L.70 main.py, we set them equal to 2, but as we keep resetting, it seems Step1 prices start with something increasingly smaller than 2. hmm... |
Looking through the log you sent, it appears that when the model is reset, On Tue, Apr 12, 2016 at 11:33 PM, Yuji Saikai [email protected]
|
I have got, thus far, the best statistic. When the anomaly happens, close and relaunch the shell. This fixes it so far 100%. It seems like due to the Python interpreter. We are closing in. |
For some reason, the update of cash balance (L.369 main.py) fails erratically. It seems to me literally erratic. When it happens, I terminate the process in the console and re-run it (i.e. main.py, schedule.py, and reload http:localhost:8888). This does not necessarily fix it, but sometimes do. I have no idea what is going on...
The text was updated successfully, but these errors were encountered: