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

Function remove_single_dollar

mcts_math/agents/utils.py:161–164  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

159
160
161def remove_single_dollar(s):
162 if s.startswith("$") and s.endswith("$"):
163 s = s[1:-1]
164 return s
165
166def math_is_equiv(grt: Union[str, list[str]], prd: str):
167 prd = remove_single_dollar(prd)

Callers 2

math_is_equivFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected