← All entries
Dataset2026#258

github-codereview

Summary

A large-scale dataset of the best human-written code reviews from top GitHub repositories.

Venue
ronantakizawa
Access
free
License
other
License family
Other
Language
en, code
Hugging Face
ronantakizawa/github-codereview
Author type
unknown
Added
Jul 17, 2026
Verified
Jul 17, 2026
Research status
done

From the source

Repository
ronantakizawa/github-codereview
Created
Mar 3, 2026
Last updated
Mar 10, 2026
Downloads (last month)
1,160
Likes
63
Size
100K to 1M rows
Modalities
text
Tasks
text-generation
Formats
parquet

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

Topics

Language Modeling

Dataset profile

Scale
Hub datasets-server 355,807 rows (train 334,323 / validation 10,471 / test 11,013) / 20 columns. size_categories 100K<n<1M. Card 167K+ positive triplets + 51K+ negatives (~23%) from 725 repos — Hub n is larger (355,807 vs card ~218K). download_size 652,886,604 bytes (~652.9 MB parquet) / dataset_size 2,062,286,148 (~2.06 GB uncompressed). Train parquet listed as both *-of-00003 (3 shards ~253 MB) and *-of-00004 (4 shards ~362 MB) plus test 19.4 MB / val 18.7 MB. usedStorage 2,583,394,592 bytes (~2.58 GB). Hub overview 3.9K downloads / 60 likes at check (API last-month 702). gated=false.
Format
parquet under data/{train,validation,test}/. Columns: before_code, reviewer_comment, after_code, diff_context, file_path, comment_line, language, quality_score, comment_type, comment_length, before_lines, after_lines, is_negative, pr_title, pr_number, repo_name, repo_stars, repo_language, reviewer_username, author_username.
Type
Annotated code-review corpus / before–comment–after triplets plus negatives
License
other (card). No LICENSE file in the repo. Card: source repos MIT, Apache-2.0, BSD, or similar only. Dataset-level SPDX Unknown — catalog other, not a named OSI license. GitHub ToS still applies to scraped comments/usernames.
Cost
Free
Languages
Card language: en, code. 37 programming languages (Python, TypeScript, Go, Rust, C++, JavaScript, C#, Java, Kotlin, Swift, and more). Comments filtered to English. Preview rows 0–2 are TypeScript/JavaScript/C++ from 4ian/GDevelop. Per-language percents Unknown without aggregating parquet.
Modality
Text-only (source code + English review comments + diff hunks). No images.
Domain
code review; pull-request inline comments; review-driven code edits; software engineering
Time period
HF createdAt 2026-03-03T18:27:45Z; lastModified 2026-03-10T00:59:34Z. Discord posted 2026-03-20. Source PRs from top GitHub repos (star snapshot at scrape). Per-PR dates Unknown without aggregating parquet. One-shot scrape, not a live GitHub crawl.
Purpose
Train models to generate human inline review comments, apply review feedback, and recognize clean code (negative "No issues found." examples from the same PRs)
Used for
None named on the card. Hub overview 3.9K downloads / 60 likes at check (API last-month 702). Discord posted the HF URL.
Authors
Ronan Takizawa (card bibtex). Human PR authors and reviewers on 725 top GitHub repos; AI/bot reviewers (Copilot, linter bots) excluded. Preview GDevelop reviewers D8H / 4ian.
Bias
Star-filtered top permissive-license GitHub repos, not the long tail. Splits are deterministic by repository (all examples from one repo stay in one split) so GDevelop-heavy preview does not imply train mix. English review comments only. Distinct from already-cataloged GitHub Top Code / github-code-2025 / CommitPackFT (code dumps, not review triplets) and Open-SWE-Traces / SWE-Hero (agent trajectories).
Text quality
Card: human-only reviews; noise/auto-generated/non-English/non-code/replies dropped; only keep triplets where the ~50-line chunk actually changed after the comment. Preview row 0 is a real GDevelop TypeScript anchor-behavior question that the author answered with an equality short-circuit; row 1 is a GitHub suggestion block fixing a stray return in setHeight. Residual: leftover of-00003 and of-00004 train shard families in the repo (overlap Unknown without parquet inspect); card 167K+/51K+ vs Hub 355,807; quality_score is a card heuristic (preview 0.43–0.57), not independently re-scored here.
Sample size
Train 334,323 / validation 10,471 / test 11,013 = 355,807. Card 90/5/5 split by repository. comment_type is a column (suggestion, question, nitpick, bug, refactor, style, security, performance, none), not a config. Per-type n Unknown without aggregating. github-top-projects is the repo list, not extra review rows.
Long context
No (card: ~50-line chunks, not whole files; preview before_lines/after_lines 41–51). Exact token histogram Unknown without parquet inspect.
Intermediate steps
Yes (select top permissive repos from ronantakizawa/github-top-projects; paginate merged PRs; filter bots; extract inline comments; fetch before/after file chunks; keep changed chunks; sample uncommented files from the same PRs as negatives).
Idea quality
High
Novelty
High (public 356k human review-driven code-change triplets with negatives; fills code-review SFT vs already-cataloged GitHub source dumps)
Text conversion
Ready parquet; load_dataset('ronantakizawa/github-codereview'). ~653 MB datasets-server parquet / ~2.58 GB usedStorage. Prefer the Hub viewer splits over globbing both of-00003 and of-00004 train families until overlap is checked.
Collection method
Download
Static
Unknown (HF lastModified 2026-03-10; one-shot scrape).
Processed
Unknown

Research notes

  • downloads=784; likes=57
  • Discord posted this HF pointer (message 1484615046540693676). gated=false; public; CuratorBote listed 7 train parquet files (of-00003 and of-00004 families) plus test/val. Catalog Hub 355,807; do not treat card 167K+ / 51K+ as Hub n. Overlap between the two train shard families is Unknown — do not double-count. Substituted ahead of gated bigcode/the-stack / nvidia/Nemotron-Pretraining-Code-v1 and SALT-NLP/SWE-chat. Cite Takizawa 2026 HF dataset. Not in papers_local.csv. Not on the Aug 13 live Datasets sheet export.

Similar entries