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

Method _get_metadata

codeclash/viewer/app.py:563–567  ·  view source on GitHub ↗

Get cached metadata or load it if not cached

(self)

Source from the content-addressed store, hash-verified

561 self._cached_metadata: Metadata | None = None
562
563 def _get_metadata(self) -> Metadata:
564 """Get cached metadata or load it if not cached"""
565 if self._cached_metadata is None:
566 self._cached_metadata = load_metadata(self.log_dir)
567 return self._cached_metadata
568
569 def parse_game_metadata(self) -> GameMetadata:
570 """Parse overall game metadata"""

Callers 3

parse_game_metadataMethod · 0.95
parse_trajectoryMethod · 0.95

Calls 1

load_metadataFunction · 0.85

Tested by

no test coverage detected