Skip to content

Commit 312c5e5

Browse files
authored
Fix type signature of read_problems (#9)
1 parent fa06031 commit 312c5e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

human_eval/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
HUMAN_EVAL = os.path.join(ROOT, "..", "data", "HumanEval.jsonl.gz")
99

1010

11-
def read_problems(evalset_file: str = HUMAN_EVAL) -> Iterable[Dict[str, Dict]]:
11+
def read_problems(evalset_file: str = HUMAN_EVAL) -> Dict[str, Dict]:
1212
return {task["task_id"]: task for task in stream_jsonl(evalset_file)}
1313

1414

0 commit comments

Comments
 (0)