Annoy-PyEdu-Rs-Raw
收藏资源简介:
PythonEdu-Rs 是一个经过处理的 Python 教育数据集,改编自 HuggingFaceTB 团队的原始数据集。该数据集以 JSONL 格式存储,每一行包含以下字段:problem_description(函数问题描述)、io_requirements(输入输出要求和约束)、refcode(参考代码,包括可选的导入包、辅助函数和主入口函数)、funcname(入口函数的函数名)、ios(输入输出示例列表,每个元素包含 input 和 output)、source(原始代码文件的来源)、category(分配给该样本的推理类型)、meta(样本的元信息)。部分样本的 ios 字段为空,原因是在执行代码时输入输出过大,超出了存储约束。该数据集可用于代码生成、程序推理等任务,但需注意由于基于 LLM 的转换不完美,部分问题描述可能不足以描述代码。
PythonEdu-Rs is a processed Python educational dataset adapted from the original dataset by the HuggingFaceTB team. The dataset is stored in JSONL format, with each line containing the following fields: problem_description (description of the function problem), io_requirements (input/output requirements and constraints), refcode (reference code, including optional imports, helper functions, and main entry function), funcname (function name of the entry point), ios (list of input/output examples, each element containing input and output), source (source of the original code file), category (reasoning type assigned to the sample), and meta (metadata of the sample). Some samples have an empty ios field because the input/output during code execution was too large and exceeded storage constraints. This dataset can be used for tasks such as code generation and program reasoning, but note that due to imperfect LLM-based transformation, some problem descriptions may be insufficient to describe the code.
数据集概述:Annoy-PyEdu-Rs-Raw
该数据集是论文 "Annoy: This should be a paper Title" 的配套原始数据资源,与项目主页及代码仓库相关联,主要用于支持相关研究中的代码推理任务。
数据来源与处理
- 数据源自 HuggingFaceTB 团队的原始 PythonEdu-Rs 数据集,经处理后发布为原始格式版本。
- 数据文件为
0_368500_filtered_v2_ds25.sced.jsonl,其中包含经过筛选的样本。
JSONL 数据格式
每行数据对应一个样本,包含以下字段:
| 字段名 | 说明 |
|---|---|
problem_description |
函数的问题描述 |
io_requirements |
输入/输出要求及约束条件 |
refcode |
参考代码,包含导入的包(可选)、辅助函数(可选)及主入口函数 |
funcname |
入口函数的函数名 |
ios |
输入输出对列表,每项含 input 和 output 字段,可能存在空值 |
source |
原始代码文件的来源 |
category |
为该样本分配的推理类型 |
meta |
样本的元信息 |
注意事项
- 部分
ios为空,原因是代码执行时输入/输出规模过大,超出约束条件,因此未存储或后续使用。 - 由于基于 LLM 的转换过程存在不完善之处,部分问题描述可能未包含足够信息以完全描述代码,该问题留待未来版本改进。




