{
  "id": 92,
  "kind": "dataset",
  "title": "The Stack",
  "summary": "The Stack is a collection of over 6TB of permissively-licensed source code files covering 358 programming languages, created as part of the BigCode Project (an open scientific collaboration for responsible Code LLM development). It serves as a pretraining dataset for code-generating LLMs and provides per-file provenance metadata (repository name, licenses, stars/forks/issues counts, git hashes) to support attribution and license compliance. The dataset has an opt-out mechanism and is regularly updated to enact validated data-removal requests.",
  "body": "",
  "notes": "Gated; requires accepting Terms of Use and contact-info sharing. v1.0 had 30 languages/18 licenses (3TB); v1.1 expanded to 358 languages/193 licenses (6TB) and removed copyleft (MPL/EPL/LGPL). Papers: arxiv 2211.15533, 2107.03374, 2207.14157. A newer version, The Stack v2, also exists. | Deep-eval from #data-source-dump mid=1422597711273656371. papers_local id follows. Gated — Curator could not cat README this pass. Issues companion already cataloged separately.",
  "url": "https://huggingface.co/datasets/bigcode/the-stack",
  "links": [
    {
      "url": "https://huggingface.co/datasets/bigcode/the-stack",
      "label": "Dataset"
    },
    {
      "url": "https://huggingface.co/datasets/bigcode/the-stack",
      "label": "Related"
    },
    {
      "url": "https://arxiv.org/abs/2211.15533",
      "label": "Related"
    },
    {
      "url": "https://www.bigcode-project.org/",
      "label": "Related"
    }
  ],
  "authors": [
    "BigCode Project"
  ],
  "tags": [],
  "topics": "Code / Software Engineering",
  "venue": "Hugging Face / BigCode",
  "publisher": "",
  "source": "huggingface",
  "language": "358 programming languages; comments/docstrings in 40+ natural languages (EN, ZH, FR, PT, ES, RU, DE, KO, JA, etc.)",
  "access": "restricted",
  "license": "Various permissive open-source licenses (193 in v1.1); each file's original license must be respected; opt-out supported",
  "published_year": 2022,
  "added_at": "2026-07-17T20:18:03.654Z",
  "verified_at": "2026-07-17T20:18:03.654Z",
  "attrs": {
    "hf": {
      "kind": "dataset",
      "name": "the-stack",
      "namespace": "bigcode"
    },
    "scale": "6TB (v1.2, near-deduplicated); 358 programming languages; 193 permissive licenses (v1.1)",
    "dataset": {
      "cost": "Free gated download; very large storage/bandwidth",
      "type": "raw multilingual source-code pretraining corpus",
      "scale": "Paper: 3.1 TB / 30 langs; v1.0 near-dedup ~3 TB. Hub tags 100M<n<1B; parquet shards per language (e.g. large c/c++/html/css/go configs). Exact total rows not re-counted (gated 401).",
      "domain": "multilingual source code / code LLM pretraining",
      "format": "Parquet shards under data/<language>/; gated Hub dataset",
      "license": "Other — Stack Terms of Use + per-file original licenses (attribution). Hosting must include ToU.",
      "novelty": "High at release (largest open permissive multi-lang code set with governance)",
      "purpose": "Provide a large permissively licensed, governance-aware code corpus for open code LLM research",
      "used_for": "Code LLM pretraining (StarCoder lineage et al.); per-language code modeling; responsible data research",
      "bias_dist": "GitHub popularity / language skew; English-heavy comments; license-filter bias toward permissive projects; possible personal/secret leakage historically addressed via opt-out governance",
      "is_static": "No (maintainers push removal updates; ToU requires refreshing)",
      "processed": "Partially (license filter, near-dedup, language packing; not instruction-formatted)",
      "author_dist": "BigCode (Kocetkov, Li, Ben Allal, von Werra, et al.). Code authors = original GitHub contributors per provenance.",
      "sample_size": "Highly skewed by language popularity (HTML/C/C++/CSS etc. dominate shard counts)",
      "time_period": "GitHub-sourced code through BigCode Stack releases (paper 2022-11); Hub lastModified 2026-08-03; Discord 1422597711273656371 (2025-09-30)",
      "idea_quality": "High",
      "long_context": "No (file-level; some files long)",
      "text_quality": "Raw source files with provenance; near-dedup in releases; quality varies by repo. Card emphasizes license compliance over heavy cleaning.",
      "language_dist": "Programming languages (Hub: 300+ language configs; paper v1.0 highlighted 30). Natural-language comments embedded in code.",
      "modality_dist": "Text (source code)",
      "relevant_links": "https://huggingface.co/datasets/bigcode/the-stack; https://arxiv.org/abs/2211.15533; https://www.bigcode-project.org/",
      "dataset_location": "https://huggingface.co/datasets/bigcode/the-stack",
      "collection_method": "Accept HF gate/ToU; download desired language configs; honor opt-out/version notices",
      "intermediate_steps": "N/A (pretraining raw code; not CoT)",
      "text_conversion_ease": "Hub datasets loaders / Dask/Polars after gate accept; multi-TB download"
    },
    "purpose": "Serve as a large pretraining dataset of permissively-licensed source code for training Code LLMs (code-generating AI systems).",
    "used_for": "Pretraining Code LLMs (e.g., StarCoder/StarCoder2); code completion, documentation generation, natural-language-to-code translation",
    "author_type": "human",
    "time_period": "v1.0 (2022) through v1.2 (2023); opt-out requests processed through Feb 2023"
  },
  "enrichment": {
    "hf": {
      "id": "bigcode/the-stack",
      "size": "100M<n<1B",
      "type": "dataset",
      "arxiv": [
        "2211.15533",
        "2107.03374",
        "2207.14157"
      ],
      "gated": true,
      "likes": 1082,
      "tasks": [
        "text-generation"
      ],
      "author": "bigcode",
      "created": "2022-10-03",
      "formats": [
        "parquet"
      ],
      "license": "other",
      "modified": "2026-08-03",
      "downloads": 9409,
      "languages": [
        "code"
      ],
      "fetched_at": "2026-10-03T14:33:16.863Z",
      "modalities": [
        "tabular",
        "text"
      ]
    }
  },
  "enriched_at": "2026-10-03T14:33:16.910Z",
  "license_class": "permissive",
  "langs": [
    "code"
  ],
  "modalities": [
    "code",
    "text"
  ],
  "size_class": "100M<n<1B",
  "provenance": {
    "legacy_paper_id": "93",
    "pipeline_status": "done",
    "research_status": "done",
    "legacy_dataset_id": 371
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T14:33:16.910Z",
  "page": "https://papers.projxon.ai/entries/92",
  "markdown": "https://papers.projxon.ai/entries/92.md",
  "api": "https://papers.projxon.ai/api/entries/92",
  "relations": [
    {
      "relation": "related",
      "direction": "in",
      "note": "shared link",
      "via": "shared-link",
      "entry": {
        "id": 105,
        "kind": "dataset",
        "title": "KernelBook",
        "summary": "`dataset_permissive{.json/.parquet}` is a curated collection of pairs of pytorch programs and equivalent triton code (generated by torch inductor) which can be used to train models to translate pytorch code to triton code.",
        "url": "https://huggingface.co/datasets/GPUMODE/KernelBook",
        "authors": [
          "GPUMODE"
        ],
        "tags": [],
        "venue": "GPUMODE",
        "source": "huggingface",
        "license": "other",
        "published_year": 2025,
        "added_at": "2026-07-17T19:58:29.818Z",
        "has_dataset_profile": true,
        "license_class": "other",
        "langs": [
          "en"
        ],
        "modalities": [
          "text"
        ],
        "size_class": "10K<n<100K",
        "citation_count": null,
        "downloads": 242,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/105",
        "markdown": "https://papers.projxon.ai/entries/105.md",
        "api": "https://papers.projxon.ai/api/entries/105"
      }
    },
    {
      "relation": "related",
      "direction": "in",
      "note": "shared link",
      "via": "shared-link",
      "entry": {
        "id": 124,
        "kind": "dataset",
        "title": "The Stack GitHub Issues",
        "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.",
        "url": "https://huggingface.co/datasets/bigcode/the-stack-github-issues",
        "authors": [
          "BigCode"
        ],
        "tags": [],
        "venue": "BigCode / Hugging Face",
        "source": "huggingface",
        "license": "Various (governed by The Stack Terms of Use; original repository licenses apply)",
        "published_year": 2023,
        "added_at": "2026-07-17T20:18:03.682Z",
        "has_dataset_profile": true,
        "license_class": "other",
        "langs": [
          "en"
        ],
        "modalities": [
          "text"
        ],
        "size_class": "10M<n<100M",
        "citation_count": null,
        "downloads": 500,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/124",
        "markdown": "https://papers.projxon.ai/entries/124.md",
        "api": "https://papers.projxon.ai/api/entries/124"
      }
    },
    {
      "relation": "related",
      "direction": "in",
      "note": "shared link",
      "via": "shared-link",
      "entry": {
        "id": 1173,
        "kind": "dataset",
        "title": "GPUMODE/KernelBook",
        "summary": "Paired pytorch↔triton data to train models that emit KernelBench-like Triton from PyTorch modules",
        "url": "https://huggingface.co/datasets/GPUMODE/KernelBook",
        "authors": [
          "GPUMODE"
        ],
        "tags": [],
        "venue": "",
        "source": "huggingface",
        "license": "June 9 Researcher Reciprocity License (other). Training/improving AI services triggers reciprocity clause. Underlying repo licenses still apply.",
        "published_year": 2025,
        "added_at": "2026-09-08T16:29:42.000Z",
        "has_dataset_profile": true,
        "license_class": "other",
        "langs": [
          "en"
        ],
        "modalities": [
          "code",
          "text"
        ],
        "size_class": "10K<n<100K",
        "citation_count": null,
        "downloads": 242,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/1173",
        "markdown": "https://papers.projxon.ai/entries/1173.md",
        "api": "https://papers.projxon.ai/api/entries/1173"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 1035,
      "kind": "dataset",
      "title": "UltraData-Code (OpenBMB L0–L3 tiered code pretrain: L2 algorithmic + L3 synthesis)",
      "summary": "OpenBMB UltraData-Code implements the UltraData L0–L4 tiered code-data pipeline. L0 archives ~192M public GitHub default-branch revisions; L1 filters/normalizes/near-dedups; Hub currently releases L2 (~400B tokens, algorithmically selected natural code) and L3 (~150B tokens, task-oriented synthesis: task/analysis/solution/test) across 11 languages (cpp,cs,go,java,js,php,py,r,rb,rust,sh). L0/L1 not published as Hub configs. Viewer: 348,083,481 rows (L2 266,878,376 × 7 cols; L3 81,205,105 × 10 cols); usedStorage ~1.216 TB / 1132.5 GiB across 1131 siblings. L2 schema: uuid, repo_name, relative_path, content, category, algo_rel_score, quality_score. L3 schema: uuid, content, content_format, raw_content, task, analysis, solution, test, full_content, full_content_format. 10B-token CPT of a 1B model: L2 vs L1 +7.80 EvalPlus / +5.13 MultiPL-E; L2+L3 mix vs L2-only +8.42 / +8.07. Companion L2 Classifier uses Qwen3-Embedding-0.6B.",
      "url": "https://huggingface.co/datasets/openbmb/UltraData-Code",
      "authors": [
        "OpenBMB",
        "dataset citation: Chengying Tu",
        "Hengyu Zhao",
        "Shuaikang Xue",
        "Zhongming Qu",
        "Jihao Zhou",
        "Xinle Lin",
        "Junshao Guo",
        "Zixuan Fu",
        "Qiang Ma",
        "Jie Zhou",
        "Chaojun Xiao",
        "Hongfei Yan",
        "Yudong Wang",
        "Xu Han",
        "Zhiyuan Liu",
        "Maosong Sun",
        "framework paper 2602.09003: Yudong Wang",
        "Chen Zhao",
        "Chuyue Zhou",
        "Hongya Lyu",
        "Yi Yi",
        "Yingjiao Wang",
        "Zhi Zheng",
        "Yuzhou Zhang",
        "Maosong Sun (Tsinghua / ModelBest)"
      ],
      "tags": [
        "ultradata-code",
        "ultradata",
        "openbmb",
        "code-pretraining",
        "algorithmic-code",
        "synthetic-data",
        "l2",
        "l3",
        "minicpm5",
        "apache-2.0",
        "github-derived",
        "parquet"
      ],
      "venue": "Hugging Face / OpenBMB",
      "source": "huggingface",
      "license": "Apache-2.0 (plus upstream per-repository licenses; card forbids unauthorized unchanged redistribution)",
      "published_year": 2026,
      "added_at": "2026-09-24T12:52:19.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en",
        "zh"
      ],
      "modalities": [
        "tabular",
        "text"
      ],
      "size_class": "100M<n<1B",
      "citation_count": null,
      "downloads": 44061,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1035",
      "markdown": "https://papers.projxon.ai/entries/1035.md",
      "api": "https://papers.projxon.ai/api/entries/1035"
    },
    {
      "id": 777,
      "kind": "paper",
      "title": "BigO(Bench): Can LLMs Generate Code with Controlled Time and Space Complexity?",
      "summary": "Introduces BigO(Bench), a benchmark for evaluating LLMs on understanding and generating code with specified time/space complexity. Includes tooling to infer algorithmic complexity of any Python function from profiling, plus 3,105 coding problems and 1,190,250 solutions from Code Contests annotated with inferred complexity labels, runtime, and memory footprints across input sizes. Finds token-space reasoning models are unrivaled at code generation but not at complexity understanding, hinting they may not generalize to tasks with no training-time reward.",
      "url": "https://arxiv.org/abs/2503.15242",
      "authors": [
        "Pierre Chambon",
        "Baptiste Roziere",
        "Benoit Sagot",
        "Gabriel Synnaeve"
      ],
      "tags": [
        "benchmark",
        "code-complexity",
        "code-generation",
        "big-o",
        "code-contests"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 11,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/777",
      "markdown": "https://papers.projxon.ai/entries/777.md",
      "api": "https://papers.projxon.ai/api/entries/777"
    },
    {
      "id": 1238,
      "kind": "paper",
      "title": "Effective Strategies for Asynchronous Software Engineering Agents",
      "summary": "How do multiple agents asynchronously collaborate on a shared artifact? Answer: branch-and-merge is the key coordination mechanism, and human SWE primitives (git worktree, git commit, git merge) are all you need to support it. CAID (Centralized Asynchronous Isolated Delegation): a central manager builds dependency-aware task plans, workers execute subtasks concurrently in isolated workspaces, and progress is consolidated via structured, test-backed integration. v2 results: +25.6% absolute over single-agent baselines on PaperBench paper-reproduction tasks, +14.7% on Python library development (Commit0). Ablations credit both centralized delegation and async execution; robust to worker count (2/4/8 workers perform similarly). Emergent behaviors: specialization (some agents become test engineers), error recovery across agents (code-review-style bug fixing), and verification awareness (agents write tests that verify their own work). Directly relevant to the user's unnamed AI agent app.",
      "url": "https://arxiv.org/abs/2603.21489",
      "authors": [
        "Jiayi Geng",
        "Graham Neubig"
      ],
      "tags": [
        "multi-agent",
        "caid",
        "asynchronous-collaboration",
        "paperbench",
        "commit0",
        "software-engineering-agents",
        "branch-and-merge"
      ],
      "venue": "arXiv:2603.21489 (cs.CL), submitted 23 Mar 2026, v2 8 Jul 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1238",
      "markdown": "https://papers.projxon.ai/entries/1238.md",
      "api": "https://papers.projxon.ai/api/entries/1238"
    },
    {
      "id": 1245,
      "kind": "paper",
      "title": "Cross-Benchmark Transfer from RL on Agentic Coding Tasks",
      "summary": "Post-trains Kimi K2.7 Code (1T params, 32B active, open-weight MoE) with RL alone on 1,700 expert-built agentic coding tasks: 1,000 repository tasks graded by hidden fail-to-pass + pass-to-pass tests of existing behavior, 700 terminal tasks graded by expert-written hidden verifiers. Reward = fraction of target checks passed, zeroed if any pass-to-pass test fails. One epoch of GSPO on a rank-32 LoRA adapter raises pass@1 on all six external benchmarks across three agent harnesses: SWE-Bench Pro 60.1->64.8, DeepSWE 31.0->43.4, Terminal-Bench 2.1 67.4->82.0, Terminal-Bench 3 1.4->12.1, Terminal-Bench 4 0.0->7.6, SWE-Marathon 5.0->25.0. Gains statistically significant (p<0.001 pooled; p=0.004 on sets released after training data collection), hold under harnesses never used in training, and median agent trajectories are 24-35% shorter. Evidence that RL-taught agentic coding skills (avoiding dropped requirements, shallow testing, behavior breakage, unchecked assumptions) transfer beyond the training distribution.",
      "url": "https://arxiv.org/abs/2610.00890",
      "authors": [
        "Sushant Mehta",
        "Logan Ritchie",
        "Edwin Chen"
      ],
      "tags": [
        "rl-post-training",
        "coding-agents",
        "kimi-k2.7-code",
        "gspo",
        "cross-benchmark-transfer",
        "agentic-coding",
        "verifiers"
      ],
      "venue": "arXiv 2610.00890 [cs.LG/cs.AI/cs.SE], submitted 1 Oct 2026, preprint",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1245",
      "markdown": "https://papers.projxon.ai/entries/1245.md",
      "api": "https://papers.projxon.ai/api/entries/1245"
    },
    {
      "id": 232,
      "kind": "dataset",
      "title": "The Stack v2",
      "summary": "The Stack v2 is a large-scale pre-training dataset of source code containing over 3 billion files in 600+ programming and markup languages, derived from the Software Heritage archive. It serves as a pre-training corpus for Code LLMs (used to train StarCoder2), with the full dataset at 67.5TB and the deduplicated version at 32.1TB (~900B tokens). The dataset provides SWHIDs (Software Heritage IDs) for provenance and compliance, with file contents stored on Software Heritage's S3 bucket.",
      "url": "https://huggingface.co/datasets/bigcode/the-stack-v2",
      "authors": [
        "BigCode Project (collaboration including Hugging Face",
        "ServiceNow",
        "INRIA",
        "Software Heritage)"
      ],
      "tags": [],
      "venue": "BigCode Project / Software Heritage / INRIA",
      "source": "huggingface",
      "license": "Various (per-repository licenses; must abide by original license terms)",
      "published_year": 2024,
      "added_at": "2026-07-17T20:18:03.735Z",
      "has_dataset_profile": true,
      "license_class": "other",
      "langs": [
        "code"
      ],
      "modalities": [
        "text"
      ],
      "size_class": null,
      "citation_count": null,
      "downloads": 6031,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/232",
      "markdown": "https://papers.projxon.ai/entries/232.md",
      "api": "https://papers.projxon.ai/api/entries/232"
    },
    {
      "id": 87,
      "kind": "dataset",
      "title": "Nemotron-Pretraining-Code-v1",
      "summary": "Nemotron-Pretraining-Code-v1 is a large-scale curated source-code dataset mined from GitHub, processed through multi-stage filtering including license-based removal (BigCode-inspired, with a stricter license set), exact and fuzzy deduplication, and heuristic quality filters from OpenCoder, with all files annotated with metadata to guide filtering. It additionally includes large-scale synthetic code question-answer data in 11 programming languages generated by prompting LLMs (Mixtral-8x22B) on curated code snippets, solving generated problems, and filtering for correctness, producing diverse natural-language-code pairs for pretraining.",
      "url": "https://huggingface.co/datasets/nvidia/Nemotron-Pretraining-Code-v1",
      "authors": [
        "NVIDIA"
      ],
      "tags": [],
      "venue": "Hugging Face / NVIDIA",
      "source": "huggingface",
      "license": "NVIDIA Data Agreement for Model Training (model training use only)",
      "published_year": 2025,
      "added_at": "2026-07-17T20:18:03.651Z",
      "has_dataset_profile": false,
      "license_class": "restricted",
      "langs": [
        "code",
        "multilingual"
      ],
      "modalities": [
        "text"
      ],
      "size_class": "100M<n<1B",
      "citation_count": null,
      "downloads": 2614,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/87",
      "markdown": "https://papers.projxon.ai/entries/87.md",
      "api": "https://papers.projxon.ai/api/entries/87"
    }
  ]
}
