MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / __init__

Method __init__

codeclash/analysis/bootstrap/bootstrap.py:71–82  ·  view source on GitHub ↗
(
        self,
        game: Game,
        *,
        n_rounds: int,
        k: float = 32,
        update_strategy: Literal["per_round", "per_tournament"] = "per_round",
    )

Source from the content-addressed store, hash-verified

69
70class Tournament:
71 def __init__(
72 self,
73 game: Game,
74 *,
75 n_rounds: int,
76 k: float = 32,
77 update_strategy: Literal["per_round", "per_tournament"] = "per_round",
78 ):
79 self.game = game
80 self.n_rounds = n_rounds
81 self.k = k
82 self.update_strategy = update_strategy
83
84 def run_tournament(self, players: list[Player]):
85 """Runs tournament with the players and updates their measured elo."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected