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

Function load_cached_results

codeclash/analysis/code_evolve/main.py:232–238  ·  view source on GitHub ↗

Load all cached results from the data file.

(data_cache: Path)

Source from the content-addressed store, hash-verified

230
231
232def load_cached_results(data_cache: Path) -> list[dict]:
233 """Load all cached results from the data file."""
234 results = []
235 with open(data_cache) as f:
236 for line in f:
237 results.append(json.loads(line))
238 return results
239
240
241def compute_model_consistency_over_rounds(results: list[dict]) -> dict:

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected