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

Method update_current_node

mcts_math/agents/react.py:107–113  ·  view source on GitHub ↗
(
        self, 
        step_result: str,
        parser_result: Dict[str, str],
    )

Source from the content-addressed store, hash-verified

105 self.update_current_node(step_result, parser_result)
106
107 def update_current_node(
108 self,
109 step_result: str,
110 parser_result: Dict[str, str],
111 ) -> None:
112 self._update_current_node(step_result, parser_result)
113 self.current_node = self.current_node.children[0]
114
115 def _update_current_node(
116 self,

Callers 2

generateMethod · 0.95
processorMethod · 0.80

Calls 1

_update_current_nodeMethod · 0.95

Tested by

no test coverage detected