# The Stack GitHub Issues

- **ID:** 124
- **Kind:** dataset
- **URL:** https://huggingface.co/datasets/bigcode/the-stack-github-issues
- **Authors:** BigCode
- **Venue:** BigCode / Hugging Face
- **Published:** 2023
- **Source:** huggingface
- **Language:** English (primarily), code snippets in 300+ programming languages
- **Access:** restricted
- **License:** Various (governed by The Stack Terms of Use; original repository licenses apply)
- **License family:** Other (auto-classified)
- **Topics:** Code / NLP
- **Added:** 2026-07-17
- **Verified:** 2026-07-17
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/124

## Summary

The Stack GitHub Issues dataset contains ~30.9 million conversations from GitHub issues and pull requests, extracted as part of the larger Stack code dataset. Each conversation includes events such as issue opening, comments, and closures, with author usernames masked for PII protection. The dataset was cleaned from 180GB down to 54GB by removing bot comments, automated email replies, and low-quality conversations, and is used to train code generation models like Stable Code 3B.

## Attributes

- **Purpose:** A dataset of GitHub issue and pull request conversations for training code LLMs to understand and participate in software development discussions.
- **Scale:** 30,982,955 conversations, 66.6 GB
- **Used for:** Stable Code 3B and other code generation models
- **Time period:** GitHub data up to collection date (~2023)
- **Author type:** human

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

- **Repository:** bigcode/the-stack-github-issues (Hugging Face)
- **Created:** Mar 16, 2023 (Hugging Face)
- **Last updated:** Mar 20, 2023 (Hugging Face)
- **Downloads (last month):** 500 (Hugging Face)
- **Likes:** 52 (Hugging Face)
- **Size:** 10M to 100M rows (Hugging Face)
- **Modalities:** text (Hugging Face)
- **Tasks:** text-generation (Hugging Face)
- **Formats:** parquet (Hugging Face)
- **Gated:** yes (Hugging Face)

## Dataset profile

- **Scale:** ~30.98M conversations; ~54GB cleaned (card); ~66.6 GB usedStorage
- **Format:** Parquet; content + structured events JSON-like fields
- **Type:** Conversational issue/PR corpus
- **License:** Multi-license per source repos + The Stack Terms of Use (gated)
- **Cost:** Free after gate; tens of GB download
- **Languages:** Mostly English (card)
- **Modality:** Text
- **Domain:** Software engineering / GitHub issues & PRs (mostly English)
- **Time period:** Hub 2023-03-16 to 2023-03-20; Discord mid 1429930543075557406
- **Purpose:** Code-adjacent conversational pretraining from issue/PR threads
- **Used for:** Code LM pretraining; SE dialogue modeling
- **Authors:** Crowdsourced GitHub users; curated by BigCode; bots filtered
- **Bias:** Public GitHub projects; English-heavy; bot/short-thread filters change community mix; username masking
- **Text quality:** Cleaned (bots removed, short dropped, PII regex); still noisy social/tech support text
- **Sample size:** 127 train parquet shards; variable thread lengths (long comments truncated)
- **Long context:** Medium - multi-comment threads; very long ones truncated in cleaning
- **Intermediate steps:** Yes - collect from Stack pipeline, regex clean, bot filter, quality heuristics, PII redact
- **Idea quality:** High
- **Novelty:** Medium-High as large open issue/PR dialogue companion to The Stack
- **Text conversion:** High - training-ready content column
- **Collection method:** Accept HF gate/ToU; respect provenance licenses; track Stack version removals
- **Static:** Card lastModified 2023-03-20; Stack family may issue removal updates
- **Processed:** Yes - cleaned and PII-redacted

## Links

- Dataset: https://huggingface.co/datasets/bigcode/the-stack-github-issues
- Related: https://huggingface.co/datasets/bigcode/the-stack-github-issues
- Related: https://huggingface.co/datasets/bigcode/the-stack

## Research notes

- Requires agreeing to Terms of Use and sharing contact info. Part of the BigCode Stack initiative. PII (usernames, IPs, emails) has been redacted via regex masking.
- Not source code; companion conversational set to the-stack. Gated like Stack.

## Related entries

- Related: [The Stack](https://papers.projxon.ai/entries/92) (dataset, #92)

## Similar entries

- [UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)](https://papers.projxon.ai/entries/1035) (dataset, #1035)
- [GitHub Code Clean](https://papers.projxon.ai/entries/1168) (dataset, #1168)
- [BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?](https://papers.projxon.ai/entries/777) (paper, #777)
- [GitHub Code 2025](https://papers.projxon.ai/entries/101) (dataset, #101)
- [github-top-code](https://papers.projxon.ai/entries/229) (dataset, #229)
- [Cross-Benchmark Transfer from RL on Agentic Coding Tasks](https://papers.projxon.ai/entries/1245) (paper, #1245)
