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

Method processor

mcts_math/react_batch.py:74–81  ·  view source on GitHub ↗
(solver: REACT, output: RequestOutput)

Source from the content-addressed store, hash-verified

72
73 @staticmethod
74 def processor(solver: REACT, output: RequestOutput) -> REACT:
75 step_result = output.outputs[0].text.strip()
76 try:
77 step_result, parser_result = solver.step_unwrap(step_result)
78 except Exception as e:
79 parser_result = None
80 solver.update_current_node(step_result, parser_result)
81 return solver
82
83 def batch_generate(self, questions: List[str]):
84

Callers

nothing calls this directly

Calls 1

update_current_nodeMethod · 0.80

Tested by

no test coverage detected