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

Method to_dict

problem.py:182–183  ·  view source on GitHub ↗
(cls, data: list[Problem])

Source from the content-addressed store, hash-verified

180
181 @classmethod
182 def to_dict(cls, data: list[Problem]) -> dict[str, Problem]:
183 return {p.url: p for p in data}
184
185 def __init__(self, url: str, clauses: list[Clause], goal: Construction):
186 self.url = url

Callers 2

from_txt_fileMethod · 0.45
from_stringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected