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

Method _write_pairings

tests/arenas/test_chess.py:123–125  ·  view source on GitHub ↗
(self, round_dir, pairings)

Source from the content-addressed store, hash-verified

121 return arena
122
123 def _write_pairings(self, round_dir, pairings):
124 pairings_file = round_dir / "pairings.json"
125 pairings_file.write_text(json.dumps(pairings, indent=2))
126
127 def _write_pgn(self, file_path, white: str, black: str, result: str):
128 content = (

Callers 4

test_player1_winsMethod · 0.95
test_player2_winsMethod · 0.95
test_all_drawsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected