MCPcopy Create free account
hub / github.com/ChartGalaxy/ChartGalaxy / do_eval

Function do_eval

code_generation_benchmark/main.py:174–179  ·  view source on GitHub ↗
(logger, task)

Source from the content-addressed store, hash-verified

172 logger.error(str(e))
173
174def do_eval(logger, task):
175 data_path = Path(task['data_path'])
176 model_type = task['model_type']
177 setting_name = task['setting_name']
178 with file_lock:
179 single_exp(logger, data_path, model_type, setting_name=setting_name, eval_only=True, low_level=True, high_level=True, eval_model=EVAL_MODEL)
180
181def judge_need_to_chat(model_dir: Path):
182 sname = model_dir.name

Callers 1

main_chat_multiprocessFunction · 0.85

Calls 1

single_expFunction · 0.85

Tested by

no test coverage detected