Datasets:

Modalities:
Tabular
Text
Formats:
json
Size:
< 1K
ArXiv:
Libraries:
Datasets
pandas
License:
File size: 1,932 Bytes
55790f0
 
29d3e1d
 
 
 
 
 
 
55790f0
 
29d3e1d
b3b3df0
29d3e1d
55790f0
29d3e1d
 
 
55790f0
 
29d3e1d
 
 
55790f0
 
29d3e1d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55790f0
 
b3b3df0
55790f0
 
 
29d3e1d
34978f0
 
 
 
 
 
b3b3df0
 
 
 
 
 
 
 
 
 
55790f0
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
---
license: mit
task_categories:
- text-generation
tags:
- code-generation
- unit-testing
- reinforcement-learning
- llm
---

# Co-Evolving LLM Coder and Unit Tester via Reinforcement Learning Datasets

This repository contains datasets used in the CURE framework for co-evolving coding and unit testing capabilities in LLMs. The data is formatted using Stdio input/output.

**Data Format:**

For tasks like calculating the sum of a list, the input/output is formatted as follows:

```python
input = "5
1 2 3 4 5
"
output = "15"
```

Note that some datasets were originally in a functional format (e.g., `assert sum_function([1, 2, 3, 4, 5]) == 15`) and have been converted to the Stdio format for consistency.

**Datasets Included:**

- CodeContests
- LiveBench
- LiveCodeBench
- CodeForces
- MBPP
- CodeContests_train (training data)

**Downloading Datasets:**

Use the following commands to download the datasets:

```bash
cd data
python download_dataset.py --dataset LiveBench  # Example: Download LiveBench dataset
python download_dataset.py --dataset CodeContests_train # Example: Download training data
```

[Paper](https://arxiv.org/abs/2506.03136) | [Code](https://github.com/Gen-Verse/CURE)

# Citation

```bibtex
@article{wang2025cure,
  title={Co-Evolving LLM Coder and Unit Tester via Reinforcement Learning},
  author={Wang, Yinjie and Yang, Ling and Tian, Ye and Shen, Ke and Wang, Mengdi},
  journal={arXiv preprint arXiv:2506.03136},
  year={2025}
}


@misc{penedo2025codeforces,
      title={CodeForces}, 
      author={Guilherme Penedo and Anton Lozhkov and Hynek Kydlíček and Loubna Ben Allal and Edward Beeching and Agustín Piqueres Lajarín and Quentin Gallouédec and Nathan Habib and Lewis Tunstall and Leandro von Werra},
      year={2025},
      publisher = {Hugging Face},
      journal = {Hugging Face repository},
      howpublished = {\url{https://huggingface.co/datasets/open-r1/codeforces}}
}
```