MCPcopy Create free account
hub / github.com/evalplus/evalplus / compute_avg_test

Function compute_avg_test

tools/tsr/minimization.py:132–137  ·  view source on GitHub ↗
(set_cover_info: Dict[str, List[str]])

Source from the content-addressed store, hash-verified

130
131
132def compute_avg_test(set_cover_info: Dict[str, List[str]]) -> float:
133 sum_tests = sum(
134 len(problems[task_id]["base_input"]) + len(set_cover_info[task_id])
135 for task_id in task_ids
136 )
137 return sum_tests / problem_count
138
139
140def gen_report(set_cover_info: Dict[str, List[str]], sample_eval_dir: str, model: str):

Callers 1

gen_reportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…