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

Function matrix

codeclash/cli/rank.py:33–42  ·  view source on GitHub ↗

Evaluate PvP tournament matrices (head-to-head win matrix). [dim]• codeclash rank matrix logs/PvpTournament.<...> -n 5 -w 8[/dim]

(
    pvp_output_dir: Path = typer.Argument(..., help="Path to a PvP tournament output directory."),
    repetitions: int = typer.Option(3, "--repetitions", "-n", help="Repetitions per matchup."),
    max_workers: int = typer.Option(4, "--max-workers", "-w", help="Number of parallel game workers."),
)

Source from the content-addressed store, hash-verified

31
32@rank_app.command("matrix")
33def matrix(
34 pvp_output_dir: Path = typer.Argument(..., help="Path to a PvP tournament output directory."),
35 repetitions: int = typer.Option(3, "--repetitions", "-n", help="Repetitions per matchup."),
36 max_workers: int = typer.Option(4, "--max-workers", "-w", help="Number of parallel game workers."),
37):
38 """Evaluate PvP tournament matrices (head-to-head win matrix).
39
40 [dim]• codeclash rank matrix logs/PvpTournament.<...> -n 5 -w 8[/dim]
41 """
42 matrix_mod.main(pvp_output_dir, n_repetitions=repetitions, max_workers=max_workers)
43
44
45@rank_app.command(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected