Skip to content

Commit

Permalink
Explicitly track total agents in model data collection
Browse files Browse the repository at this point in the history
  • Loading branch information
rlskoeser committed Feb 6, 2024
1 parent 6e130c7 commit 693da8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions simulatingrisk/hawkdove/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ def get_data_collector_options(self):
"percent_hawk": "percent_hawk",
"rolling_percent_hawk": "rolling_percent_hawk",
"status": "status",
# explicitly track total agents, instead of inferring from grid size
"total_agents": "num_agents",
},
"agent_reporters": {
"risk_level": "risk_level",
Expand Down

0 comments on commit 693da8d

Please sign in to comment.