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

Function make

codeclash/cli/ladder.py:69–118  ·  view source on GitHub ↗

Build a ladder: run PvP tournaments across all pairs of players (for ranking). [dim]• codeclash ladder make configs/ablations/ladder/make_battlesnake.yaml[/dim]

(
    config_path: Path = typer.Argument(..., help="Path to the ladder (round-robin) config file."),
    workers: int = typer.Option(
        1, "--workers", "-w", help="Pairwise tournaments to run concurrently (each pair is independent)."
    ),
)

Source from the content-addressed store, hash-verified

67 tournament = LadderTournament(
68 config,
69 output_dir=output_dir,
70 suffix=suffix,
71 cleanup=cleanup,
72 keep_containers=keep_containers,
73 resume_from=resume_from,
74 )
75 except ValueError as e:
76 typer.echo(str(e))
77 raise typer.Exit(1)
78 tournament.run()

Callers

nothing calls this directly

Calls 2

resolve_includesFunction · 0.90
run_pairFunction · 0.85

Tested by

no test coverage detected