Load all cached results from the data file.
(data_cache: Path)
| 230 | |
| 231 | |
| 232 | def 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 | |
| 241 | def compute_model_consistency_over_rounds(results: list[dict]) -> dict: |
no outgoing calls
no test coverage detected