Annoy-PyEdu-Rs-Raw
收藏资源简介:
Annoy-PyEdu-Rs-Raw 是一个用于代码推理任务的原始数据集,基于 HuggingFaceTB 团队的 python-edu 子集构建。该数据集以 JSON Lines 格式存储,每条记录包含问题描述、输入输出要求、参考代码(包括可选的导入包和辅助函数)、入口函数名称、输入输出示例(部分可能因规模过大而缺失)、数据来源、推理类型分类以及元信息。数据集旨在支持代码生成、代码理解和程序推理等任务,但需注意部分问题描述可能因基于大语言模型的转换不完善而存在信息不足的情况。数据集采用 Open Data Commons Attribution License (ODC-By 1.0) 许可,使用时需同时引用本项目和原始 python-edu 数据集。
Annoy-PyEdu-Rs-Raw is a raw dataset for code reasoning tasks, built based on the python-edu subset from the HuggingFaceTB team. The dataset is stored in JSON Lines format, with each record containing problem descriptions, input-output requirements, reference code (including optional import packages and auxiliary functions), entry function names, input-output examples (some may be missing due to large scale), data sources, reasoning type classifications, and metadata. It aims to support tasks such as code generation, code understanding, and program reasoning, but note that some problem descriptions may have insufficient information due to imperfect transformations based on large language models. The dataset is licensed under the Open Data Commons Attribution License (ODC-By 1.0), and use requires citation of both this project and the original python-edu dataset.
数据集概述:Annoy-PyEdu-Rs-Raw
数据集来源
该数据集是经过处理的 PythonEdu-Rs 数据集的原始版本,原始数据集来自 HuggingFaceTB 团队。
数据格式
数据集文件为 0_368500_filtered_v2_ds25.sced.jsonl,每行数据包含以下字段:
| 字段 | 说明 |
|---|---|
problem_description |
函数的题目描述 |
io_requirements |
输入/输出需求与约束条件 |
refcode |
参考代码,包括导入的包(可选)、辅助函数(可选)和主入口函数 |
funcname |
入口函数的函数名 |
ios |
输入输出示例数组,每个元素包含 input(输入参数)和 output(返回值) |
source |
原始代码文件的来源 |
category |
分配给该样本的推理类型 |
meta |
该样本的元信息 |
注意事项
- 部分
ios为空,原因是在执行代码时输入/输出数据量过大,超出了设置的约束条件,因此未被存储或使用。 - 由于基于 LLM 的转换不够完善,部分题目描述可能无法充分描述代码功能,该问题留待未来改进。




