Datasets:
Tasks:
Text2Text Generation
Modalities:
Text
Formats:
json
Languages:
code
Size:
1K - 10K
Tags:
code-generation
License:
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 problems were manually fixed and minor inconsistency with the origin due to import side effects etc.
Testing code and examples are in the original repo.