metadata
license: cc-by-sa-4.0
language:
- code
task_categories:
- text2text-generation
tags:
- code-generation
pretty_name: DS-1000
DS-1000 in simplied format
This is a reformatting of the DS-1000 dataset with improved ease of use.
- the test process is cleaned up and all contained in the field
code_context
, with the unnecessary pickle and multiple file IOs removed.code_context
definestest_execution(code: str)
andtest_string(code: str)
which takes the generated code and evalutes their correctness.
- Python is upgraded to 3.10 and libraries upgraded to the latest versions (
environment.yaml
)- checked that the performance is not overly sensitive to library versions (
enviroment-old-lib.yaml
).
- checked that the performance is not overly sensitive to library versions (
- Removed obsolete
parser
module and simplified string testing - a few examples were manually fixed; very minor inconsistency due to
import
side-effects when generating tests.
Testing code and examples are in the original repo.
Reformatting credits: Yuhang Lai, Sida Wang