Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear HumanEval Maintainers,
Thank you so much for sharing this awesome Test Set!
I fully understand that due to the nature of a Test Set, we want to keep it unchanged as much as possible. However, during our usage, a few mistakes were found in some prompts, canonical solutions, and test cases. (some were also raised in previous issues https://github.com/openai/human-eval/issues).
These mistakes indeed affect the ability of HumanEval to accurately reflect the performance of a Code Generation Model. Therefore, here I'd love to propose an enhanced version of HumanEval, which fixes these known mistakes.
The changes made to the original repo:
human-eval-enhanced-202307.jsonl.gz
to folder\data
. This file is the compressed fixed dataset including the following 14 changes. Details about the mistakes and changes are documented in another filetests.py
in the folder\data
.Add file
tests.py
in the folder\data
. This file includes tests for the changes inhuman-eval-enhanced-202307.jsonl
, and also details about the mistakes in the original data sethuman-eval-v2-20210705.jsonl
. The tests can be run as a Script, using the Commandpython tests.py
, or they can be run by pytest, following the detailed instructions at the top oftests.py
.Add file
.gitignore
to the root directory. This file includes common files to ignore when building a Python project, especially.pytest_cache
and__pycache__
sincetests.py
can be run by pytest. This ".gitignore" file is not really important and can be optionally removed from this PR.Thanks for your time reviewing this PR. Any feedback would be much appreciated : )
[UPDATE] So sorry for not using compressed files to avoid data leakage in the first place, it's an honest mistake. It's fixed now in this PR and there'll be no leakage after it's Squash-and-Merged. However, uncompressed files are still in some other closed accidental PR history. I can reach out to GitHub support to delete them if necessary.
Sincerely,
marcusm117