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

Function win_rate

codeclash/cli/rank.py:22–29  ·  view source on GitHub ↗

Print per-game and game-agnostic win rates for each model. [dim]• codeclash rank win-rate logs/[/dim]

(
    logs: Path = typer.Argument(LOCAL_LOG_DIR, help="Path to game logs (default: logs/)."),
)

Source from the content-addressed store, hash-verified

20
21@rank_app.command("win-rate")
22def win_rate(
23 logs: Path = typer.Argument(LOCAL_LOG_DIR, help="Path to game logs (default: logs/)."),
24):
25 """Print per-game and game-agnostic win rates for each model.
26
27 [dim]• codeclash rank win-rate logs/[/dim]
28 """
29 win_rate_mod.main(logs)
30
31
32@rank_app.command("matrix")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected