Skip to content

Commit

Permalink
Fix type signature of read_problems (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Linyxus authored Nov 30, 2021
1 parent fa06031 commit 312c5e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion human_eval/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
HUMAN_EVAL = os.path.join(ROOT, "..", "data", "HumanEval.jsonl.gz")


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


Expand Down

1 comment on commit 312c5e5

@Busterkinng88
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.