MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / __repr__

Method __repr__

lean_py/kernel.py:232–236  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

230 return label, next_gs, sub_name
231
232 def __repr__(self) -> str:
233 try:
234 return f"<GoalState n_goals={self.n_goals()} solved={self.is_solved()}>"
235 except Exception:
236 return "<GoalState (handle invalid)>"
237
238
239class Kernel:

Callers

nothing calls this directly

Calls 2

n_goalsMethod · 0.95
is_solvedMethod · 0.95

Tested by

no test coverage detected