{
  "id": 280,
  "kind": "dataset",
  "title": "KStack",
  "summary": "KStack is the largest collection of permissively licensed Kotlin source code, containing 5.52 million files scraped from GitHub repositories with metadata like owner, repo ID, language distribution, license, and commit SHA. It is part of JetBrains' Kotlin ML Pack (alongside the curated KStack-clean and KExercises datasets) and is intended for pretraining and fine-tuning code generation models for Kotlin, demonstrating that even small high-quality subsets can yield up to a 16-point increase in HumanEval pass rate.",
  "body": "",
  "notes": "Part of JetBrains' Kotlin ML Pack. Associated papers: arXiv:2211.15533 (2022) and arXiv:2402.19173 / arXiv:2405.19250 (Kotlin ML Pack Technical Report, 2024). KStack-clean is a filtered 25k-example subset for higher-quality training. | Discord posted the HF pointer. Cite Titov et al. 2024 Kotlin ML Pack arXiv 2405.19250. gated=false; public. Substituted as the code-pretrain pick vs gated bigcode/the-stack and the-stack-v2 (CuratorBote still no access 2026-08-14). Card YAML pretty_name/size_categories look copied from KExercises — use dataset_info + Hub tags. Not in papers_local.csv. Not on the Aug 13 live Datasets sheet export.",
  "url": "https://huggingface.co/datasets/JetBrains/KStack",
  "links": [
    {
      "url": "https://huggingface.co/datasets/JetBrains/KStack",
      "label": "Dataset"
    },
    {
      "url": "https://arxiv.org/abs/2405.19250",
      "label": "Related"
    },
    {
      "url": "https://huggingface.co/datasets/JetBrains/KStack",
      "label": "Related"
    },
    {
      "url": "https://huggingface.co/datasets/JetBrains/KStack-clean",
      "label": "Related"
    },
    {
      "url": "https://huggingface.co/datasets/JetBrains/KStack/blob/main/licenses.json",
      "label": "Related"
    },
    {
      "url": "https://arxiv.org/abs/2211.15533",
      "label": "Related"
    },
    {
      "url": "https://arxiv.org/abs/2402.19173",
      "label": "Related"
    }
  ],
  "authors": [
    "JetBrains (Mikhail Evtikhiev",
    "Sergey Titov",
    "Anton Shapkin",
    "Oleg Smirnov",
    "Sergey Boytsov",
    "Dariia Karaeva",
    "et al.)"
  ],
  "tags": [],
  "topics": "Code",
  "venue": "JetBrains (HuggingFace)",
  "publisher": "",
  "source": "huggingface",
  "language": "Kotlin, Java, English",
  "access": "free",
  "license": "other (permissively licensed Kotlin code, varies per file; Apache 2.0 common)",
  "published_year": 2024,
  "added_at": "2026-07-17T20:18:03.766Z",
  "verified_at": "2026-07-17T20:18:03.766Z",
  "attrs": {
    "hf": {
      "kind": "dataset",
      "name": "KStack",
      "namespace": "JetBrains"
    },
    "scale": "5.52M rows, 1M-10M size category",
    "dataset": {
      "cost": "Free",
      "type": "Pretraining corpus / permissively licensed Kotlin files",
      "scale": "Card comparison table: 4M files / 168,902 repos / 292M lines / 3.1B tokens vs Stack v2 Kotlin 2M / 109,457 / 162M / 1.7B. dataset_info train: 5,517,601 examples; 16,332,255,331 bytes (~16.33 GB) uncompressed / download_size 5,891,399,337 (~5.89 GB parquet). usedStorage 14,463,919,198 bytes (~14.46 GB). 33 parquet shards (~176–182 MB). YAML size_categories 100M<n<1B conflicts with Hub tags 1M<n<10M and the 5.52M-row split — tags/split used here. gated=false. HF 326 downloads / 14 likes at check.",
      "domain": "Kotlin source-code pretraining; permissively licensed GitHub",
      "format": "parquet (33 shards). Fields: path, owner, repo_id, is_fork, languages_distribution, content, issues, main_language, forks, stars, commit_sha, size, name, license.",
      "license": "other (card): mix of per-file permissive licenses in licenses.json (MIT, Apache-2.0, BSD-2/3-Clause, Unlicense, CC0-1.0, CC-BY-4.0, …). Not a single dataset license. Upstream GitHub terms still apply.",
      "novelty": "High (public Kotlin dump ~2× Stack v2 Kotlin files/tokens, fully permissive)",
      "purpose": "Largest public permissively licensed Kotlin file collection for code LM pretrain/finetune, denser than The Stack v2 Kotlin slice",
      "used_for": "Kotlin ML Pack (arXiv 2405.19250): CodeLlama/DeepSeek Kotlin finetunes; KStack-clean (25k) and KExercises are the high-quality/synth siblings (paper: up to +16 HumanEval-Kotlin pass). Hub 326 downloads / 14 likes at check. JetBrains Kotlin ML collection.",
      "bias_dist": "Open GitHub only (paper: private Kotlin unseen). Permissive-license filter (MIT/Apache-2.0/BSD/CC-BY/Unlicense/…; full list licenses.json). Star≥10 auxiliary crawl plus main-language-Kotlin repos; popularity skew. Near-dedup keeps the highest-star file per cluster. Forks flagged via is_fork. YAML pretty_name is wrongly KExercises (copy-paste); this repo is the large file dump, not the 25k clean set.",
      "is_static": "Unknown (HF lastModified 2025-04-22; Feb 2024 GitHub snapshot)",
      "processed": "Unknown",
      "author_dist": "GitHub Kotlin repo owners (main-language Kotlin, or any Kotlin file with ≥10 stars as of Feb 2024, plus Stack v1.2). JetBrains Research (Sergey Titov, Mikhail Evtikhiev, Anton Shapkin et al.). PII stripped with star-pii.",
      "sample_size": "Single train split (5,517,601 rows / 33 parquet parts). No val/test. Sister JetBrains/KStack-clean is 25,000 rows (~23M CodeLlama-7B tokens), not a config here.",
      "time_period": "GitHub Kotlin snapshot as of February 2024 plus The Stack v1.2 Kotlin files. HF createdAt 2024-05-13; lastModified 2025-04-22. Paper Kotlin ML Pack arXiv 2405.19250 (2024-05-29). Discord posted 2026-03-23.",
      "idea_quality": "High",
      "long_context": "Mixed (per-file; mean ~3.0 KB / file from dataset_size/n). Not repo-level packing.",
      "text_quality": "Exact hash dedup + Stack v1.2-style near-dedup; star-pii PII rewrite. Permissive-license detector (GitHub then go-license-detector). Residual noisy/generated Kotlin, build scripts (.kts/.gradle.kts), and incomplete files remain. Paper treats KStack as the broad corpus and KStack-clean as the algorithmic-quality subset.",
      "language_dist": "Kotlin source (card language:code). Files .kt / .kts / .gradle.kts via go-enry. Comments mixed-language; repos may list other languages in languages_distribution. Not natural-language English text.",
      "modality_dist": "Text (Kotlin source)",
      "relevant_links": "https://arxiv.org/abs/2405.19250; https://huggingface.co/datasets/JetBrains/KStack; https://huggingface.co/datasets/JetBrains/KStack-clean; https://huggingface.co/datasets/JetBrains/KStack/blob/main/licenses.json; https://arxiv.org/abs/2211.15533; https://arxiv.org/abs/2402.19173",
      "dataset_location": "https://huggingface.co/datasets/JetBrains/KStack",
      "collection_method": "Download",
      "intermediate_steps": "Yes (GitHub + Stack v1.2 Kotlin harvest → exact/near dedup → permissive license filter → star-pii). Paper also builds KStack-clean (Mistral pairwise edu rank → CodeT5p classifier) and KExercises; those are separate repos.",
      "text_conversion_ease": "Ready parquet. load_dataset('JetBrains/KStack'). Full dump is small vs web corpora (~5.9 GB download)."
    },
    "purpose": "Providing the largest permissively licensed Kotlin code corpus for pretraining and fine-tuning code generation models",
    "used_for": "Fine-tuning CodeLlama and DeepSeek models for Kotlin code generation (Kotlin ML Pack)",
    "author_type": "human",
    "time_period": "2022-2024"
  },
  "enrichment": {
    "hf": {
      "id": "JetBrains/KStack",
      "size": "1M<n<10M",
      "type": "dataset",
      "arxiv": [
        "2211.15533",
        "2402.19173"
      ],
      "gated": false,
      "likes": 14,
      "tasks": [
        "text-generation"
      ],
      "author": "JetBrains",
      "created": "2024-05-13",
      "formats": [
        "parquet"
      ],
      "license": "other",
      "modified": "2025-04-22",
      "downloads": 1686,
      "languages": [
        "code"
      ],
      "fetched_at": "2026-10-03T14:33:25.435Z",
      "modalities": [
        "tabular",
        "text"
      ]
    }
  },
  "enriched_at": "2026-10-03T14:33:25.477Z",
  "license_class": "other",
  "langs": [
    "code"
  ],
  "modalities": [
    "text"
  ],
  "size_class": "1M<n<10M",
  "provenance": {
    "legacy_paper_id": "295",
    "pipeline_status": "done",
    "research_status": "done",
    "legacy_dataset_id": 131
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T14:33:25.477Z",
  "page": "https://papers.projxon.ai/entries/280",
  "markdown": "https://papers.projxon.ai/entries/280.md",
  "api": "https://papers.projxon.ai/api/entries/280",
  "relations": [],
  "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": 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": 966,
      "kind": "paper",
      "title": "CodeGenLink: A Tool to Find the Likely Origin and License of Automatically Generated Code",
      "summary": "Large Language Models (LLMs) are widely used in software development tasks nowadays. Unlike reusing code taken from the Web, for LLMs' generated code, developers are concerned about its lack of trustworthiness and possible copyright or licensing violations, due to the lack of code provenance information. This paper pro…",
      "url": "https://arxiv.org/abs/2510.01077",
      "authors": [
        "Bifolco",
        "Daniele",
        "Annicchiarico",
        "Guido",
        "Barbiero",
        "Pierluigi",
        "Di Penta",
        "Massimiliano",
        "Zampetti",
        "Fiorella"
      ],
      "tags": [
        "arxiv",
        "2510-01077",
        "code-sql",
        "linkedin-thread"
      ],
      "venue": "arXiv 2510.01077",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/966",
      "markdown": "https://papers.projxon.ai/entries/966.md",
      "api": "https://papers.projxon.ai/api/entries/966"
    },
    {
      "id": 943,
      "kind": "paper",
      "title": "Regression Language Models for Code",
      "summary": "We study code-to-metric regression: predicting numeric outcomes of code executions, a challenging task due to the open-ended nature of programming languages. While prior methods have resorted to heavy and domain-specific feature engineering, we show that a single unified Regression Language Model (RLM) using a frozen L…",
      "url": "https://arxiv.org/abs/2509.26476",
      "authors": [
        "Akhauri",
        "Yash",
        "Song",
        "Xingyou",
        "Wongpanich",
        "Arissa",
        "Lewandowski",
        "Bryan",
        "Abdelfattah",
        "Mohamed S."
      ],
      "tags": [
        "arxiv",
        "2509-26476",
        "code-sql",
        "linkedin-thread"
      ],
      "venue": "arXiv 2509.26476",
      "source": "arxiv",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-09-15T00:46:23.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 9,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/943",
      "markdown": "https://papers.projxon.ai/entries/943.md",
      "api": "https://papers.projxon.ai/api/entries/943"
    },
    {
      "id": 923,
      "kind": "paper",
      "title": "RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning",
      "summary": "Meta RLEF fine-tunes Llama 3 with PPO using public-test execution feedback; Llama 3.1 70B CodeContests improve from ~27.5% to ~40.1% (1@3). Cited by Philipp Schmid LinkedIn re Anthropic coding quality.",
      "url": "https://arxiv.org/abs/2410.02089",
      "authors": [
        "Jonas Gehring",
        "Kunhao Zheng",
        "Jade Copet",
        "Vegard Mella",
        "Quentin Carbonneaux",
        "Taco Cohen",
        "Gabriel Synnaeve"
      ],
      "tags": [
        "rlef",
        "code",
        "rl",
        "execution-feedback",
        "llama3",
        "arxiv:2410.02089"
      ],
      "venue": "arXiv 2410.02089",
      "source": "arxiv",
      "license": "arXiv non-exclusive",
      "published_year": 2024,
      "added_at": "2026-10-02T23:40:42.683Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 181,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/923",
      "markdown": "https://papers.projxon.ai/entries/923.md",
      "api": "https://papers.projxon.ai/api/entries/923"
    }
  ]
}
