File size: 1,561 Bytes
12b62b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
size_categories:
- n<1K
---

# Dataset Card for NL2Fix



## Dataset Details


### Dataset Description



- **Language(s):** Java


### Cite the Dataset 

<!-- Provide the basic links for the dataset. -->

- **Paper:** https://arxiv.org/pdf/2304.03816.pdf
```
  @article{fakhoury2023towards,
    title={Towards generating functionally correct code edits from natural language issue descriptions},
    author={Fakhoury, Sarah and Chakraborty, Saikat and Musuvathi, Madan and Lahiri, Shuvendu K},
    journal={arXiv preprint arXiv:2304.03816},
    year={2023}
  }
  ```


## Dataset Structure

<!-- 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. -->
- name: {defects4j_project}    
  dtype: {string} 
- name: {defects4j_bug_id}    
  dtype: {int}
- name: {file_path}    
  dtype: {string}
- name: {bug_start_line}    
  dtype: {int}
- name: {bug_end_line}    
  dtype: {int}
- name: {issue_title}    
  dtype: {string}
- name: {issue_description}    
  dtype: {string}
- name: {original_src_wo_comments}    
  dtype: {string}
- name: {fixed_src_wo_comments}    
  dtype: {string} 
  


![image/png](https://cdn-uploads.huggingface.co/production/uploads/65486006b8ac1a89ff27544a/OPRTy4jgq9BOsAOg1fs6b.png)

### Source Data

<!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->

Defects4J: https://github.com/rjust/defects4j/tree/master