File size: 2,859 Bytes
1156328
 
 
 
 
 
 
 
 
 
 
 
8e54469
 
2773586
 
2cea819
8e54469
2cea819
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8e54469
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
---
license: mit
task_categories:
- text-classification
language:
- en
tags:
- code
---

The dataset was sourced from GitHub repositories and scraped using https://github.com/cheop-byeon/RFCRationaleBuilder.

It contains two types: coding repositories and Internet-Drafts/RFCs technical documents drafting repositories.

We use the "diff" format to represent the "modification" ("snippet" as the second version, first version was trying to restore a complete expression, e.g., a whole function or a natural paragraph.)

The dataset can be downloaded using our provided script: download_CodeConvo.py. There are two directions: i2c and c2i. Here we borrow the GitHub terms, i (issue) refers to comment/review/feedback, c (code) referes to the edited code or document.

# Dataset Download & Path Resolution Usage

## CodeConvo Dataset

### Basic Download
```bash
# Download entire CodeConvo dataset
python download_CodeConvo.py
```

### Download Whole Repository with `huggingface-cli`
```bash
# Install CLI (if needed)
pip install -U "huggingface_hub[cli]"

# Download full CodeConvo repository to local folder
huggingface-cli download jiebi/CodeConvo --repo-type dataset --local-dir ./dataset/CodeConvo
```

### Path Resolution Examples

**Train split** (structure: `train/{direction}/`)
```bash
# Get train/c2i folder (default direction)
python download_CodeConvo.py --split train

# Get train/i2c folder
python download_CodeConvo.py --split train --direction i2c
```

**Dev/Test splits** (structure: `{repo}/{direction}/{split}/`)
```bash
# Get test data for specific repo and direction
python download_CodeConvo.py --split test --repo ids --direction c2i

# Get dev data for kubernetes repo (i2c direction)
python download_CodeConvo.py --split dev --repo kubernetes --direction i2c

# Other repos: ids, ids-supp, swe, kubernetes
python download_CodeConvo.py --split test --repo swe --direction i2c
```

**Path resolution without downloading**
```bash
# Only resolve path, skip download
python download_CodeConvo.py --split train --no-download
python download_CodeConvo.py --split test --repo ids --direction c2i --no-download
```

### Notes
- For `--split train`: `--direction` is optional (defaults to `c2i`)
- For `--split dev/test`: Both `--repo` and `--direction` are **required**
- Valid directions: `c2i`, `i2c`
- Valid repos: `ids`, `ids-supp`, `swe`, `kubernetes`

  
The data was used for retrieval tasks, for training (https://github.com/cheop-byeon/FlagEmbedding) and for evaluation (https://github.com/cheop-byeon/mteb-R2Gen).

### Citation
For data, use cases, and models, please refer to:
```
@article{bian2025automated,
  title={Automated insights into github collaboration dynamics},
  author={Bian, Jie and Arefev, Nikolay and M{\"u}hlh{\"a}user, Max and Welzl, Michael},
  journal={IEEE Access},
  year={2025},
  publisher={IEEE}
}

```