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

Method parse

codeclash/replay/base.py:93–94  ·  view source on GitHub ↗

Decode raw sim bytes into a :class:`ReplayData`. Input format is opaque.

(self, raw: bytes, players: list[dict] | None = None)

Source from the content-addressed store, hash-verified

91 DRAW_JS: str = "" # defines a global ``ARENA`` object with setup/draw/side
92 CSS: str = "" # optional arena-specific style additions
93
94 @abstractmethod
95 def parse(self, raw: bytes, players: list[dict] | None = None) -> ReplayData:
96 """Decode raw sim bytes into a :class:`ReplayData`. Input format is opaque."""
97

Callers 6

loadFiltersFunction · 0.45
getMatrixDataFunction · 0.45
initializeAnalysisFunction · 0.45
render_gameFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected