← All entries
Dataset2025#1166

KodCode-V1

Summary

Largest fully-synthetic open question–solution–test dump for coding SFT and RL, with self-verified pytest/stdio tests

Access
Free
License
CC BY-NC 4.0 (HF card YAML cc-by-nc-4.0). Non-commercial. GPT-4o-0513 / Qwen2.5-Coder / DeepSeek-R1 terms may still apply if used to train a distributed model. Upstream LeetCode/Codeforces/APPS/TACO/CodeContests seed licenses remain.
License family
Non-commercial
Language
en
Added
Aug 14, 2026
Verified
Aug 14, 2026

From the source

Repository
KodCode/KodCode-V1
Created
Feb 28, 2025
Last updated
Mar 17, 2025
Downloads (last month)
13,960
Likes
119
Size
100K to 1M rows
Modalities
text
Formats
parquet

Fetched Oct 3, 2026 from Hugging Face. These numbers change; the curated fields above do not come from here.

Topics

code generation; Python interview/contest/DSA; verifiable unit tests; SFT and RL

Dataset profile

Scale
Paper 447K verified triplets after style rewrite (279K after self-verification + 168K Complete/function-signature reformats). YAML default train 484,097 / use_with_caution 3,335 (sum 487,432) / download_size 2,642,644,096 bytes (~2.64 GB) / dataset_size 7,496,353,254 bytes (~7.50 GB). Hub/datasets-server train 484.1K / 19 columns / 15 parquet ~2.6 GB plus use_with_caution 3.3K / 1 parquet 21.0 MB. size_categories 100K<n<1M. Card subset counts (≈446K, not extra overlapping n): Prefill 43K; Leetcode 27K; Codeforces 33K; Apps 21K; Taco 81K; Code Contests 36K; Algorithm 31K; Data Structure 34K; Docs 43K; Filter 77K; Package 7K; Evol 13K. HF train 484k vs paper 447k is v1.0+v1.1 Online Judge restyle — catalog YAML 484,097. Hub overview 42.1K downloads / 114 likes at check. gated=false.
Format
parquet under data/train-* and data/use_with_caution-*. Columns: version, style, subset, question_id, question, solution, test, test_info, gpt_pass_sequence, gpt_pass_trial_num, gpt_difficulty, gpt_pass_percentage, trials, chosen_trial, metadata, benchmark_similarity, benchmark_instruction, benchmark_task_id, filter_reason. Single default config; train + use_with_caution.
Type
Annotated synthetic code SFT/RL / question + verified solution + unit tests
License
CC BY-NC 4.0 (HF card YAML cc-by-nc-4.0). Non-commercial. GPT-4o-0513 / Qwen2.5-Coder / DeepSeek-R1 terms may still apply if used to train a distributed model. Upstream LeetCode/Codeforces/APPS/TACO/CodeContests seed licenses remain.
Cost
Free
Languages
English questions + Python solutions/tests (card language:en). Preview is English instruct + pytest. No LID table. Per-language percents N/A.
Modality
Text-only (English + Python). No images.
Domain
code generation; Python interview/contest/DSA; verifiable unit tests; SFT and RL
Time period
Paper arXiv 2503.02951 (Hub publishedAt 2025-03-04T19:17:36Z; Daily Papers 2025-03-06). HF createdAt 2025-02-28; lastModified 2025-03-17T07:56:27Z. Card v1.1 adds Online Judge style. Teacher GPT-4o-0513; SFT sibling uses DeepSeek R1. One-shot synthetic release, not a live GitHub scrape.
Purpose
Largest fully-synthetic open question–solution–test dump for coding SFT and RL, with self-verified pytest/stdio tests
Used for
Paper KodCode-tuned models reported above Qwen2.5-Coder-32B-Instruct and DeepSeek-R1-Distill-Llama-70B on HumanEval(+)/MBPP(+)/BigCodeBench/LiveCodeBench. Hub siblings KodCode-V1-SFT-R1 / KodCode-V1-SFT-4o are post-training rewrites — not extra n of this RL dump. Hub overview 42.1K downloads / 114 likes at check; owner listing 3,854 downloads. Paper 34 upvotes / GitHub 321 stars at paper-metadata check.
Authors
Xu (UW; Microsoft GenAI internship), Liu (Microsoft GenAI), Yin/Zhou (UT Austin), Poovendran (UW); arXiv 2503.02951. Questions synthesized from Magpie-Prefill (Qwen2.5-Coder-7B-Instruct), GPT-4o-0513 expansions of LeetCode/Codeforces/APPS/TACO/CodeContests seeds, DSA snippets, package docs, Magpie Filter, Package Instruct, Evol Instruct. Solutions/tests by GPT-4o-0513. Not human contest authors for the synthesized slice.
Bias
Fully synthetic GPT-4o Python. Contest-assessment subsets (Taco 81K largest) plus Magpie Prefill/Filter and package Docs. gpt_difficulty is pass-rate over ≤10 self-verification trials (easy/medium/hard), not human contest rating. benchmark_similarity vs HumanEval/MBPP/BigCodeBench/LiveCodeBench is a column. Distinct from already-cataloged TACO / OpenCodeInstruct / OpenCodeReasoning / CodeForces-CoTs / rStar-Coder. SFT-R1/SFT-4o/Light-RL-10K are siblings — not extra n.
Text quality
Preview row 0 (v1.0 instruct Leetcode_3_I max product of two distinct elements) is a well-posed Python function with pytest tests; chosen trial_gpt4o_7 passed at 100% branch coverage after 9 fails (gpt_pass_percentage 0.1 → gpt_difficulty hard). Paper self-verification vs human tests: 97.5% MBPP val / 99.47% LiveCodeBench-V5 after format/precision review. Residual: this item is interview-easy despite the hard pass-rate label; benchmark_similarity 0.746 is high vs the contamination set; CC BY-NC; GPT-4o terms; not independently re-executed here.
Sample size
default train 484,097 / use_with_caution 3,335. subset/style/version/gpt_difficulty are columns not Hub configs. Paper 447K is the v1.0 verified set before the v1.1 Online Judge restyle. Do not add KodCode-V1-SFT-R1 (483,437) / KodCode-V1-SFT-4o (409,552) / KodCode-Light-RL-10K (10,000) as extra n. Do not concat with already-cataloged TACO or OpenCodeInstruct.
Long context
Mixed (short Prefill vs contest/Docs items; YAML ~7.50 GB / 487,432 ≈ ~15 KB uncompressed/row including trials). Exact token histogram Unknown without aggregating.
Intermediate steps
Yes (12-subset question synthesis; GPT-4o-0513 solution+test generation with pytest-cov 100% branch coverage; up to 10 retries on hard items; Complete/Online-Judge restyle; DeepSeek-R1 test-based reject sampling lives on the SFT-R1 sibling). Code MIT-style at github.com/KodCode-AI/kodcode.
Idea quality
High
Novelty
High (public 447–484k self-verified Python question–solution–test triplets vs already-cataloged TACO 26k human contests / OpenCodeInstruct Genetic-Instruct)
Text conversion
Ready parquet; load_dataset('KodCode/KodCode-V1', split='train'). ~2.64 GB download — streaming optional. use_with_caution is the filtered split. Do not concat SFT-R1 / SFT-4o / Light-RL-10K as extra n of this RL dump.
Collection method
Download
Static
Unknown (HF lastModified 2025-03-17; v1.1 Online Judge add; one-shot).
Processed
Unknown

Research notes

  • Dump-adjacent public corpus (not in data-source-dump.jsonl). gated=false; public; CuratorBote listed README plus 16 LFS parquet (~2.64 GB download). Catalog YAML train 484,097 / paper 447K, not subset-sum 446K as extra n. Cite Xu et al. 2025 arXiv 2503.02951. Not in papers_local.csv. Not on the Aug 13 live Datasets sheet export. Substituted ahead of Hub-gated nvidia/Nemotron-Pretraining-Code-v1 / bigcode/the-stack / SynthLabsAI/Big-Math-RL-Verified (gated); skipped Modotte/CodeX-2M-Thinking, Convence/Rust-Coder (too small), and lazarus19/Vibe-Coding-Instruct (junk-scale parquet). SFT-R1/SFT-4o are DeepSeek-R1 / GPT-4o response rewrites of these questions — do not add as extra n here.

Similar entries