Annoy-PyEdu-Rs-Raw
收藏资源简介:
PythonEdu-Rs数据集是一个基于HuggingFaceTB团队原始数据集处理而来的编程教育数据集,采用JSON Lines格式存储。每个样本包含八个关键字段:问题描述(problem_description)、输入输出要求与约束(io_requirements)、参考代码(refcode,包括可选的导入包、辅助函数和主入口函数)、入口函数名称(funcname)、输入输出示例列表(ios,每个示例包含输入参数和返回值,部分可能因数据量过大而为空)、数据来源(source)、推理类型分类(category)以及元信息(meta)。该数据集旨在支持代码生成、代码理解或编程问题求解等任务,特别适用于教育场景下的Python编程学习与评估。需要注意的是,由于基于大语言模型的转换过程存在局限性,部分样本的问题描述可能信息不足;同时,部分输入输出示例因规模超出限制而被留空。数据集采用odc-by许可证发布。
PythonEdu-Rs is a programming education dataset processed from the original dataset developed by the HuggingFaceTB team, stored in JSON Lines format. Each sample contains eight key fields: problem_description (for problem description), io_requirements (for input-output requirements and constraints), refcode (reference code including optional import packages, auxiliary functions and main entry functions), funcname (name of the entry function), ios (list of input-output examples, each example contains input parameters and return values, some of which may be empty due to excessive data volume), source (data source), category (inference type classification), and meta (meta information). This dataset is intended to support tasks such as code generation, code understanding or programming problem solving, and is particularly suitable for Python programming learning and assessment in educational scenarios. It should be noted that due to the limitations of the large language model-based conversion process, some samples may have insufficient problem descriptions; in addition, some input-output examples are left blank as their scale exceeds the limit. The dataset is released under the ODC-BY license.
数据集概述
基本信息
- 数据集名称:Annoy
- 发布机构:liufe7848
- 许可证:odc-by (Open Data Commons Attribution License)
数据来源
- 本数据集是 PythonEdu-Rs 数据集的原始版本,原始数据集来自 HuggingFaceTB 团队。
数据格式
- 数据文件为
0_368500_filtered_v2_ds25.sced.jsonl,每行包含一个 JSON 对象,其字段及含义如下:
| 字段名 | 说明 |
|---|---|
problem_description |
函数的问题描述 |
io_requirements |
输入/输出要求与约束 |
refcode |
参考代码,包含可选的导入包、辅助函数以及主入口函数 |
funcname |
入口函数的函数名称 |
ios |
输入输出示例列表,每个示例包含 input(输入参数)和 output(返回值) |
source |
原始代码文件的来源 |
category |
分配给该样本的推理类型 |
meta |
关于该样本的元信息 |
注意事项
- 部分
ios字段为空,原因是执行代码时输入/输出规模过大,超过了设定的约束条件,因此未存储或后续使用。 - 由于基于 LLM 的转换尚不完美,部分问题描述可能不包含足够的信息来描述相应代码,该问题留待后续进一步完善。
关联资源




