MCPcopy Create free account
hub / github.com/MARIO-Math-Reasoning/Super_MARIO / create_root

Method create_root

mcts_math/agents/tree.py:89–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

87 raise TypeError("Wrong type for `config`, must be subclass of BaseConfig")
88
89 def create_root(self) -> Type[BaseNode]:
90 root = self.create_node()
91 root.state["extra_info"] = f"question: {self.question}"
92 return root
93
94 @abstractmethod
95 def create_node(self, parent: Optinal[Type[BaseNode]] = None) -> Type[BaseNode]:

Callers 1

__init__Method · 0.95

Calls 1

create_nodeMethod · 0.95

Tested by

no test coverage detected