MCPcopy Create free account
hub / github.com/google-deepmind/alphageometry / in_cache

Method in_cache

graph.py:2458–2459  ·  view source on GitHub ↗
(self, name: str, args: list[Point])

Source from the content-addressed store, hash-verified

2456 return add
2457
2458 def in_cache(self, name: str, args: list[Point]) -> bool:
2459 return problem.hashed(name, args) in self.cache
2460
2461 def cache_dep(
2462 self, name: str, args: list[Point], premises: list[Dependency]

Callers 1

checkMethod · 0.95

Calls 1

hashedMethod · 0.80

Tested by

no test coverage detected