MCPcopy Create free account
hub / github.com/FlyingFeather/DEA-SQL / save_cache

Function save_cache

evaluation/test-suite-sql-eval/evaluate_classical.py:95–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93
94# dump the cache
95def save_cache():
96 pkl.dump(dict(cache), open(cache_path, 'wb'))
97
98
99def main(preds: List[str], gold_file: str = "classical_test.pkl", verbose: bool = True,

Callers 1

Calls 1

dumpMethod · 0.80

Tested by

no test coverage detected