Annoy-PyEdu-Rs-Raw
收藏资源简介:
PythonEdu-Rs数据集是一个专为教育场景设计的Python编程数据集,由HuggingFaceTB团队的原始数据集处理而成。数据以JSONL格式存储,主要文件为0_368500_filtered_v2_ds25.sced.jsonl。每条数据包含多个字段:problem_description(函数的问题描述)、io_requirements(输入输出要求与约束条件)、refcode(参考代码,可包括导入包、辅助函数和主入口函数)、funcname(入口函数名称)、ios(输入输出对列表,每个对包含input输入参数和output返回值,部分列表可能为空)、source(原始代码文件来源)、category(样本分配的推理类型)、meta(样本元信息)。需要注意的是,部分ios字段为空,这是因为在执行代码时,输入输出规模超出了预设约束条件,因此未被存储或后续使用。此外,由于基于LLM的转换过程不完善,部分问题描述可能信息不足,无法充分描述对应代码,这将在未来工作中进一步优化数据并更新版本。数据集采用ODC-BY许可证发布。
The PythonEdu-Rs dataset is a Python programming dataset designed for educational scenarios, processed from the original dataset by the HuggingFaceTB team. It is stored in JSONL format, with the main file being 0_368500_filtered_v2_ds25.sced.jsonl. Each data entry includes the following fields: problem_description (the problem description of the function), io_requirements (input-output requirements and constraints), refcode (reference code, which may include import packages, helper functions, and the main entry function), funcname (the name of the entry function), ios (a list of input-output pairs, each containing input parameters and output return values, with some lists potentially empty), source (the source of the original code file), category (the inference type assigned to the sample), and meta (sample metadata). It is important to note that some ios fields are empty because, during code execution, the input-output scale exceeded preset constraints and thus were not stored or used later. Additionally, due to imperfections in the LLM-based conversion process, some problem descriptions may contain insufficient information to fully describe the corresponding code, which will be addressed in future work to optimize the data and update to a better version. The dataset is released under the ODC-BY license.
数据集详情:Annoy-PyEdu-Rs-Raw
基本信息
- 数据集名称:Annoy-PyEdu-Rs-Raw
- 数据集页面:https://huggingface.co/datasets/liu12123456/Annoy-PyEdu-Rs-Raw
- 许可证:ODC-BY
数据来源
该数据集是 PythonEdu-Rs 数据集的原始版本,改编自 HuggingFaceTB 团队提供的原始数据集。
数据格式
数据集文件为 0_368500_filtered_v2_ds25.sced.jsonl,每一行的数据格式如下:
| 字段 | 说明 |
|---|---|
problem_description |
函数的问题描述 |
io_requirements |
输入/输出要求和约束 |
refcode |
参考代码(包括导入的包、辅助函数和主入口函数) |
funcname |
入口函数的函数名 |
ios |
输入输出示例数组,包含 input(输入参数)和 output(返回值) |
source |
原始代码文件的来源 |
category |
分配给该样本的推理类型 |
meta |
关于该样本的元信息 |
注意事项
- 部分
ios字段为空,原因是执行代码时输入/输出数据量过大,超出约束条件,因此未存储或使用。 - 由于基于 LLM 的转换过程不完善,部分问题描述可能不足以完整描述代码内容,未来将进行改进。




