CodeContests
收藏魔搭社区2025-12-05 更新2025-06-07 收录
下载链接:
https://modelscope.cn/datasets/Gen-Verse/CodeContests
下载链接
链接失效反馈官方服务:
资源简介:
We use Stdio input/output format here. For example, for the task to calculate the sum of a list, the input and output are in the following format:
```python
input = "5\n1 2 3 4 5\n"
output = "15"
```
CodeContests and CodeForces are using this format, however, MBPP and part of LiveCodeBench are using functional input/output format, such like
```python
assert sum_function([1, 2, 3, 4, 5]) == 15
```
In this project, we have converted the the functional format to the Stdio format to achieve consistency.
[Paper](https://arxiv.org/abs/2506.03136) | [Code](https://github.com/Gen-Verse/CURE)
# Citation
```
@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}
}
@article{li2022alphacode,
author = {Yujia Li and David Choi and Junyoung Chung and Nate Kushman and Julian Schrittwieser and Rémi Leblond and Tom Eccles and James Keeling and Felix Gimeno and Agustin Dal Lago and Thomas Hubert and Peter Choy and Cyprien de Masson d’Autume and Igor Babuschkin and Xinyun Chen and Po-Sen Huang and Johannes Welbl and Sven Gowal and Alexey Cherepanov and James Molloy and Daniel J. Mankowitz and Esme Sutherland Robson and Pushmeet Kohli and Nando de Freitas and Koray Kavukcuoglu and Oriol Vinyals},
title = {Competition-level code generation with AlphaCode},
journal = {Science},
volume = {378},
number = {6624},
pages = {1092--1097},
year = {2022},
doi = {10.1126/science.abq1158},
url = {https://www.science.org/doi/10.1126/science.abq1158}
}
```
本数据集采用标准输入输出(Standard Input/Output,简称Stdio)格式。以列表求和任务为例,其输入输出格式如下:
python
input = "5
1 2 3 4 5
"
output = "15"
CodeContests与CodeForces平台均采用此类格式,而MBPP与部分LiveCodeBench数据集则使用函数式输入输出格式,例如:
python
assert sum_function([1, 2, 3, 4, 5]) == 15
本项目已将函数式输入输出格式转换为标准输入输出格式,以确保所有任务格式统一。
[论文](https://arxiv.org/abs/2506.03136) | [代码](https://github.com/Gen-Verse/CURE)
## 引用
@article{wang2025cure,
title={基于强化学习的大语言模型代码生成器与单元测试器协同进化},
author={Wang, Yinjie and Yang, Ling and Tian, Ye and Shen, Ke and Wang, Mengdi},
journal={arXiv preprint arXiv:2506.03136},
year={2025}
}
@article{li2022alphacode,
author = {Yujia Li and David Choi and Junyoung Chung and Nate Kushman and Julian Schrittwieser and Rémi Leblond and Tom Eccles and James Keeling and Felix Gimeno and Agustin Dal Lago and Thomas Hubert and Peter Choy and Cyprien de Masson d’Autume and Igor Babuschkin and Xinyun Chen and Po-Sen Huang and Johannes Welbl and Sven Gowal and Alexey Cherepanov and James Molloy and Daniel J. Mankowitz and Esme Sutherland Robson and Pushmeet Kohli and Nando de Freitas and Koray Kavukcuoglu and Oriol Vinyals},
title = {基于AlphaCode实现竞赛级代码生成},
journal = {Science},
volume = {378},
number = {6624},
pages = {1092--1097},
year = {2022},
doi = {10.1126/science.abq1158},
url = {https://www.science.org/doi/10.1126/science.abq1158}
}
提供机构:
maas
创建时间:
2025-06-04



