zbeeb commited on
Commit
debec4f
·
verified ·
1 Parent(s): e05b478

Publish 37,713 deduplicated parser-compatible math questions

Browse files
Files changed (5) hide show
  1. PREPARATION.md +65 -0
  2. README.md +57 -0
  3. data/train.parquet +3 -0
  4. manifest.json +58 -0
  5. source-revisions.json +114 -0
PREPARATION.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # How the three datasets were prepared
2
+
3
+ Only the final Math-Verify parser-compatible pools are published. “Verifiable” describes reference-format compatibility: it is not independent proof of answer correctness or measured reward accuracy on model outputs.
4
+
5
+ ## Sources and outputs
6
+
7
+ | Output | Upstream source | Published questions |
8
+ |---|---|---:|
9
+ | Skywork | `Skywork/Skywork-OR1-RL-Data`, math rows only | 97,809 |
10
+ | DeepScaleR | `agentica-org/DeepScaleR-Preview-Dataset` | 37,713 |
11
+ | Merged | Independently cleaned Skywork + DeepScaleR pools | 98,941 |
12
+
13
+ Source revisions are pinned in `configs/sources.lock.json` in the code repository and `source-revisions.json` in each dataset repository. DeepScaleR solutions were never added to the input question. Skywork code tasks are outside these math releases.
14
+
15
+ ## Independent cleaning
16
+
17
+ Skywork and DeepScaleR were processed separately. Missing prompts or references, malformed text encoding, unsupported prompt structures, and explicit image/diagram markup were excluded. Questions with explicit Answer/Solution section markers were conservatively excluded as suspected answer leakage. Some marked questions may instead contain worked examples; this is a conservative rule.
18
+
19
+ Original representative question text is preserved. No difficulty, language, tokenizer truncation, generated-response-length, or model-success-rate filter was applied.
20
+
21
+ ## Deduplication inside each dataset
22
+
23
+ Prompt comparison normalizes Unicode NFKC, whitespace, leading numerical question labels, math delimiters, and selected LaTeX sizing commands. Numbers and mathematical operators remain significant. Normalized-exact copies collapse into one representative.
24
+
25
+ Near-duplicate candidates use MinHash with 128 permutations, seed 42, and candidate Jaccard threshold 0.8. Confirmation requires at least 0.9 shingle Jaccard, 0.95 character similarity, matching numeric/operator signatures, and at least 80 normalized characters. Shingles contain five tokens. MinHash retrieval is probabilistic and does not guarantee exhaustive semantic deduplication.
26
+
27
+ Duplicate clusters retain every source-record membership. Ordered reference components must match or pass bidirectional Math-Verify equivalence. An unresolved reference conflict excludes the entire cluster; no answer is chosen arbitrarily.
28
+
29
+ A question shared across Skywork and DeepScaleR remains in both standalone outputs. Cross-source deduplication never subtracts questions from either standalone dataset.
30
+
31
+ ## Benchmark overlap screening
32
+
33
+ The screening bank contains 2,006 entries: MATH-500 (500), AIME 2024/2025/2026 (30 each), AMC 2023 (40), AMC 2024 (45), Minerva Math (272), OlympiadBench (674), and Gaokao 2023 English (385). The Gaokao fixture is pinned by Git revision and SHA-256.
34
+
35
+ Comparison uses lowercase normalized exact matching and conservative near-text matching. Near matches require sufficient shared shingles, then at least one of: Jaccard 0.65, character similarity 0.9, or shingle containment 0.95 with length ratio at least 0.5. Every member prompt in a duplicate group is screened.
36
+
37
+ A side-by-side audit reviewed 117 borderline pairs. Sixty-five were distinct variants, such as different numbers, expressions, requested quantities, or letter-words. Only those inspected prompt/benchmark pairs are exempted. The public configuration stores normalized prompt hashes and benchmark IDs instead of publishing benchmark question text. Source numbering and equation labels do not automatically veto overlap detection.
38
+
39
+ Potential overlap is excluded conservatively. This does not establish exhaustive semantic decontamination or absence from model pretraining. Benchmark questions are not included in the published training repositories.
40
+
41
+ ## Merged version
42
+
43
+ The independently cleaned standalone pools were concatenated, then the same duplicate and reference-conflict rules were applied across the union. Cross-source copies collapse into one representative with both dataset memberships. One unresolved cross-source answer-conflict cluster was omitted from the merge; the standalone pools were unchanged.
44
+
45
+ Deduplication precedes the final parser-compatibility filter. The publication is the parser-compatible subset of each prepared version, including the separately prepared merged version.
46
+
47
+ ## Final reference filter
48
+
49
+ Each ordered reference component is parsed with `math-verify==0.8.0`, `LatexExtractionConfig`, string fallback disabled (`fallback_mode='no_fallback'`), and a two-second parsing timeout. Unboxed references are wrapped in `\boxed{...}` for extraction. A row is retained only if every component produces a non-string mathematical parse. Existing reference components and their order are preserved; a list is not automatically interpreted as alternative acceptable answers.
50
+
51
+ | Version | Clean pool before final parser filter | Parser failures excluded | Published |
52
+ |---|---:|---:|---:|
53
+ | Skywork | 99,337 | 1,528 | 97,809 |
54
+ | DeepScaleR | 37,784 | 71 | 37,713 |
55
+ | Merged | 100,472 | 1,531 | 98,941 |
56
+
57
+ Parser success does not establish mathematical correctness, complete answer semantics, or reliable equivalence grading for arbitrary generated responses. Validate the actual reward implementation on model outputs before training.
58
+
59
+ ## Validation and reproducibility
60
+
61
+ Preparation tests cover normalization, numeric/operator changes, duplicate collapse, conflict quarantine, independent standalone membership, benchmark matching, reference parsing, and explicit solution markers. The original full pair audit passed all 117 decisions; the public configuration hashes preserve the same decision keys.
62
+
63
+ Before publication, row counts, reference flags, normalized-prompt uniqueness, prompt structure, and JSONL-to-Parquet round trips are checked. Each release has a Parquet SHA-256 and byte count; uploads are verified against public Hugging Face metadata and file hashes. Only one filtered Parquet pool plus its card and provenance documents is uploaded per repository.
64
+
65
+ The Hugging Face `train` split is the complete released pool. No held-out validation split was created. For experiments across these overlapping datasets, split question groups consistently across the full union to prevent validation questions from entering another training pool.
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - text-generation
5
+ pretty_name: "DeepScaleR — Verifiable, Deduplicated"
6
+ size_categories:
7
+ - 10K<n<100K
8
+ source_datasets:
9
+ - agentica-org/DeepScaleR-Preview-Dataset
10
+ tags:
11
+ - math
12
+ - reinforcement-learning
13
+ - deduplicated
14
+ - math-verify
15
+ configs:
16
+ - config_name: default
17
+ data_files:
18
+ - split: train
19
+ path: data/train.parquet
20
+ ---
21
+
22
+ # DeepScaleR — Verifiable, Deduplicated
23
+
24
+ **37,713 questions. Only parser-compatible references are included.** Here, “verifiable” means every reference component parses with Math-Verify 0.8.0, with string fallback disabled. It does not mean that the answer has been independently proved correct or that grading model outputs is error-free.
25
+
26
+ DeepScaleR was processed independently: clean its questions, deduplicate within DeepScaleR, screen benchmark overlap and prompt leakage, then retain parser-compatible references. Shared questions with Skywork remain in this dataset.
27
+
28
+ ## Preparation
29
+
30
+ See [PREPARATION.md](PREPARATION.md) for normalization, duplicate thresholds, conflict handling, benchmark screening, parser filtering, and limitations. [The complete preparation and publication code](https://github.com/Moe-Zbeeb/staleness-analysis/tree/95f55c5e518588771db8d761879f306ae01465c2/experiments/exact-age-14b-data) is pinned to Git commit `95f55c5e518588771db8d761879f306ae01465c2`. `manifest.json` records counts and checksums; `source-revisions.json` pins the upstream snapshots.
31
+
32
+ Only this filtered training pool is published. Raw inputs, rejected examples, benchmark questions, unfiltered pools, and models are not included.
33
+
34
+ ## Loading
35
+
36
+ ```python
37
+ from datasets import load_dataset
38
+
39
+ data = load_dataset("zbeeb/DeepScaleR-Verifiable-Dedup", split="train")
40
+ ```
41
+
42
+ The `train` split names the complete released pool; it is not a precomputed train/validation partition. Split by shared question groups across datasets before comparing experiments.
43
+
44
+ ## Schema
45
+
46
+ - `id`: SHA-256 of the representative normalized prompt.
47
+ - `prompt`, `messages`: original representative question and its single user message.
48
+ - `answers`: ordered reference components; do not assume these are alternative accepted answers.
49
+ - `reference_answer_raw`: original source reference serialized as JSON.
50
+ - `datasets`, `source`, `source_records`: memberships and provenance; `source_records` is serialized as JSON.
51
+ - `verifiability`: parser-compatibility flags; independent label verification is false.
52
+
53
+ Separate reference solutions are not appended to prompts. Explicit answer/solution section markers trigger conservative exclusion. Native model chat templates, generated responses, rewards, and reasoning-length restrictions are not embedded in this dataset.
54
+
55
+ ## Attribution and license
56
+
57
+ The upstream datasets are [Skywork/Skywork-OR1-RL-Data](https://huggingface.co/datasets/Skywork/Skywork-OR1-RL-Data) and [agentica-org/DeepScaleR-Preview-Dataset](https://huggingface.co/datasets/agentica-org/DeepScaleR-Preview-Dataset), as applicable in `source-revisions.json`. DeepScaleR declares MIT; the pinned Skywork card does not declare a dataset license. This derivative does not assign a new license to upstream material. Preserve upstream attribution and consult the relevant source terms.
data/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebaf012ab811d4569e1409438daedac04bb671569d52a47bfb2d512ea784b0ff
3
+ size 8755063
manifest.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": "deepscaler",
3
+ "repo_id": "zbeeb/DeepScaleR-Verifiable-Dedup",
4
+ "rows": 37713,
5
+ "code_repository": "Moe-Zbeeb/staleness-analysis",
6
+ "code_revision": "95f55c5e518588771db8d761879f306ae01465c2",
7
+ "code_directory": "experiments/exact-age-14b-data",
8
+ "reference_parser": "math-verify==0.8.0",
9
+ "string_fallback": false,
10
+ "label_correctness_independently_verified": false,
11
+ "input_sha256": "f2d816ef3f22e21371dda22cb08314477e5e3adb8a4ecd3f69f73088cfeb2ef0",
12
+ "train_parquet_sha256": "ebaf012ab811d4569e1409438daedac04bb671569d52a47bfb2d512ea784b0ff",
13
+ "train_parquet_bytes": 8755063,
14
+ "training_split_is_unsplit_pool": true,
15
+ "preparation_counts": {
16
+ "raw_profile": {
17
+ "raw_rows": 40315,
18
+ "math_rows": 40315,
19
+ "rows_with_reference_answer": 40309,
20
+ "requires_image_or_diagram_rendering": 975,
21
+ "missing_reference_answer": 6,
22
+ "valid_before_deduplication": 39334
23
+ },
24
+ "raw_valid_source_counts": {
25
+ "deepscaler": 39334
26
+ },
27
+ "deduplication": {
28
+ "input_rows": 39334,
29
+ "duplicate_clusters": 991,
30
+ "redundant_rows": 1340,
31
+ "answer_conflict_rows_quarantined": 564,
32
+ "unique_rows_after_conflicts": 37830
33
+ },
34
+ "benchmark_overlap_unique_rows_removed": 33,
35
+ "clean_rows": 37784,
36
+ "reference_parseable_rows": 37713,
37
+ "verifiability_counts": {
38
+ "all_reference_components_parse": 37713,
39
+ "any_reference_component_parses": 37713,
40
+ "label_correctness_independently_verified": 0,
41
+ "plain_numeric_reference": 23636,
42
+ "reference_present": 37784
43
+ },
44
+ "verifiability_percent": {
45
+ "all_reference_components_parse": 99.8121,
46
+ "any_reference_component_parses": 99.8121,
47
+ "label_correctness_independently_verified": 0.0,
48
+ "plain_numeric_reference": 62.5556,
49
+ "reference_present": 100.0
50
+ },
51
+ "source_counts": {
52
+ "deepscaler": 37784
53
+ },
54
+ "sha256_clean_jsonl": "58f37e8bf22eb36ded1266927955ec70b4af93c4a63d3f85a5b4eedd1133464f",
55
+ "suspected_prompt_leakage_unique_rows_removed": 13,
56
+ "raw_suspected_prompt_leakage_rows": 13
57
+ }
58
+ }
source-revisions.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "training_sources": [
3
+ {
4
+ "key": "deepscaler",
5
+ "repo_type": "dataset",
6
+ "repo_id": "agentica-org/DeepScaleR-Preview-Dataset",
7
+ "revision": "b6ae8c60f5c1f2b594e2140b91c49c9ad0949e29",
8
+ "files": [
9
+ ".gitattributes",
10
+ "README.md",
11
+ "deepscaler.json"
12
+ ]
13
+ }
14
+ ],
15
+ "benchmark_sources": [
16
+ {
17
+ "key": "math500",
18
+ "repo_type": "dataset",
19
+ "repo_id": "HuggingFaceH4/MATH-500",
20
+ "revision": "6e4ed1a2a79af7d8630a6b768ec859cb5af4d3be",
21
+ "files": [
22
+ ".gitattributes",
23
+ "README.md",
24
+ "eval.yaml",
25
+ "test.jsonl"
26
+ ]
27
+ },
28
+ {
29
+ "key": "aime24",
30
+ "repo_type": "dataset",
31
+ "repo_id": "HuggingFaceH4/aime_2024",
32
+ "revision": "2fe88a2f1091d5048c0f36abc874fb997b3dd99a",
33
+ "files": [
34
+ ".gitattributes",
35
+ "README.md",
36
+ "data/train-00000-of-00001.parquet"
37
+ ]
38
+ },
39
+ {
40
+ "key": "aime25",
41
+ "repo_type": "dataset",
42
+ "repo_id": "opencompass/AIME2025",
43
+ "revision": "a6ad95f611d72cf628a80b58bd0432ef6638f958",
44
+ "files": [
45
+ ".gitattributes",
46
+ "README.md",
47
+ "aime2025-I.jsonl",
48
+ "aime2025-II.jsonl"
49
+ ]
50
+ },
51
+ {
52
+ "key": "aime26",
53
+ "repo_type": "dataset",
54
+ "repo_id": "MathArena/aime_2026",
55
+ "revision": "d2de22f3c656b4f56cf8981212186377d1e23bc3",
56
+ "files": [
57
+ ".gitattributes",
58
+ "README.md",
59
+ "data/train-00000-of-00001.parquet",
60
+ "eval.yaml"
61
+ ]
62
+ },
63
+ {
64
+ "key": "amc23",
65
+ "repo_type": "dataset",
66
+ "repo_id": "math-ai/amc23",
67
+ "revision": "80815d37005feb82cd7f8fbc6901d5d3eff43057",
68
+ "files": [
69
+ ".gitattributes",
70
+ "README.md",
71
+ "test-00000-of-00001.parquet"
72
+ ]
73
+ },
74
+ {
75
+ "key": "amc24",
76
+ "repo_type": "dataset",
77
+ "repo_id": "rawsh/2024_AMC12",
78
+ "revision": "47b35303156a75cdfc6fcca694db66905d5b2033",
79
+ "files": [
80
+ ".gitattributes",
81
+ "README.md",
82
+ "amc12-2024.jsonl"
83
+ ]
84
+ },
85
+ {
86
+ "key": "minerva_math",
87
+ "repo_type": "dataset",
88
+ "repo_id": "math-ai/minervamath",
89
+ "revision": "ee46ddc498933b1977577953250ca5c66be64f96",
90
+ "files": [
91
+ ".gitattributes",
92
+ "README.md",
93
+ "test.jsonl"
94
+ ]
95
+ },
96
+ {
97
+ "key": "olympiadbench",
98
+ "repo_type": "dataset",
99
+ "repo_id": "math-ai/olympiadbench",
100
+ "revision": "4faaf1e6ec17d11a4218a9bf4c049ecaf954dd84",
101
+ "files": [
102
+ ".gitattributes",
103
+ "README.md",
104
+ "test.parquet"
105
+ ]
106
+ }
107
+ ],
108
+ "gaokao": {
109
+ "repository": "https://github.com/Infini-AI-Lab/M2PO",
110
+ "revision": "af54a3e8feffb7a66a8258003aebefa37759cec0",
111
+ "path": "raw-data/gaokao-2023en-test.jsonl",
112
+ "sha256": "e1503ee5bd33bacb677b707344d64cfa44c9b841428544a14df7a6b643376977"
113
+ }
114
+ }