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

Method end

codeclash/tournaments/pvp.py:212–216  ·  view source on GitHub ↗

Save output files, clean up game resources and push agents if requested.

(self)

Source from the content-addressed store, hash-verified

210 "-zcf",
211 str(archive),
212 "-C",
213 str(round_dir.parent),
214 str(round_num_zero_indexed),
215 ]
216 self.logger.info(
217 f"Compressing round {round_num_zero_indexed} logs, this might take a while... ({' '.join(cmd)})"
218 )
219 result = subprocess.run(cmd, capture_output=True, text=True)

Callers 1

runMethod · 0.95

Calls 2

_saveMethod · 0.95
cleanup_handlersMethod · 0.80

Tested by

no test coverage detected