MCPcopy Create free account
hub / github.com/RUC-NLPIR/WebThinker / get_output_path

Function get_output_path

scripts/lcb_runner/utils/path_utils.py:24–31  ·  view source on GitHub ↗
(model_repr:str, args)

Source from the content-addressed store, hash-verified

22
23
24def get_output_path(model_repr:str, args) -> str:
25 scenario: Scenario = args.scenario
26 n = args.n
27 temperature = args.temperature
28 cot_suffix = "_cot" if args.cot_code_execution else ""
29 path = f"output/{model_repr}/{scenario}_{n}_{temperature}{cot_suffix}.json"
30 ensure_dir(path)
31 return path
32
33
34def get_eval_all_output_path(model_repr:str, args) -> str:

Callers 2

mainFunction · 0.90
mainFunction · 0.90

Calls 1

ensure_dirFunction · 0.85

Tested by

no test coverage detected