(self, agents: list[Player])
| 13 | submission: str = "main.py" |
| 14 | |
| 15 | def execute_round(self, agents: list[Player]) -> None: |
| 16 | args = [f"/{agent.name}/{self.submission}" for agent in agents] |
| 17 | cmd = f"python engine.py {' '.join(args)} -r {self.game_config['sims_per_round']} > {self.log_env / DUMMY_LOG};" |
| 18 | self.logger.info(f"Running game: {cmd}") |
| 19 | assert_zero_exit_code(self.environment.execute(cmd)) |
| 20 | |
| 21 | def get_results(self, agents: list[Player], round_num: int, stats: RoundStats): |
| 22 | with open(self.log_round(round_num) / DUMMY_LOG) as f: |
nothing calls this directly
no test coverage detected