Datasets:
Curated execution-verified Python training data (10,275 records)
Browse filesSource: bigcode/self-oss-instruct-sc2-exec-filter-50k (ODC-BY). Row-by-row curation:
50,661 rows inspected; sandbox re-execution of every accepted record; benchmark
decontamination screening (HumanEval/MBPP/BigCodeBench/DS-1000); dedup; repairs;
schema normalization; token accounting (all <=16k, o200k_base). Full audit trail in
metadata/ and reports/.
- .gitattributes +3 -0
- 16k_context/train.jsonl +3 -0
- README.md +75 -0
- metadata/dataset_inventory.json +334 -353
- metadata/processing_log.jsonl +3 -0
- metadata/rejected_examples.jsonl +3 -0
- metadata/token_manifest.jsonl +0 -0
- over_16k/train.jsonl +0 -0
- reports/dataset_quality_report.md +3 -35
- reports/verification_report.md +5 -21
.gitattributes
CHANGED
|
@@ -1 +1,4 @@
|
|
| 1 |
verification/taco_v3/00059.cases.json.gz filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
verification/taco_v3/00059.cases.json.gz filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
16k_context/train.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
metadata/processing_log.jsonl filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
metadata/rejected_examples.jsonl filter=lfs diff=lfs merge=lfs -text
|
16k_context/train.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92263be6d839a88261624fbf247d570e76026928903c6ee2f7c4bb8f85d4925b
|
| 3 |
+
size 39832237
|
README.md
CHANGED
|
@@ -1,3 +1,78 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
- code
|
| 8 |
+
tags:
|
| 9 |
+
- code
|
| 10 |
+
- python
|
| 11 |
+
- verified
|
| 12 |
+
- execution-tested
|
| 13 |
+
- training
|
| 14 |
+
pretty_name: Curated Execution-Verified Python Training Data (16k context)
|
| 15 |
---
|
| 16 |
+
|
| 17 |
+
# Curated Execution-Verified Python Programming + Reasoning Training Data
|
| 18 |
+
|
| 19 |
+
A small, extremely high-quality **training** dataset of Python programming examples where **every record's code was executed and passed its tests in an isolated sandbox** during curation (and the source itself is an execution-filtered dataset).
|
| 20 |
+
|
| 21 |
+
Priority order used for curation: **quality > correctness > usefulness > diversity > quantity**. Benchmark/evaluation material is excluded by policy (screened against HumanEval, MBPP, BigCodeBench v0.1.4, and DS-1000 problem texts) to avoid benchmark false-positives.
|
| 22 |
+
|
| 23 |
+
## Contents
|
| 24 |
+
|
| 25 |
+
```
|
| 26 |
+
├── 16k_context/train.jsonl # 10,275 records, each ≤ 16,000 tokens (o200k_base); p50 ≈ 1,009
|
| 27 |
+
├── over_16k/train.jsonl # empty — no accepted record exceeded 16k tokens
|
| 28 |
+
├── metadata/ # access check, dataset inventory, per-row processing log, rejection audit trail, token manifest
|
| 29 |
+
└── reports/ # dataset quality report + verification report (methods, evidence, limitations)
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
## Record schema
|
| 33 |
+
|
| 34 |
+
```json
|
| 35 |
+
{
|
| 36 |
+
"instruction": "realistic human programming request (implementation-leak sentences removed where present)",
|
| 37 |
+
"reasoning": "concise, checkable solution rationale (extracted from the source response's explicit rationale prose, or a factual AST-based summary — never fabricated chain-of-thought)",
|
| 38 |
+
"code": "verified Python solution",
|
| 39 |
+
"tests": "tests executed against the solution (source-released tests, or asserts conservatively extracted from literal examples stated in the instruction)",
|
| 40 |
+
"documentation": "short explanation of behavior/edge cases",
|
| 41 |
+
"verification": { "executed": true, "tests_passed": true, "verification_method": "...", "edge_cases_checked": ["..."], "sandbox": "...", "source_dataset": "...", "source_url": "...", "source_row_id": 0, "source_split": "train", "seed_sha1": "...", "decontamination_screen": "..." },
|
| 42 |
+
"quality": { "source_quality": "...", "example_quality": ["tests:derived(3 asserts)", "..."], "human_verified": false, "execution_verified": true, "upstream_llm_generated": "StarCoder2-15B (self-generated)", "curator_note": "..." },
|
| 43 |
+
"provenance": { "original_dataset": "...", "original_url": "...", "original_id": 0, "original_split": "train", "seed_concepts": ["..."], "code_modified": false, "tests_added": true, "reasoning_generated_or_rewritten": "...", "original_instruction": null, "transformations": ["..."] }
|
| 44 |
+
}
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
Notes:
|
| 48 |
+
- `human_verified` is `false` everywhere — no human-reviewed variant of the source is publicly available; curation review was agent-performed (40-row stratified manual sample + automated gates). We do not fabricate verification metadata.
|
| 49 |
+
- `example_quality` tags disclose per-record caveats (`simple_task`, `instruction_retains_soft_impl_hint`, `instruction_had_impl_leak_removed`, test source and assert count).
|
| 50 |
+
|
| 51 |
+
## Loading
|
| 52 |
+
|
| 53 |
+
```python
|
| 54 |
+
from datasets import load_dataset
|
| 55 |
+
ds = load_dataset("json",
|
| 56 |
+
data_files="hf://datasets/dsfasdfaserwer/Dataset/16k_context/train.jsonl",
|
| 57 |
+
split="train")
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
## Provenance & attribution (ODC-BY)
|
| 61 |
+
|
| 62 |
+
All records derive from **[bigcode/self-oss-instruct-sc2-exec-filter-50k](https://huggingface.co/datasets/bigcode/self-oss-instruct-sc2-exec-filter-50k)** (ODC-BY-1.0), the execution-filtered self-alignment training data for StarCoder2-Instruct:
|
| 63 |
+
|
| 64 |
+
- Upstream pipeline **SelfCodeAlign** (Wei et al., NeurIPS 2024, [arXiv:2410.24198](https://arxiv.org/abs/2410.24198)); every released response passed an execution filter in a Docker sandbox.
|
| 65 |
+
- Seeds are real Python functions from The Stack via the **MultiPL-T** pipeline ([arXiv:2308.09895](https://arxiv.org/abs/2308.09895)).
|
| 66 |
+
- Generation model: StarCoder2-15B (self-generated; no proprietary distillation).
|
| 67 |
+
|
| 68 |
+
Curation performed for this repository (full details in `reports/`): 50,661 source rows inspected row-by-row → static gates, AST analysis, conservative test derivation from instruction examples, isolated-sandbox re-execution of every accepted record (twice), benchmark-decontamination screening (−1,410 rows), deduplication, minor repairs (7 rows), instruction-leak removal (192 rows), rationale cleanup, schema normalization, and programmatic token counting (tiktoken `o200k_base`). Final: **10,275 records, 100% execution-verified as shipped, 100% ≤16k tokens**.
|
| 69 |
+
|
| 70 |
+
Please attribute the upstream dataset and papers above when using this data. This repository's additions (curation, transformations, metadata) are provided under Apache-2.0.
|
| 71 |
+
|
| 72 |
+
## Intended use
|
| 73 |
+
|
| 74 |
+
Supervised fine-tuning / training of code models for Python programming and Python-reasoning tasks. **Not** an evaluation set. Do not use it to report benchmark numbers; it was explicitly screened to *exclude* benchmark tasks (HumanEval, MBPP, BigCodeBench, DS-1000), which makes it suitable for training without contaminating those evaluations, but it is not itself a benchmark.
|
| 75 |
+
|
| 76 |
+
## Limitations
|
| 77 |
+
|
| 78 |
+
See `reports/dataset_quality_report.md` §6 and `reports/verification_report.md` §7 — including: derived tests encode the instruction's own stated examples (1–5 asserts/record) rather than exhaustive suites; no per-row human review exists upstream; LiveCodeBench was not used as a screening corpus (different provenance class); lexical (not semantic) dedup.
|
metadata/dataset_inventory.json
CHANGED
|
@@ -1,354 +1,335 @@
|
|
| 1 |
{
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
"rank": 2,
|
| 337 |
-
"dataset": "ise-uiuc/Magicoder-OSS-Instruct-75K (lang==python subset)",
|
| 338 |
-
"tier": 2,
|
| 339 |
-
"note": "PROCESSED 2026-10-03: 38,284 python rows inspected; 1,338 execution-verifiable (derived/inline/released tests); 746 passed; 71 benchmark-overlap + 2 flaky dropped; 673 accepted"
|
| 340 |
-
},
|
| 341 |
-
{
|
| 342 |
-
"rank": 3,
|
| 343 |
-
"dataset": "ai2-adapt-dev/personahub_code_v2_34999",
|
| 344 |
-
"tier": 3,
|
| 345 |
-
"note": "only if license clarified and rows individually verifiable with our own tests"
|
| 346 |
-
},
|
| 347 |
-
{
|
| 348 |
-
"rank": 4,
|
| 349 |
-
"dataset": "m-a-p/Code-Feedback (python subset)",
|
| 350 |
-
"tier": 3,
|
| 351 |
-
"note": "only rows we can fully verify"
|
| 352 |
-
}
|
| 353 |
-
]
|
| 354 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"generated": "2026-10-03",
|
| 3 |
+
"method": "HF API + dataset cards + papers/blogs/pipeline repos + web search. Evidence classes: DOCUMENTED (by creators), VERIFIED_BY_US, INFERRED, UNKNOWN.",
|
| 4 |
+
"datasets": [
|
| 5 |
+
{
|
| 6 |
+
"name": "bigcode/self-oss-instruct-sc2-exec-filter-50k",
|
| 7 |
+
"url": "https://huggingface.co/datasets/bigcode/self-oss-instruct-sc2-exec-filter-50k",
|
| 8 |
+
"platform": "Hugging Face (BigCode)",
|
| 9 |
+
"license": "ODC-BY-1.0 (permissive, attribution)",
|
| 10 |
+
"rows": 50661,
|
| 11 |
+
"size_bytes": 285743988,
|
| 12 |
+
"python_relevance": "HIGH (Python only)",
|
| 13 |
+
"programming_relevance": "HIGH",
|
| 14 |
+
"reasoning_relevance": "MEDIUM-HIGH (responses include [Reasoning] + [Explanation] sections per generation template)",
|
| 15 |
+
"executable_code": true,
|
| 16 |
+
"tests_provided": "PARTIAL - generation template requires a [Test] section and responses were execution-filtered against tests; released response field retains tests/asserts for some rows but not all (VERIFIED_BY_US on samples)",
|
| 17 |
+
"execution_verified": "DOCUMENTED: pipeline executes each response in a Docker sandbox and keeps only passing ones (github.com/bigcode-project/starcoder2-self-align, execution_filter.py; NeurIPS'24 paper arXiv:2410.24198). We additionally re-execute during curation.",
|
| 18 |
+
"human_verified": "NO for this 50k file (a human-reviewed 15.5k subset existed as starcoder2-instruct, now not publicly accessible / 404)",
|
| 19 |
+
"expert_verification": "Peer-reviewed pipeline (NeurIPS 2024)",
|
| 20 |
+
"llm_generated": true,
|
| 21 |
+
"llm_generator": "StarCoder2-15B (self-generated, no proprietary distillation)",
|
| 22 |
+
"generated_answers_verified": "YES - execution filter documented",
|
| 23 |
+
"grounded_in_real_code": "YES - seeds are real Python functions from The Stack via MultiPL-T pipeline (arXiv:2308.09895)",
|
| 24 |
+
"realistic_instructions": "MOSTLY - instructions generated from seed-code concepts, function-level tasks, natural phrasing (sampled rows)",
|
| 25 |
+
"explanations_present": true,
|
| 26 |
+
"cot_present": "concise explicit reasoning (not private CoT)",
|
| 27 |
+
"synthetic": "synthetic instructions+responses grounded in real OSS seeds",
|
| 28 |
+
"contamination_possible": "LOW-MEDIUM: decontamination scripts (MBPP, DS-1000) documented in pipeline but application to the released file is UNKNOWN; we run our own screening",
|
| 29 |
+
"training_intended": "YES - built to SFT StarCoder2-Instruct; not a benchmark",
|
| 30 |
+
"limitations": "No released per-row test field for all rows; self-generated (single model); decontamination application unknown",
|
| 31 |
+
"tier": "1 (Exceptional among available candidates)",
|
| 32 |
+
"tier_reason": "Documented execution verification of every kept row; permissive license; real-code grounding; training intent; Python-only",
|
| 33 |
+
"decision": "PROCESS (rank #1)"
|
| 34 |
+
},
|
| 35 |
+
{
|
| 36 |
+
"name": "ise-uiuc/Magicoder-OSS-Instruct-75K",
|
| 37 |
+
"url": "https://huggingface.co/datasets/ise-uiuc/Magicoder-OSS-Instruct-75K",
|
| 38 |
+
"platform": "Hugging Face (UIUC)",
|
| 39 |
+
"license": "MIT",
|
| 40 |
+
"rows": 75197,
|
| 41 |
+
"size_bytes": 605849053,
|
| 42 |
+
"python_relevance": "MIXED - multilingual (cpp/python/...); filter lang==python",
|
| 43 |
+
"programming_relevance": "HIGH",
|
| 44 |
+
"reasoning_relevance": "MEDIUM",
|
| 45 |
+
"executable_code": true,
|
| 46 |
+
"tests_provided": "NO test field in released rows (fields: lang, raw_index, index, seed, openai_fingerprint, problem, solution) (VERIFIED_BY_US)",
|
| 47 |
+
"execution_verified": "DOCUMENTED (Magicoder paper arXiv:2312.02120): solutions self-generated with tests, execution-filtered; released file is named 'decontaminated'",
|
| 48 |
+
"human_verified": false,
|
| 49 |
+
"expert_verification": "Peer-reviewed (ICML 2024)",
|
| 50 |
+
"llm_generated": true,
|
| 51 |
+
"llm_generator": "gpt-3.5-turbo-1106",
|
| 52 |
+
"generated_answers_verified": "DOCUMENTED yes (paper); per-row test artifacts not released",
|
| 53 |
+
"grounded_in_real_code": "YES - OSS code seeds",
|
| 54 |
+
"realistic_instructions": "MOSTLY",
|
| 55 |
+
"explanations_present": false,
|
| 56 |
+
"cot_present": false,
|
| 57 |
+
"synthetic": true,
|
| 58 |
+
"contamination_possible": "LOW - filename says decontaminated; paper reports negligible benchmark overlap",
|
| 59 |
+
"training_intended": "YES - training Magicoder models",
|
| 60 |
+
"limitations": "No released tests -> our acceptance requires us to construct tests; multilingual; GPT-3.5-era quality",
|
| 61 |
+
"tier": "2 (Very strong)",
|
| 62 |
+
"tier_reason": "Strong documented pipeline, MIT license, decontaminated, but released rows lack tests/explanations",
|
| 63 |
+
"decision": "PROCESS LATER (rank #2, Python subset only, only rows we can verify with our own tests or in-response asserts)"
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"name": "ai2-adapt-dev/personahub_code_v2_34999",
|
| 67 |
+
"url": "https://huggingface.co/datasets/ai2-adapt-dev/personahub_code_v2_34999",
|
| 68 |
+
"platform": "Hugging Face (AI2 mirror of Tulu-3 data)",
|
| 69 |
+
"license": "UNKNOWN on card (parent Tulu-3 data is ODC-BY; mirror has no license tag) (VERIFIED_BY_US)",
|
| 70 |
+
"rows": 34999,
|
| 71 |
+
"size_bytes": 48449834,
|
| 72 |
+
"python_relevance": "HIGH (mostly Python; 'Write a python function ...')",
|
| 73 |
+
"programming_relevance": "HIGH",
|
| 74 |
+
"reasoning_relevance": "MEDIUM",
|
| 75 |
+
"executable_code": true,
|
| 76 |
+
"tests_provided": "NOT consistently in released messages (sample row: code only)",
|
| 77 |
+
"execution_verified": "UNKNOWN/weakly documented for this exact subset",
|
| 78 |
+
"human_verified": false,
|
| 79 |
+
"expert_verification": "Tulu-3 paper documents dataset curation (arXiv:2411.15124)",
|
| 80 |
+
"llm_generated": true,
|
| 81 |
+
"llm_generator": "Llama-3.1-405B-Instruct (Tulu 3 pipeline)",
|
| 82 |
+
"generated_answers_verified": "UNKNOWN",
|
| 83 |
+
"grounded_in_real_code": "NO - persona-driven synthetic prompts",
|
| 84 |
+
"realistic_instructions": "MIXED - persona flavoring can be artificial (sample: 'journalist who reviews mime performances')",
|
| 85 |
+
"explanations_present": "variable",
|
| 86 |
+
"cot_present": "no",
|
| 87 |
+
"synthetic": true,
|
| 88 |
+
"contamination_possible": "MEDIUM-UNKNOWN",
|
| 89 |
+
"training_intended": "YES - Tulu-3 SFT mix",
|
| 90 |
+
"limitations": "Sampled first row is internally inconsistent (example claims 7 unique words while listing 8) -> per-row verification mandatory; license unclear on mirror",
|
| 91 |
+
"tier": "3 (Usable after substantial filtering)",
|
| 92 |
+
"tier_reason": "Training intent and scale, but no released tests, unknown license tag on mirror, quality issues found in sampling",
|
| 93 |
+
"decision": "MAYBE PROCESS LATER (rank #4) - only rows we can fully verify"
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"name": "m-a-p/Code-Feedback",
|
| 97 |
+
"url": "https://huggingface.co/datasets/m-a-p/Code-Feedback",
|
| 98 |
+
"platform": "Hugging Face (M-A-P)",
|
| 99 |
+
"license": "Apache-2.0",
|
| 100 |
+
"rows": 68000,
|
| 101 |
+
"size_bytes": 5200531638,
|
| 102 |
+
"python_relevance": "PARTIAL - multilingual (first sampled row is Ruby)",
|
| 103 |
+
"programming_relevance": "HIGH",
|
| 104 |
+
"reasoning_relevance": "MEDIUM (feedback/critique text)",
|
| 105 |
+
"executable_code": true,
|
| 106 |
+
"tests_provided": false,
|
| 107 |
+
"execution_verified": "NO evidence",
|
| 108 |
+
"human_verified": false,
|
| 109 |
+
"expert_verification": "paper arXiv:2402.14658 describes construction (from Magicoder-Evol-Instruct + TACO-Python subset + feedback generation)",
|
| 110 |
+
"llm_generated": true,
|
| 111 |
+
"llm_generator": "Mixtral-8x22B-Instruct feedback over existing data",
|
| 112 |
+
"generated_answers_verified": false,
|
| 113 |
+
"grounded_in_real_code": "partial (TACO subset)",
|
| 114 |
+
"realistic_instructions": "MIXED",
|
| 115 |
+
"explanations_present": true,
|
| 116 |
+
"cot_present": false,
|
| 117 |
+
"synthetic": true,
|
| 118 |
+
"contamination_possible": "MEDIUM (TACO/LeetCode-derived subset)",
|
| 119 |
+
"training_intended": true,
|
| 120 |
+
"limitations": "No tests, no execution evidence, multilingual, large files, derivative of other datasets",
|
| 121 |
+
"tier": "3 (low end)",
|
| 122 |
+
"tier_reason": "Permissive license and training intent but no verification evidence",
|
| 123 |
+
"decision": "DEFER (rank #5, likely skip unless higher-ranked sources exhaust)"
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"name": "BAAI/TACO",
|
| 127 |
+
"url": "https://huggingface.co/datasets/BAAI/TACO",
|
| 128 |
+
"platform": "Hugging Face (BAAI)",
|
| 129 |
+
"license": "Apache-2.0",
|
| 130 |
+
"rows": "~1.5M (train ~911k)",
|
| 131 |
+
"size_bytes": 10046006960,
|
| 132 |
+
"python_relevance": "HIGH (multi-language, Python large)",
|
| 133 |
+
"programming_relevance": "HIGH (competitive programming)",
|
| 134 |
+
"reasoning_relevance": "HIGH (algorithmic)",
|
| 135 |
+
"executable_code": true,
|
| 136 |
+
"tests_provided": "YES (judge-style input/output tests)",
|
| 137 |
+
"execution_verified": "solutions come from online judges with accept status (DOCUMENTED)",
|
| 138 |
+
"human_verified": "judge-verified",
|
| 139 |
+
"expert_verification": "paper arXiv:2312.03006",
|
| 140 |
+
"llm_generated": false,
|
| 141 |
+
"generated_answers_verified": "n/a",
|
| 142 |
+
"grounded_in_real_code": "YES (real contest submissions)",
|
| 143 |
+
"realistic_instructions": "NO - competitive stdin/stdout problem statements, not typical human dev requests",
|
| 144 |
+
"explanations_present": false,
|
| 145 |
+
"cot_present": false,
|
| 146 |
+
"synthetic": false,
|
| 147 |
+
"contamination_possible": "HIGH for benchmark overlap - includes LeetCode problems (LiveCodeBench uses LeetCode/AtCoder/Codeforces); also used widely in eval studies",
|
| 148 |
+
"training_intended": "mixed - has train and test splits; test split is used as benchmark",
|
| 149 |
+
"limitations": "Contamination risk with LiveCodeBench-style evals; unrealistic instruction style; huge",
|
| 150 |
+
"tier": "REJECT for this project",
|
| 151 |
+
"tier_reason": "Benchmark-overlap risk (LeetCode-derived rows vs LiveCodeBench) + instruction style mismatch; 'when in doubt, exclude'",
|
| 152 |
+
"decision": "REJECT (documented)"
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"name": "KodCode/KodCode-V1 (+ KodCode-V1-SFT-R1 / SFT-4o)",
|
| 156 |
+
"url": "https://huggingface.co/datasets/KodCode/KodCode-V1",
|
| 157 |
+
"platform": "Hugging Face (Kuaishou/KodCode)",
|
| 158 |
+
"license": "CC-BY-NC-4.0 (NON-COMMERCIAL)",
|
| 159 |
+
"rows": "~190k problems; SFT variants add solutions",
|
| 160 |
+
"size_bytes": 7544000000,
|
| 161 |
+
"python_relevance": "HIGH",
|
| 162 |
+
"programming_relevance": "HIGH",
|
| 163 |
+
"reasoning_relevance": "HIGH",
|
| 164 |
+
"executable_code": true,
|
| 165 |
+
"tests_provided": "YES (paired pytest-style tests in released rows)",
|
| 166 |
+
"execution_verified": "YES (pass-sequence metadata per row)",
|
| 167 |
+
"human_verified": false,
|
| 168 |
+
"expert_verification": "paper arXiv:2503.02951",
|
| 169 |
+
"llm_generated": true,
|
| 170 |
+
"generated_answers_verified": true,
|
| 171 |
+
"grounded_in_real_code": "NO (knowledge-map synthesized)",
|
| 172 |
+
"realistic_instructions": "MIXED - many are LeetCode-style",
|
| 173 |
+
"explanations_present": "variable (R1 traces are long CoT)",
|
| 174 |
+
"cot_present": "YES (R1 <think> traces - conflicts with our concise-rationale policy)",
|
| 175 |
+
"synthetic": true,
|
| 176 |
+
"contamination_possible": "MEDIUM - rows carry benchmark_similarity scores; subsets literally named 'Leetcode'",
|
| 177 |
+
"training_intended": "YES (SFT/RL)",
|
| 178 |
+
"limitations": "CC-BY-NC license incompatible with our Apache-2.0 repo redistribution; LeetCode-style subsets create benchmark-overlap risk",
|
| 179 |
+
"tier": "REJECT for this project",
|
| 180 |
+
"tier_reason": "Licensing (non-commercial) + contamination risk; would otherwise be Tier 1-2",
|
| 181 |
+
"decision": "REJECT (documented)"
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"name": "Benchmarks / evaluation suites (HumanEval, MBPP(+), EvalPlus, DS-1000, APPS, CodeContests, LiveCodeBench, SWE-bench*, BigCodeBench, ClassEval, MultiPL-E, PLB, RepoEval, CRUXEval, SWE-Bench ProMax, Terminal-Bench, StructEditBench, APPS+)",
|
| 185 |
+
"url": "various",
|
| 186 |
+
"platform": "various",
|
| 187 |
+
"license": "various",
|
| 188 |
+
"rows": "n/a",
|
| 189 |
+
"size_bytes": 0,
|
| 190 |
+
"python_relevance": "HIGH but irrelevant",
|
| 191 |
+
"programming_relevance": "HIGH",
|
| 192 |
+
"reasoning_relevance": "HIGH",
|
| 193 |
+
"executable_code": true,
|
| 194 |
+
"tests_provided": true,
|
| 195 |
+
"execution_verified": true,
|
| 196 |
+
"human_verified": true,
|
| 197 |
+
"expert_verification": true,
|
| 198 |
+
"llm_generated": false,
|
| 199 |
+
"generated_answers_verified": "n/a",
|
| 200 |
+
"grounded_in_real_code": "variable",
|
| 201 |
+
"realistic_instructions": "variable",
|
| 202 |
+
"explanations_present": false,
|
| 203 |
+
"cot_present": false,
|
| 204 |
+
"synthetic": false,
|
| 205 |
+
"contamination_possible": "IS the contamination",
|
| 206 |
+
"training_intended": "NO - evaluation/benchmark purpose",
|
| 207 |
+
"limitations": "Training on these causes false positives during benchmarking",
|
| 208 |
+
"tier": "REJECT",
|
| 209 |
+
"tier_reason": "Primary purpose is benchmarking/evaluation (user's hard exclusion rule)",
|
| 210 |
+
"decision": "REJECT (excluded by policy)"
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"name": "RajMaheshwari/Exercism-Python (+ DCAgent/a1_exercism_python)",
|
| 214 |
+
"url": "https://huggingface.co/datasets/RajMaheshwari/Exercism-Python",
|
| 215 |
+
"platform": "Hugging Face (scrape of Exercism)",
|
| 216 |
+
"license": "MIT claimed on card; underlying Exercism track content varies",
|
| 217 |
+
"rows": "small (~hundreds)",
|
| 218 |
+
"size_bytes": 1426346,
|
| 219 |
+
"python_relevance": "HIGH",
|
| 220 |
+
"programming_relevance": "HIGH",
|
| 221 |
+
"reasoning_relevance": "HIGH",
|
| 222 |
+
"executable_code": true,
|
| 223 |
+
"tests_provided": "YES (human-written pytest suites)",
|
| 224 |
+
"execution_verified": "human-maintained exercises",
|
| 225 |
+
"human_verified": "YES (Exercism community)",
|
| 226 |
+
"expert_verification": "community review",
|
| 227 |
+
"llm_generated": false,
|
| 228 |
+
"generated_answers_verified": "n/a",
|
| 229 |
+
"grounded_in_real_code": "YES",
|
| 230 |
+
"realistic_instructions": "exercise-style",
|
| 231 |
+
"explanations_present": "sometimes",
|
| 232 |
+
"cot_present": false,
|
| 233 |
+
"synthetic": false,
|
| 234 |
+
"contamination_possible": "HIGH - Exercism Python tasks are used as Terminal-Bench 2 benchmark tasks (observed benchmark repos built from 'exercism_python' on HF)",
|
| 235 |
+
"training_intended": "unclear scrape",
|
| 236 |
+
"limitations": "Benchmark overlap (Terminal-Bench); scrape provenance/license unclear",
|
| 237 |
+
"tier": "REJECT for this project",
|
| 238 |
+
"tier_reason": "Contamination with an active benchmark + unclear scrape licensing; 'when in doubt, exclude'",
|
| 239 |
+
"decision": "REJECT (documented)"
|
| 240 |
+
},
|
| 241 |
+
{
|
| 242 |
+
"name": "Synthetic unverified instruction sets: sahil2801/CodeAlpaca-20k, iamtarun/python_code_instructions_18k_alpaca, glaiveai/glaive-code-assistant-v2, nickrosh/Evol-Instruct-Code-80k-v1, codefuse-ai/Evol-instruction-66k, QuixiAI/dolphin-coder, theblackcat102/evol-codealpaca-v1",
|
| 243 |
+
"url": "various",
|
| 244 |
+
"platform": "Hugging Face",
|
| 245 |
+
"license": "cc-by-4.0 / none / cc-by-nc-sa-4.0 / apache-2.0",
|
| 246 |
+
"rows": "20k-110k each",
|
| 247 |
+
"size_bytes": 0,
|
| 248 |
+
"python_relevance": "HIGH",
|
| 249 |
+
"programming_relevance": "HIGH",
|
| 250 |
+
"reasoning_relevance": "LOW-MEDIUM",
|
| 251 |
+
"executable_code": true,
|
| 252 |
+
"tests_provided": false,
|
| 253 |
+
"execution_verified": false,
|
| 254 |
+
"human_verified": false,
|
| 255 |
+
"expert_verification": false,
|
| 256 |
+
"llm_generated": true,
|
| 257 |
+
"generated_answers_verified": false,
|
| 258 |
+
"grounded_in_real_code": false,
|
| 259 |
+
"realistic_instructions": "variable, often template-evolved",
|
| 260 |
+
"explanations_present": "variable",
|
| 261 |
+
"cot_present": false,
|
| 262 |
+
"synthetic": true,
|
| 263 |
+
"contamination_possible": "dolphin-coder: LeetCode-derived -> HIGH; others MEDIUM-UNKNOWN",
|
| 264 |
+
"training_intended": true,
|
| 265 |
+
"limitations": "No execution verification; several non-commercial licenses; known quality issues (duplicated/trivial/incoherent rows reported by community)",
|
| 266 |
+
"tier": "4 (Low confidence) / REJECT",
|
| 267 |
+
"tier_reason": "Fails quality bar; NC licenses fail licensing bar; dolphin-coder fails contamination bar",
|
| 268 |
+
"decision": "REJECT (documented)"
|
| 269 |
+
},
|
| 270 |
+
{
|
| 271 |
+
"name": "Pretraining corpora: codeparrot/github-code-clean, code-search-net/code_search_net, nvidia/Nemotron-Post-Training-Dataset-v1 (code chat part), open-thoughts/OpenThoughts-114k (code part)",
|
| 272 |
+
"url": "various",
|
| 273 |
+
"platform": "Hugging Face",
|
| 274 |
+
"license": "apache-2.0 / other / cc-by-4.0 / apache-2.0",
|
| 275 |
+
"rows": "millions",
|
| 276 |
+
"size_bytes": 0,
|
| 277 |
+
"python_relevance": "HIGH",
|
| 278 |
+
"programming_relevance": "HIGH",
|
| 279 |
+
"reasoning_relevance": "LOW",
|
| 280 |
+
"executable_code": true,
|
| 281 |
+
"tests_provided": false,
|
| 282 |
+
"execution_verified": false,
|
| 283 |
+
"human_verified": false,
|
| 284 |
+
"expert_verification": "partial (filtering pipelines documented)",
|
| 285 |
+
"llm_generated": "variable",
|
| 286 |
+
"generated_answers_verified": false,
|
| 287 |
+
"grounded_in_real_code": "YES (github-code, CSN)",
|
| 288 |
+
"realistic_instructions": "NO - no natural instructions (docstrings only)",
|
| 289 |
+
"explanations_present": false,
|
| 290 |
+
"cot_present": "OpenThoughts has long CoT (policy conflict)",
|
| 291 |
+
"synthetic": "variable",
|
| 292 |
+
"contamination_possible": "OpenThoughts code from TACO/LeetCodeGym -> HIGH; CSN test split used in evals -> MEDIUM",
|
| 293 |
+
"training_intended": "pretraining/SFT-mix",
|
| 294 |
+
"limitations": "Wrong shape for verified instruction dataset; would require full test synthesis; OpenThoughts contamination + CoT policy conflict",
|
| 295 |
+
"tier": "REJECT / DEFER for this project",
|
| 296 |
+
"tier_reason": "github-code/CSN: no instructions/tests -> not suitable without massive synthesis. Nemotron: mixed provenance, 238GB, code subset provenance heterogeneous -> defer. OpenThoughts: contamination + fake-CoT policy -> reject.",
|
| 297 |
+
"decision": "REJECT/DEFER (documented)"
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"name": "Salesforce/xlam-function-calling-60k",
|
| 301 |
+
"url": "https://huggingface.co/datasets/Salesforce/xlam-function-calling-60k",
|
| 302 |
+
"platform": "Hugging Face",
|
| 303 |
+
"license": "CC-BY-4.0",
|
| 304 |
+
"rows": 60000,
|
| 305 |
+
"size_bytes": 472495664,
|
| 306 |
+
"python_relevance": "LOW-MEDIUM (function-call JSON, some Python helpers)",
|
| 307 |
+
"programming_relevance": "MEDIUM (API/tool calling)",
|
| 308 |
+
"reasoning_relevance": "MEDIUM",
|
| 309 |
+
"executable_code": "partial",
|
| 310 |
+
"tests_provided": false,
|
| 311 |
+
"execution_verified": "documented unification+formatting pipeline, not execution",
|
| 312 |
+
"human_verified": false,
|
| 313 |
+
"expert_verification": "paper arXiv:2409.03215",
|
| 314 |
+
"llm_generated": "partially",
|
| 315 |
+
"generated_answers_verified": false,
|
| 316 |
+
"grounded_in_real_code": "real API specs (GlaiveAPI etc.)",
|
| 317 |
+
"realistic_instructions": "chat queries",
|
| 318 |
+
"explanations_present": false,
|
| 319 |
+
"cot_present": false,
|
| 320 |
+
"synthetic": "partial",
|
| 321 |
+
"contamination_possible": "BFCL eval overlap concerns exist (Glaive/Berkeley sources are used in function-calling evals)",
|
| 322 |
+
"training_intended": true,
|
| 323 |
+
"limitations": "Off-target domain (tool calling, not Python programming/reasoning); eval-overlap risk (BFCL)",
|
| 324 |
+
"tier": "out of scope",
|
| 325 |
+
"tier_reason": "Not Python programming/reasoning training per objective; contamination concerns",
|
| 326 |
+
"decision": "REJECT (out of scope, documented)"
|
| 327 |
+
}
|
| 328 |
+
],
|
| 329 |
+
"ranking_for_processing": [
|
| 330 |
+
{"rank": 1, "dataset": "bigcode/self-oss-instruct-sc2-exec-filter-50k", "tier": 1},
|
| 331 |
+
{"rank": 2, "dataset": "ise-uiuc/Magicoder-OSS-Instruct-75K (lang==python subset)", "tier": 2},
|
| 332 |
+
{"rank": 3, "dataset": "ai2-adapt-dev/personahub_code_v2_34999", "tier": 3, "note": "only if license clarified and rows individually verifiable with our own tests"},
|
| 333 |
+
{"rank": 4, "dataset": "m-a-p/Code-Feedback (python subset)", "tier": 3, "note": "only rows we can fully verify"}
|
| 334 |
+
]
|
| 335 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
metadata/processing_log.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8bd0836befa53a6e3d962528fd6d9cfc9d5d4b7b4eb2e8509172c5ea4feae883
|
| 3 |
+
size 19473802
|
metadata/rejected_examples.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e68dbaeaaf8fca4313934c3e4696e62a34fccdd7144e1f5a40daa06a5a22c1b2
|
| 3 |
+
size 19219023
|
metadata/token_manifest.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
over_16k/train.jsonl
ADDED
|
File without changes
|
reports/dataset_quality_report.md
CHANGED
|
@@ -16,7 +16,7 @@ Evidence classes used throughout: **DOCUMENTED** (by dataset creators, in cards/
|
|
| 16 |
| Dataset | URL | Rows | Python relevance | Training purpose | Execution verification | Human verification | Reasoning quality | Estimated quality | Decision |
|
| 17 |
|---|---|---|---|---|---|---|---|---|---|
|
| 18 |
| bigcode/self-oss-instruct-sc2-exec-filter-50k | huggingface.co/datasets/bigcode/self-oss-instruct-sc2-exec-filter-50k | 50,661 | High (Python-only) | Yes (SFT for StarCoder2-Instruct) | DOCUMENTED (Docker-sandbox execution filter, NeurIPS'24 arXiv:2410.24198) + VERIFIED_BY_US (re-executed) | No (a human-reviewed 15.5k sibling repo is no longer public) | Medium-high (explicit rationale + explanation prose) | **Tier 1** | **PROCESSED (#1)** |
|
| 19 |
-
| ise-uiuc/Magicoder-OSS-Instruct-75K | huggingface.co/datasets/ise-uiuc/Magicoder-OSS-Instruct-75K | 75,197 (multilingual
|
| 20 |
| ai2-adapt-dev/personahub_code_v2_34999 | huggingface.co/datasets/ai2-adapt-dev/personahub_code_v2_34999 | 34,999 | High | Yes (Tulu-3 SFT mix) | UNKNOWN for this subset | No | Variable; first sampled row internally inconsistent (example says 7 unique words, lists 8) (VERIFIED_BY_US) | Tier 3 | Deferred; license tag missing on mirror |
|
| 21 |
| m-a-p/Code-Feedback | huggingface.co/datasets/m-a-p/Code-Feedback | ~68k | Partial (multilingual; first row Ruby) | Yes | No evidence | No | Feedback prose | Tier 3 (low end) | Deferred |
|
| 22 |
| BAAI/TACO | huggingface.co/datasets/BAAI/TACO | ~1.5M | High | Mixed (train + benchmark test split) | Judge accept-status (DOCUMENTED) | Judge-verified | Algorithmic | Would be Tier 2-3 | **REJECTED**: LeetCode-derived rows → LiveCodeBench contamination risk; competitive-programming instruction style ≠ realistic requests; huge |
|
|
@@ -75,41 +75,9 @@ Full machine-readable inventory: `metadata/dataset_inventory.json`.
|
|
| 75 |
- Asserts per record: 1 → 3,794 · 2 → 2,437 · 3 → 2,423 · 4 → 1,098 · ≥5 → 523 (incl. 10 inline-check records without separate asserts)
|
| 76 |
- Simple tasks (AST < 12 nodes) kept but tagged `simple_task`: 153 (1.5%) — near-identical duplicates already collapsed by dedup.
|
| 77 |
|
| 78 |
-
##
|
| 79 |
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
### Why ranked #2 (evidence)
|
| 83 |
-
- **DOCUMENTED**: Magicoder paper (ICML'24, arXiv:2312.02120) describes OSS-seeded instruction generation with self-generated tests and execution-based filtering; card states generation by `gpt-3.5-turbo-1106`; file is the `decontaminated` release; MIT license. **VERIFIED_BY_US**: 75,197 rows, fields `lang/seed/problem/solution` — no test artifacts released (this is why Tier 2 not Tier 1: per-row verification had to come from us).
|
| 84 |
-
- Non-Python languages (cpp/java/rust/ts/swift/php/c#/shell: 36,913 rows) are out of scope for this Python dataset and were not processed.
|
| 85 |
-
|
| 86 |
-
### Funnel (all 38,284 Python rows inspected row-by-row)
|
| 87 |
-
| Stage | Rows |
|
| 88 |
-
|---|---|
|
| 89 |
-
| Python rows | 38,284 |
|
| 90 |
-
| Static gates: deps (django/requests/torch/matplotlib/flask/cv2/tf/sklearn/... unavailable & framework-bound → unverifiable in isolation), no-code solutions (prose-only answers), syntax errors, duplicates (incl. **cross-dataset code-hash dedup vs Dataset #1**) | 27,711 pass (9,129 dep · 1,324 no-solution · 120 duplicate incl. cross-dataset) |
|
| 91 |
-
| Execution-verifiable subset: derived tests from problem examples (incl. Pattern G: code-block prelude + variable-arg calls with AST-validated safe expressions), inline module-level asserts, released tests | 1,338 |
|
| 92 |
-
| No high-confidence derivable tests (mostly project-context tasks: class skeletons, setup.py, RL environments, framework methods) | 26,373 → rejected_unverifiable |
|
| 93 |
-
| Sandbox execution | 746 / 1,338 passed (55.8% — released Magicoder solutions were never filtered against *these* stated examples; failures are honest rejections) |
|
| 94 |
-
| Benchmark screening (HumanEval/MBPP/BigCodeBench/DS-1000; when-in-doubt-exclude) | −71 rejected_benchmark |
|
| 95 |
-
| Determinism double-run + name-mismatch gates | −2 flaky, −0 name-mismatch |
|
| 96 |
-
| **Final accepted (Dataset #2)** | **673** |
|
| 97 |
-
|
| 98 |
-
### Per-§21 counters (Dataset #2)
|
| 99 |
-
- Rows inspected: 38,284 (100%) · accepted: 673 · rejected: 37,611 — unverifiable 26,893 · dependency 9,129 · low_quality 1,326 · incorrect 72 · benchmark 71 · duplicate 120
|
| 100 |
-
- Execution-verified as shipped: 673/673 (each passed twice: selection run + determinism double-run)
|
| 101 |
-
- Tests: derived-from-problem-examples 604 · inline module-level asserts 69 (extracted into `tests` where AST-safe, else kept embedded with marker) · released 0 (of 6 rows with released test blocks, none survived execution+screening)
|
| 102 |
-
- Token counts (o200k_base, full record): min 891 · p50 1,159 · max 2,391 → all ≤16K; over_16k additions: 0
|
| 103 |
-
- Repairs: 0 · Cross-dataset duplicates removed: included in the 120 (code-hash match vs Dataset #1 or intra-Magicoder)
|
| 104 |
-
- Manual review: 20-row random sample read end-to-end; findings consistent with automated gates (demo `print` blocks in a few solutions execute harmlessly; retained and observable in `code`)
|
| 105 |
-
|
| 106 |
-
### Combined repository totals after Datasets #1+#2
|
| 107 |
-
- **10,948 accepted records** (10,275 + 673), 100% execution-verified as shipped, 100% ≤16K tokens, 0 duplicate code hashes across sources.
|
| 108 |
-
- Audit trail: 88,945 processing-log rows; 77,997 rejected-row records with reasons.
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
Only sources with **documented, per-row execution verification** and **training intent** and **permissive licensing** and **acceptable contamination risk** were processable at our acceptance bar (every accepted row re-executed by us with tests). Two datasets met the bar and were processed in strict sequence: self-oss-instruct-sc2-exec-filter-50k (#1, 10,275 accepted) and Magicoder-OSS-Instruct-75K python subset (#2, 673 accepted — small because released rows ship without test artifacts, so acceptance required conservative test derivation from each problem's own stated examples). Remaining ranked candidates (personahub_code_v2, Code-Feedback) are Tier 3 with unknown/weak verification evidence and unclear licensing on their public mirrors; per the quality-first mandate they were not force-processed in this run and are documented as deferred. This matches the brief: it is acceptable — and expected — that only a small number of datasets are suitable.
|
| 113 |
|
| 114 |
## 5. Licensing & attribution
|
| 115 |
|
|
|
|
| 16 |
| Dataset | URL | Rows | Python relevance | Training purpose | Execution verification | Human verification | Reasoning quality | Estimated quality | Decision |
|
| 17 |
|---|---|---|---|---|---|---|---|---|---|
|
| 18 |
| bigcode/self-oss-instruct-sc2-exec-filter-50k | huggingface.co/datasets/bigcode/self-oss-instruct-sc2-exec-filter-50k | 50,661 | High (Python-only) | Yes (SFT for StarCoder2-Instruct) | DOCUMENTED (Docker-sandbox execution filter, NeurIPS'24 arXiv:2410.24198) + VERIFIED_BY_US (re-executed) | No (a human-reviewed 15.5k sibling repo is no longer public) | Medium-high (explicit rationale + explanation prose) | **Tier 1** | **PROCESSED (#1)** |
|
| 19 |
+
| ise-uiuc/Magicoder-OSS-Instruct-75K | huggingface.co/datasets/ise-uiuc/Magicoder-OSS-Instruct-75K | 75,197 (multilingual) | Mixed (filter lang=python) | Yes (Magicoder SFT) | DOCUMENTED (paper arXiv:2312.02120: self-generated tests + execution filtering); released rows have **no test field** (VERIFIED_BY_US) | No | Low-medium (no reasoning field) | Tier 2 | Candidate #2 (needs per-row test synthesis by us) |
|
| 20 |
| ai2-adapt-dev/personahub_code_v2_34999 | huggingface.co/datasets/ai2-adapt-dev/personahub_code_v2_34999 | 34,999 | High | Yes (Tulu-3 SFT mix) | UNKNOWN for this subset | No | Variable; first sampled row internally inconsistent (example says 7 unique words, lists 8) (VERIFIED_BY_US) | Tier 3 | Deferred; license tag missing on mirror |
|
| 21 |
| m-a-p/Code-Feedback | huggingface.co/datasets/m-a-p/Code-Feedback | ~68k | Partial (multilingual; first row Ruby) | Yes | No evidence | No | Feedback prose | Tier 3 (low end) | Deferred |
|
| 22 |
| BAAI/TACO | huggingface.co/datasets/BAAI/TACO | ~1.5M | High | Mixed (train + benchmark test split) | Judge accept-status (DOCUMENTED) | Judge-verified | Algorithmic | Would be Tier 2-3 | **REJECTED**: LeetCode-derived rows → LiveCodeBench contamination risk; competitive-programming instruction style ≠ realistic requests; huge |
|
|
|
|
| 75 |
- Asserts per record: 1 → 3,794 · 2 → 2,437 · 3 → 2,423 · 4 → 1,098 · ≥5 → 523 (incl. 10 inline-check records without separate asserts)
|
| 76 |
- Simple tasks (AST < 12 nodes) kept but tagged `simple_task`: 153 (1.5%) — near-identical duplicates already collapsed by dedup.
|
| 77 |
|
| 78 |
+
## 4. Quality-tier rationale (why not more datasets)
|
| 79 |
|
| 80 |
+
Only sources with **documented, per-row execution verification** and **training intent** and **permissive licensing** and **acceptable contamination risk** were processable at our acceptance bar (every accepted row re-executed by us with tests). Among all researched candidates, exactly one dataset (self-oss-instruct-sc2-exec-filter-50k) met the full bar at scale. Magicoder-OSS-Instruct-75K (MIT, decontaminated filename, documented upstream test+execution filtering) is the ranked #2 but ships without test artifacts, so acceptance requires our own per-row test synthesis (planned next pass). This matches the brief: it is acceptable — and expected — that only a small number of datasets are suitable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
## 5. Licensing & attribution
|
| 83 |
|
reports/verification_report.md
CHANGED
|
@@ -27,16 +27,6 @@ Every candidate row's code was treated as **untrusted** and executed as follows:
|
|
| 27 |
| **Final artifact re-verification** | exact shipped `code` + `tests` fields after all transformations | 10,315 | 10,308 | 7 (all randomness/state-dependent → dropped) |
|
| 28 |
| Post-drop invariant | shipped dataset = 100% execution-verified artifacts | **10,275** | **10,275 (100%)** | 0 |
|
| 29 |
|
| 30 |
-
### Dataset #2 stages (ise-uiuc/Magicoder-OSS-Instruct-75K, python subset)
|
| 31 |
-
|
| 32 |
-
| Stage | What ran | Rows | Passed | Failed |
|
| 33 |
-
|---|---|---|---|---|
|
| 34 |
-
| Parse & compile (AST) | every python-subset row parsed; code blocks AST-validated | 38,284 | 27,711 gate-pass | dep/no-solution/dup/syntax rejections |
|
| 35 |
-
| Sandbox execution | solution + derived/inline/released tests | 1,338 | 746 (55.8%) | 592 (369 assertion, 82 file-not-found, 63 name, 21 type, 16 attribute, 5 import, 3 timeout, 33 other) |
|
| 36 |
-
| Inline-split re-execution | module-level asserts extracted into `tests` where AST-safe | 69 kept | re-verified | — |
|
| 37 |
-
| **Determinism double-run** | every candidate final artifact executed twice; inconsistent → dropped | 675 | 673 | 2 flaky dropped |
|
| 38 |
-
| Final invariant | shipped Magicoder records | **673** | **673 (100%)** | 0 |
|
| 39 |
-
|
| 40 |
### Failure taxonomy
|
| 41 |
- Core 13 failures: 6 solution-contradicts-own-test → `rejected_incorrect` (incl. a genuinely wrong `is_prime(9)`, a duplicate-removal bug, a `RuntimeError: dictionary keys changed during iteration`); 7 FileNotFound → repaired with fixtures built from instruction-described file contents → `accepted_after_fix`.
|
| 42 |
- Derived 597 failures: 437 AssertionError (solution inconsistent with the instruction's stated example, or conservative mis-extraction), 35 FileNotFound (file-based tasks without derivable fixtures), 34 NameError (instruction function name ≠ solution def), 27 TypeError, 63 other, 1 ImportError → all `rejected_unverifiable` (we do not claim they are incorrect when the derivation itself could be the failing part — honest labeling).
|
|
@@ -53,8 +43,6 @@ Rows without released tests were accepted **only** when high-confidence tests co
|
|
| 53 |
|
| 54 |
Every extracted literal passed `ast.literal_eval` (no arbitrary code from instruction text is ever executed beyond these validated asserts). Extraction is precision-first: ambiguous cases were skipped, and **failed derivations reject the row** rather than being retried or loosened (a mis-extraction almost always fails against the solution, i.e., errors degrade to rejection, not to false acceptance). Each record's `verification.verification_method` states exactly which mechanism applied.
|
| 55 |
|
| 56 |
-
**Pattern G (added for Dataset #2, Magicoder-style problems):** problems there commonly declare variables in a code block ("given the list of fields: ```python fields = [...]```") and then state "the function call `f(fields, "age")` should return `int`". Pattern G collects assignment preludes from instruction code blocks (values must be literals or AST-validated safe expressions), then accepts calls whose arguments reference only prelude variables, whitelisted builtins, or a narrow safe-module set (`math`, `datetime`, `statistics`, `string`, `fractions`, `decimal`); expected values undergo the same AST safety validation (no lambdas/comprehensions/imports/arbitrary calls; arity-checked against the solution signature). Emitted tests = prelude assignments + assert statements. 604 Magicoder records were accepted via Patterns A/C/F/G-derived tests, 69 via inline module-level asserts.
|
| 57 |
-
|
| 58 |
## 4. Benchmark-contamination screening (§3 hard rule)
|
| 59 |
|
| 60 |
Screening corpora (downloaded **for screening only — never added to the dataset**):
|
|
@@ -66,28 +54,24 @@ Screening corpora (downloaded **for screening only — never added to the datase
|
|
| 66 |
Method: content-token containment + character-8-gram Jaccard with LSH candidate generation; boilerplate stopwords removed to avoid generic-phrasing false positives.
|
| 67 |
Policy: **when in doubt, exclude** — both the auto-reject band and the manual-review band were excluded.
|
| 68 |
|
| 69 |
-
Results over the 11,725-row accepted pool
|
| 70 |
- HumanEval/MBPP screen: 842 auto-reject + 563 review-band → **1,405 rejected_benchmark** (typical hits: instruction ≡ MBPP task "two lists share a common element", "largest prime factor", "longest increasing subsequence length", "gcd of two positive integers", "difference between sum of squares and square of sum").
|
| 71 |
- BigCodeBench/DS-1000 screen: 2 auto-reject + 3 review-band → **5 rejected_benchmark**.
|
| 72 |
-
-
|
| 73 |
-
-
|
| 74 |
-
- Not screened: LiveCodeBench (recent contest problems; our sources are OSS-function-derived — different provenance class; documented as residual risk), SWE-bench family (repo-level issues; structurally absent from these sources).
|
| 75 |
|
| 76 |
## 5. Token accounting (§12)
|
| 77 |
|
| 78 |
- Tokenizer: `tiktoken o200k_base` (target training model unspecified; o200k_base used as a modern model-agnostic proxy — documented choice, not an estimate by character count).
|
| 79 |
- Counted: the **complete serialized JSON record** (instruction + reasoning + code + tests + documentation + verification + quality + provenance).
|
| 80 |
-
- Result
|
| 81 |
-
- Result (Dataset #2): min 891 · p50 1,159 · max 2,391.
|
| 82 |
-
- Combined repository: **0 records > 16,000 tokens**; `over_16k/train.jsonl` is intentionally empty.
|
| 83 |
|
| 84 |
## 6. Manual review (§8 individual assessment)
|
| 85 |
|
| 86 |
-
A stratified random sample of **40 accepted records
|
| 87 |
- No fabricated or inconsistent reasoning observed; extracted rationales match the verified code.
|
| 88 |
- 2 systemic issues found and fixed globally: (a) instruction↔solution **function-name mismatch** → 33 rows dropped (`rejected_low_quality`); (b) **transition-sentence residue** in reasoning/documentation ("Here is the implementation:") → cleaned in 4,943 records; 129 thin rationales replaced with factual AST-based summaries (tagged `reasoning_generated_factual_summary_from_code`; no fake monologue).
|
| 89 |
- Minor, accepted-and-documented observations: 1 record retains a module-level demo `print` (executes harmlessly); 2 records have loose spec naming ("extended Euclidean" implemented as plain Euclid; out-of-range behavior via IndexError instead of explicit raise) — both fully consistent with their stated tests.
|
| 90 |
-
- Dataset #2 sample: consistent with gates; several solutions retain upstream demo blocks (`# Test the function ... print(...)`) which execute harmlessly during verification and remain visible in `code` (no hidden behavior); Pattern-G prelude tests faithfully reproduce the problem's stated example values.
|
| 91 |
|
| 92 |
## 7. What we claim vs. what we don't (§22)
|
| 93 |
|
|
|
|
| 27 |
| **Final artifact re-verification** | exact shipped `code` + `tests` fields after all transformations | 10,315 | 10,308 | 7 (all randomness/state-dependent → dropped) |
|
| 28 |
| Post-drop invariant | shipped dataset = 100% execution-verified artifacts | **10,275** | **10,275 (100%)** | 0 |
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
### Failure taxonomy
|
| 31 |
- Core 13 failures: 6 solution-contradicts-own-test → `rejected_incorrect` (incl. a genuinely wrong `is_prime(9)`, a duplicate-removal bug, a `RuntimeError: dictionary keys changed during iteration`); 7 FileNotFound → repaired with fixtures built from instruction-described file contents → `accepted_after_fix`.
|
| 32 |
- Derived 597 failures: 437 AssertionError (solution inconsistent with the instruction's stated example, or conservative mis-extraction), 35 FileNotFound (file-based tasks without derivable fixtures), 34 NameError (instruction function name ≠ solution def), 27 TypeError, 63 other, 1 ImportError → all `rejected_unverifiable` (we do not claim they are incorrect when the derivation itself could be the failing part — honest labeling).
|
|
|
|
| 43 |
|
| 44 |
Every extracted literal passed `ast.literal_eval` (no arbitrary code from instruction text is ever executed beyond these validated asserts). Extraction is precision-first: ambiguous cases were skipped, and **failed derivations reject the row** rather than being retried or loosened (a mis-extraction almost always fails against the solution, i.e., errors degrade to rejection, not to false acceptance). Each record's `verification.verification_method` states exactly which mechanism applied.
|
| 45 |
|
|
|
|
|
|
|
| 46 |
## 4. Benchmark-contamination screening (§3 hard rule)
|
| 47 |
|
| 48 |
Screening corpora (downloaded **for screening only — never added to the dataset**):
|
|
|
|
| 54 |
Method: content-token containment + character-8-gram Jaccard with LSH candidate generation; boilerplate stopwords removed to avoid generic-phrasing false positives.
|
| 55 |
Policy: **when in doubt, exclude** — both the auto-reject band and the manual-review band were excluded.
|
| 56 |
|
| 57 |
+
Results over the 11,725-row accepted pool:
|
| 58 |
- HumanEval/MBPP screen: 842 auto-reject + 563 review-band → **1,405 rejected_benchmark** (typical hits: instruction ≡ MBPP task "two lists share a common element", "largest prime factor", "longest increasing subsequence length", "gcd of two positive integers", "difference between sum of squares and square of sum").
|
| 59 |
- BigCodeBench/DS-1000 screen: 2 auto-reject + 3 review-band → **5 rejected_benchmark**.
|
| 60 |
+
- Total excluded for benchmark overlap: **1,410 (12.0% of the accepted pool)**.
|
| 61 |
+
- Not screened: LiveCodeBench (recent contest problems; our source rows are OSS-function-derived — different provenance class; documented as residual risk), SWE-bench family (repo-level issues; structurally absent from this source).
|
|
|
|
| 62 |
|
| 63 |
## 5. Token accounting (§12)
|
| 64 |
|
| 65 |
- Tokenizer: `tiktoken o200k_base` (target training model unspecified; o200k_base used as a modern model-agnostic proxy — documented choice, not an estimate by character count).
|
| 66 |
- Counted: the **complete serialized JSON record** (instruction + reasoning + code + tests + documentation + verification + quality + provenance).
|
| 67 |
+
- Result: min 728 · p50 1,009 · mean 1,038 · p95 1,328 · max 2,675 → **0 records > 16,000 tokens**; `over_16k/train.jsonl` is intentionally empty.
|
|
|
|
|
|
|
| 68 |
|
| 69 |
## 6. Manual review (§8 individual assessment)
|
| 70 |
|
| 71 |
+
A stratified random sample of **40 accepted records** was read end-to-end (instruction ↔ reasoning ↔ code ↔ tests ↔ documentation consistency). Findings:
|
| 72 |
- No fabricated or inconsistent reasoning observed; extracted rationales match the verified code.
|
| 73 |
- 2 systemic issues found and fixed globally: (a) instruction↔solution **function-name mismatch** → 33 rows dropped (`rejected_low_quality`); (b) **transition-sentence residue** in reasoning/documentation ("Here is the implementation:") → cleaned in 4,943 records; 129 thin rationales replaced with factual AST-based summaries (tagged `reasoning_generated_factual_summary_from_code`; no fake monologue).
|
| 74 |
- Minor, accepted-and-documented observations: 1 record retains a module-level demo `print` (executes harmlessly); 2 records have loose spec naming ("extended Euclidean" implemented as plain Euclid; out-of-range behavior via IndexError instead of explicit raise) — both fully consistent with their stated tests.
|
|
|
|
| 75 |
|
| 76 |
## 7. What we claim vs. what we don't (§22)
|
| 77 |
|