FeatBench_v1.0
收藏资源简介:
该数据集包含与代码仓库相关的详细信息,旨在支持代码修复和测试生成等任务。数据集包含156个测试样本,总大小约为25.3MB。主要特征包括:仓库信息(repo)、实例ID(instance_id)、基础提交(base_commit)、问题描述(problem_statement)、提示文本(hints_text)、创建时间(created_at)、版本(version)、组织(org)、编号(number)、测试文件(test_files)、处理状态(processed)等。特别值得注意的是,数据集包含两种类型的补丁文件:FAIL_TO_PASS和PASS_TO_PASS,每种补丁文件都详细记录了添加(additions)、变更(changes)、删除(deletions)、文件名(filename)、补丁内容(patch)和状态(status)等信息。此外,还包含主补丁(patch)和测试补丁(test_patch)字段。数据集适用于代码自动修复、测试用例生成和代码变更分析等研究领域。
This dataset contains detailed information related to code repositories, aiming to support tasks such as code repair and test generation. It consists of 156 test samples with a total size of approximately 25.3 MB. Its core features include: repository information (repo), instance ID (instance_id), base commit, problem statement, hints text, created_at, version, organization (org), number, test_files, processed status, etc. Notably, the dataset includes two types of patch files: FAIL_TO_PASS and PASS_TO_PASS. Each type of patch file records detailed attributes including additions, changes, deletions, filename, patch content, and status. Additionally, it contains the main patch (patch) and test patch (test_patch) fields. This dataset is applicable to research domains such as automated code repair, test case generation, and code change analysis.
FeatBench_v1.0 数据集概述
数据集基本信息
- 数据集名称:FeatBench_v1.0
- 发布者/组织:PGCodeLLM
- 数据量:测试集包含 156 个样本
- 存储大小:下载大小约为 24.4 MB,数据集大小约为 25.3 MB
- 默认配置:仅包含一个“test”拆分
- 数据文件路径:
data/test-*
数据结构与特征
数据集包含以下字段:
代码仓库与问题标识
repo:仓库名称(字符串类型)instance_id:实例标识符(字符串类型)base_commit:基础提交哈希(字符串类型)org:组织名称(字符串类型)number:编号(整数类型)
问题描述与元数据
problem_statement:问题陈述(字符串类型)hints_text:提示文本(字符串类型)created_at:创建时间(字符串类型)version:版本(字符串类型)processed:是否已处理(布尔类型)
测试文件
test_files:测试文件列表(字符串列表)
代码补丁与测试补丁
FAIL_TO_PASS:失败到通过的测试列表(字符串列表)PASS_TO_PASS:通过到通过的测试列表(字符串列表)patch:补丁内容(字符串类型)test_patch:测试补丁内容(字符串类型)
结构化补丁信息
-
patch_files:补丁文件列表,每个元素包含:additions:添加行数(整数类型)changes:修改行数(整数类型)deletions:删除行数(整数类型)filename:文件名(字符串类型)patch:补丁内容(字符串类型)status:状态(字符串类型)
-
test_patch_files:测试补丁文件列表,结构与patch_files相同




