Skip to content
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

document hawk/dove convergence logic and include converged status in data collection #61

Closed
4 tasks done
rlskoeser opened this issue Jan 18, 2024 · 2 comments
Closed
4 tasks done
Assignees

Comments

@rlskoeser
Copy link
Contributor

rlskoeser commented Jan 18, 2024

  • update readme to include brief description of convergence logic
  • add status to model data collection (converged/running) so it is easy to check if batch runs completed
  • see if there's an easy way to display convergence status in mesa interface (near the steps in the sidebar if possible)
  • try to determine typical convergence for the longer + more complicated runs included in our batch runs, so we can set a reasonable upper bound
@rlskoeser rlskoeser added the 🛠️ chore One-off task or update label Jan 18, 2024
@rlskoeser rlskoeser self-assigned this Jan 25, 2024
@rlskoeser
Copy link
Contributor Author

@LaraBuchak I looked into options for displaying the status of the simulation (running or converged) so you'd know why it stopped. I can't put it where I'd prefer to; could you let me know if the easy option would be useful for you?

I would much prefer to display the status in the sidebar, something like this:

Screenshot 2024-01-25 at 5 52 23 PM

That's not currently supported by the mesa experimental jupyterviz display we're using. I could open a pull request with the approach I used to generate this to get feedback on it (and I probably should do that), but I worry about how complicated the jupyterviz interface is already without adding more.

What I was recommended to do, which is possible with current mesa, is include the text as a block with the other "measures" (charts), like this (look under the blue bar chart):

Screenshot 2024-01-25 at 5 55 50 PM

Would this option be useful?

@rlskoeser rlskoeser changed the title document hawk/dove convergence logic document hawk/dove convergence logic and include converged status in data collection Feb 5, 2024
@rlskoeser rlskoeser removed the 🛠️ chore One-off task or update label Feb 5, 2024
@rlskoeser
Copy link
Contributor Author

Discussed with @LaraBuchak at meeting 2024-02-21; this convergence logic is fine for the base hawk/dove game, but it doesn't get at what we care about for the hawk/dove multi risk attitude - what we really want there is equilibrium. Merged in #65 but will revisit by testing new convergence logic for the hawk/dove multi game based on agents not changing on adjustment rounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant