MCPcopy Create free account
hub / github.com/PRIME-RL/PRIME / read_problems

Function read_problems

eval/utils/data.py:11–12  ·  view source on GitHub ↗
(evalset_file: str = HUMAN_EVAL)

Source from the content-addressed store, hash-verified

9
10
11def read_problems(evalset_file: str = HUMAN_EVAL) -> Dict[str, Dict]:
12 return {task["task_id"]: task for task in stream_jsonl(evalset_file)}
13
14
15def stream_jsonl(filename: str) -> Iterable[Dict]:

Callers 2

Calls 1

stream_jsonlFunction · 0.85

Tested by

no test coverage detected