Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix type signature of read_problems function #9

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

Linyxus
Copy link
Contributor

@Linyxus Linyxus commented Nov 30, 2021

The read_problems function in human_eval.data is actually returning a dictionary, but it is wrongly declared to return a iterable of dictionaries:

def read_problems(evalset_file: str = HUMAN_EVAL) -> Iterable[Dict[str, Dict]]:

This is a simple fix of the typo.

@hauntsaninja hauntsaninja merged commit 312c5e5 into openai:master Nov 30, 2021
@hauntsaninja
Copy link

Thank you!

Toohott23 added a commit to Toohott23/human-eval that referenced this pull request Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants