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

Method completed_rounds

codeclash/viewer/app.py:251–254  ·  view source on GitHub ↗

Get number of completed rounds (excluding round 0 warmup)

(self)

Source from the content-addressed store, hash-verified

249
250 @property
251 def completed_rounds(self) -> int:
252 """Get number of completed rounds (excluding round 0 warmup)"""
253 round_stats = self.get_path("round_stats", {})
254 return sum(1 for round_key in round_stats.keys() if int(round_key) > 0)
255
256 @property
257 def round_count_info(self) -> tuple[int, int] | None:

Callers

nothing calls this directly

Calls 1

get_pathMethod · 0.95

Tested by

no test coverage detected