File size: 1,202 Bytes
d7bd387
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56b332e
 
 
 
 
d7bd387
56b332e
d7bd387
56b332e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
dataset_info:
  features:
  - name: diff
    dtype: string
  - name: is_single_chunk
    dtype: bool
  - name: is_single_function
    dtype: bool
  - name: buggy_function
    dtype: string
  - name: fixed_function
    dtype: string
  splits:
  - name: train
    num_bytes: 1624059115.752317
    num_examples: 72393
  download_size: 546172221
  dataset_size: 1624059115.752317
language:
- code
pretty_name: megadiff
size_categories:
- 10K<n<100K
---
# Megadiff, a dataset of source code changes

Contains only single-function diffs.

If you use Megadiff, please cite the following technical report:

"[Megadiff: A Dataset of 600k Java Source Code Changes Categorized by Diff Size](http://arxiv.org/pdf/2108.04631)". Technical Report 2108.04631, Arxiv; 2021. 

```
@techreport{megadiff,
  TITLE = {{Megadiff: A Dataset of 600k Java Source Code Changes Categorized by Diff Size}},
  AUTHOR = {Martin Monperrus and Matias Martinez and He Ye and Fernanda Madeiral and Thomas Durieux and Zhongxing Yu},
  URL = {http://arxiv.org/pdf/2108.04631},
  INSTITUTION = {Arxiv},
  NUMBER = {2108.04631},
  YEAR = {2021},
}
```