(self, round_num: int, agents: list[Player])
| 39 | |
| 40 | |
| 41 | class RoundStats: |
| 42 | def __init__(self, round_num: int, agents: list[Player]): |
| 43 | self.winner = None |
| 44 | self.round_num = round_num |
| 45 | # Map of player to game metric (e.g. # of wins, assets accumulated) |
| 46 | self.scores: dict[str, float] = {a.name: 0.0 for a in agents} |
| 47 | self.player_stats: dict[str, PlayerStats] = {agent.name: PlayerStats(name=agent.name) for agent in agents} |
| 48 | self.details: list[str] = [] |
| 49 | |
| 50 | def __str__(self) -> str: |
nothing calls this directly
no test coverage detected