Datasets:

Modalities:
Text
Formats:
json
Size:
< 1K
ArXiv:
Libraries:
Datasets
pandas
becklabash commited on
Commit
5d9dfdd
1 Parent(s): d84fea0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +47 -139
README.md CHANGED
@@ -1,150 +1,58 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  configs:
3
  - config_name: default
4
  data_files:
5
  - split: test
6
- path: "dataset.json"
7
- license: mit
8
- language:
9
- - en
10
- size_categories:
11
- - n<1K
12
  ---
13
 
14
- # Dataset Card for Dataset Name
15
 
16
- <!-- Provide a quick summary of the dataset. -->
17
 
18
- This dataset card aims to be a base template for new datasets. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1).
19
 
20
- ## Dataset Details
 
21
 
22
- ### Dataset Description
23
-
24
- <!-- Provide a longer summary of what this dataset is. -->
25
-
26
-
27
-
28
- - **Curated by:** [More Information Needed]
29
- - **Funded by [optional]:** [More Information Needed]
30
- - **Shared by [optional]:** [More Information Needed]
31
- - **Language(s) (NLP):** [More Information Needed]
32
- - **License:** [More Information Needed]
33
-
34
- ### Dataset Sources [optional]
35
-
36
- <!-- Provide the basic links for the dataset. -->
37
-
38
- - **Repository:** [More Information Needed]
39
- - **Paper [optional]:** [More Information Needed]
40
- - **Demo [optional]:** [More Information Needed]
41
-
42
- ## Uses
43
-
44
- <!-- Address questions around how the dataset is intended to be used. -->
45
-
46
- ### Direct Use
47
-
48
- <!-- This section describes suitable use cases for the dataset. -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Dataset Structure
59
-
60
- <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
61
-
62
- [More Information Needed]
63
-
64
- ## Dataset Creation
65
-
66
- ### Curation Rationale
67
-
68
- <!-- Motivation for the creation of this dataset. -->
69
-
70
- [More Information Needed]
71
-
72
- ### Source Data
73
-
74
- <!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
75
-
76
- #### Data Collection and Processing
77
-
78
- <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
79
-
80
- [More Information Needed]
81
-
82
- #### Who are the source data producers?
83
-
84
- <!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
85
-
86
- [More Information Needed]
87
-
88
- ### Annotations [optional]
89
-
90
- <!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
91
-
92
- #### Annotation process
93
-
94
- <!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
95
-
96
- [More Information Needed]
97
-
98
- #### Who are the annotators?
99
-
100
- <!-- This section describes the people or systems who created the annotations. -->
101
-
102
- [More Information Needed]
103
-
104
- #### Personal and Sensitive Information
105
-
106
- <!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
107
-
108
- [More Information Needed]
109
-
110
- ## Bias, Risks, and Limitations
111
-
112
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
113
-
114
- [More Information Needed]
115
-
116
- ### Recommendations
117
-
118
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
119
-
120
- Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
121
-
122
- ## Citation [optional]
123
-
124
- <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
125
-
126
- **BibTeX:**
127
-
128
- [More Information Needed]
129
-
130
- **APA:**
131
-
132
- [More Information Needed]
133
-
134
- ## Glossary [optional]
135
-
136
- <!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
137
-
138
- [More Information Needed]
139
-
140
- ## More Information [optional]
141
-
142
- [More Information Needed]
143
-
144
- ## Dataset Card Authors [optional]
145
-
146
- [More Information Needed]
147
-
148
- ## Dataset Card Contact
149
-
150
- [More Information Needed]
 
1
  ---
2
+ dataset_info:
3
+ features:
4
+ - name: id
5
+ dtype: string
6
+ - name: repo_url
7
+ dtype: string
8
+ - name: instruction
9
+ dtype: string
10
+ - name: parent_commit
11
+ dtype: string
12
+ - name: test_script
13
+ dtype: string
14
+ - name: testbed_environment
15
+ dtype: string
16
+ - name: requirements_txt
17
+ dtype: string
18
+ - name: solution_commit
19
+ dtype: string
20
+ - name: solution_patch
21
+ dtype: string
22
+ - name: modified_files
23
+ dtype: string
24
+ - name: language
25
+ dtype: string
26
+ splits:
27
+ - name: test
28
+ num_bytes: 4645427
29
+ num_examples: 100
30
  configs:
31
  - config_name: default
32
  data_files:
33
  - split: test
34
+ path: dataset.json
 
 
 
 
 
35
  ---
36
 
37
+ ### Dataset Summary
38
 
39
+ CoderEval is a codebase editing benchmark based on compact, natural language instructions. The task is to, given an edit instruction and a codebase, produce a patch file that makes the correct edit to the codebase.
40
 
41
+ The dataset was released as part of [CoderEval: Evaluating the Capability of Language Models in Large-Scale Software Development](https://arxiv.org/abs/[ARXIV_LINK])
42
 
43
+ ### Dataset Structure
44
+ An example of a CoderEval task instance is as follows:
45
 
46
+ ```
47
+ id (str) - A unique identifier for the task instance.
48
+ repo_url (str) - The URL of the repository involved in the task.
49
+ instruction (str) - The repository edit instruction.
50
+ parent_commit (str) - The commit hash of the repository representing the HEAD of the repository immediately before the instruction was carried out.
51
+ test_script (str) - The task's test suite as a python script to be run from the root of the repository.
52
+ testbed_environment (str) - The python version used to run the test suite.
53
+ requirements_txt (str) - The pip package dependencies required to run the test suite.
54
+ solution_commit (str) - The commit hash of the repository representing the HEAD of the repository immediately after the instruction was carried out.
55
+ solution_patch (str) - The patch in the unified diff format representing the difference between the parent and solution commit.
56
+ modified_files (str) - A dictionary of files and their content that were modified by the solution commit.
57
+ language (str) - The primary programming language of the repository.
58
+ ```