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

Method from_txt_file

problem.py:378–381  ·  view source on GitHub ↗
(cls, fname: str, to_dict: bool = False)

Source from the content-addressed store, hash-verified

376
377 @classmethod
378 def from_txt_file(cls, fname: str, to_dict: bool = False) -> Theorem:
379 with open(fname, 'r') as f:
380 theorems = f.read()
381 return cls.from_string(theorems, to_dict)
382
383 @classmethod
384 def from_string(cls, string: str, to_dict: bool = False) -> Theorem:

Callers

nothing calls this directly

Calls 1

from_stringMethod · 0.45

Tested by

no test coverage detected