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

Function parse_args

eval_output_jsonl.py:9–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8
9def parse_args():
10 args = argparse.ArgumentParser()
11 args.add_argument('--res_file', type=str, required=True, help="result file in jsonl.")
12 args.add_argument('--react', action="store_true", help="if using react_batch_demo.py, set True.")
13
14 args = args.parse_args()
15 return args
16
17
18def eval_jsonl(res_file: str, react: bool = False) -> float:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected