livecodebench_code_generation_lite
收藏资源简介:
该数据集包含多个配置(test、test2、test3、test4、test5、test6、test6solution),每个配置对应一个测试集(split: test)。每个样本包含编程竞赛题目相关的字段:题目标题(question_title)、题目内容(question_content)、题目来源平台(platform)、题目ID(question_id)、竞赛ID(contest_id)、竞赛日期(contest_date)、起始代码(starter_code)、难度等级(difficulty)、公开测试用例(public_test_cases)、私有测试用例(private_test_cases)、元数据(metadata)、提取的提示(hint_extracted)以及提示分析(hint_analysis)。所有字段均为字符串类型,竞赛日期为时间戳。各配置的样本数量从 94 到 387 不等,总大小各异。该数据集适用于编程竞赛题目的分析、难度预测、代码生成、测试用例生成等任务。
This dataset contains multiple configurations (test, test2, test3, test4, test5, test6, test6solution), each corresponding to a test set (split: test). Each sample includes fields related to programming competition problems: question title, question content, platform, question ID, contest ID, contest date, starter code, difficulty level, public test cases, private test cases, metadata, extracted hints, and hint analysis. All fields are of string type, with contest dates as timestamps. The number of samples per configuration ranges from 94 to 387, with varying total sizes. The dataset is suitable for tasks such as analysis of programming competition problems, difficulty prediction, code generation, and test case generation.
数据集概述
该数据集为 livecodebench_code_generation_lite,是一个用于代码生成任务评估的轻量级数据集,包含 7 个配置(test、test2、test3、test4、test5、test6、test6solution),每个配置均包含一个 test 分割。
数据集规模
| 配置名称 | 样本数量 | 数据集大小(字节) | 下载大小(字节) |
|---|---|---|---|
| test | 387 | 1,212,332,319 | 1,198,461,566 |
| test2 | 107 | 687,788,319 | 683,774,750 |
| test3 | 94 | 580,256,176 | 617,168,471 |
| test4 | 99 | 1,180,919,549 | 1,148,123,009 |
| test5 | 163 | 544,547,430 | 550,185,347 |
| test6 | 168 | 129,140,781 | 123,361,385 |
| test6solution | 148 | 100,585,272 | 91,540,178 |
总计:约 1,166 个样本,总数据集大小约 4.44 GB。
数据字段
每个配置均包含以下 13 个字段:
- question_title:问题标题(字符串)
- question_content:问题描述内容(字符串)
- platform:题目来源平台(字符串)
- question_id:题目唯一标识(字符串)
- contest_id:竞赛 ID(字符串)
- contest_date:竞赛日期(时间戳,秒级精度)
- starter_code:初始代码框架(字符串)
- difficulty:题目难度(字符串)
- public_test_cases:公开测试用例(字符串)
- private_test_cases:私有测试用例(字符串)
- metadata:元数据(字符串)
- hint_extracted:提取的提示信息(字符串)
- hint_analysis:提示分析结果(字符串)
数据用途
该数据集聚焦于代码生成任务的轻量版本,可用于评估模型在竞赛编程场景下的代码生成能力。通过提供题目、起始代码、测试用例及提示信息,支持模型对代码生成质量的评估与对比分析。




