# github-codereview

- **ID:** 258
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/ronantakizawa/github-codereview
- **Authors:** ronantakizawa
- **Venue:** ronantakizawa
- **Published:** 2026
- **Source:** huggingface
- **Language:** en, code
- **Access:** free
- **License:** other
- **License family:** Other (auto-classified)
- **Topics:** Language Modeling
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/258

## Summary

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

## Attributes

- **Purpose:** Language Modeling
- **Scale:** 100K<n<1M
- **Time period:** created 2026-03-03; updated 2026-03-10
- **Author type:** unknown

## From the source (fetched 2026-10-03)

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

## 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

## Links

- Dataset: https://huggingface.co/datasets/ronantakizawa/github-codereview
- Related: https://huggingface.co/datasets/ronantakizawa/github-codereview
- Related: https://huggingface.co/datasets/ronantakizawa/github-top-projects

## 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

- [Contrastive Language Models (CLM): A System One Model for Fast and Generalizable Decision-Making](https://papers.projxon.ai/entries/1018) (model, #1018)
- [github-top-code](https://papers.projxon.ai/entries/229) (dataset, #229)
- [OpenBMB/MiniCPM](https://papers.projxon.ai/entries/705) (code, #705)
- [How Depth Growth and Looping Shape In-Context Learning in Language Models](https://papers.projxon.ai/entries/1464) (paper, #1464)
- [Introducing OUI-1: world's first model for Generative UI](https://papers.projxon.ai/entries/703) (post, #703)
- [Reinforcing Recursive Language Models](https://papers.projxon.ai/entries/1100) (post, #1100)
