Main execution function that runs all rounds.
(self)
| 83 | player_config, |
| 84 | environment=self.game.get_environment(f"{self.game.game_id}.dummy"), |
| 85 | game_context=self.get_game_context(player_config, round=0), |
| 86 | ) |
| 87 | |
| 88 | def run(self): |
| 89 | """Main execution function that runs all rounds.""" |
| 90 | try: |
| 91 | for round_num in range(1, self.rounds + 1): |
| 92 | self.run_training_round(round_num) |
| 93 | if self.config["tournament"]["evaluate_matrix"]: |
| 94 | self.evaluate() |
| 95 | finally: |
| 96 | self.end() |
no test coverage detected