ORCHORDS commited on
Commit
2cb99f0
·
verified ·
1 Parent(s): fd9bf9e

Republish the benchmark with one unified id namespace and one headline total

Browse files
ANSWER_AUDIT.md CHANGED
The diff for this file is too large to render. See raw diff
 
BENCHMARKING.md CHANGED
@@ -37,11 +37,11 @@ therefore filters on `collection` if you want a single subset.
37
 
38
  | config | rows | what it is |
39
  |---|---|---|
40
- | `full` | 12,531 | every problem, every column, including the unverified ones |
41
- | `qa` | 12,531 | the minimal MATH-style columns: problem, answer, metadata |
42
- | `verified` | 2,157 | **the scored split** - only rows whose answer the engine confirmed |
43
  | `core` | 3,617 | the main collection |
44
- | `extended` | 8,394 | the six extended collections |
45
  | `exercises` | 520 | the machine-made exercises |
46
 
47
  The published repository splits the rows **85 % train / 15 % test, stratified by
@@ -61,8 +61,8 @@ a test score and a train score are not comparable.
61
  | `source_title` | string | the name of the benchmark |
62
  | `chapter` | int | chapter / topic number |
63
  | `chapter_title` | string | chapter / topic name |
64
- | `group` | string | difficulty group as given in the source: `"A"`, `"B"`, `"C"`, or `""` |
65
- | `difficulty` | string | the difficulty glyph (`"□"` easy, `"■"` hard) or `""` |
66
  | `problem` | string | English statement, LaTeX in `$...$` / `$$...$$` |
67
  | `solution` | string | English worked solution, ending in the boxed answer |
68
  | `final_answer` | string | short gold answer as bare LaTeX (no `$`, no `\boxed`) |
@@ -75,12 +75,12 @@ a test score and a train score are not comparable.
75
 
76
  | | count |
77
  |---|---|
78
- | rows | 12,531 |
79
- | rows with a gold answer | 6,703 |
80
- | rows with **no** gold answer | 5,828 |
81
- | rows in the `verified` config (the scored split) | 2,157 |
82
- | rows by collection | `algebra` 2,344, `circles` 876, `core` 3,617, `exercises` 520, `parameters` 1,130, `planimetry` 2,048, `syllabus` 1,745, `trigonometry` 251 |
83
- | rows by `answer_status` | `corrected` 19, `disputed` 97, `no-gold` 5,828, `refuted` 61, `suspected` 250, `unverifiable` 4,138, `verified` 2,138 |
84
 
85
  Rows without a gold answer are rows where the source page prints the result only
86
  inside the worked solution, or not at all (`answer_status = "no-gold"`). They are
@@ -196,9 +196,9 @@ not a description of the method.
196
 
197
  | leg | what it covered | outcome |
198
  |---|---|---|
199
- | 1 - SymPy | 6,703 published rows that carry an answer | 2,157 confirmed, the rest labelled |
200
- | 2 - independent parsers | 60,985 LaTeX fragments of the published dataset | **0 disagreements** with the third-party parser |
201
- | 3 - math.js web calculator | 6,703 published rows that carry an answer | 1,114 could be evaluated; **805 of the 2,157 scored rows were independently confirmed and 0 were contradicted** |
202
  | 4 - third page read | every one of the 336 flagged answers | 336 covered |
203
 
204
  The cross-check was not a formality - it changed the dataset:
@@ -220,7 +220,7 @@ The cross-check was not a formality - it changed the dataset:
220
  one template had the strictness of an inequality swapped. The generator now
221
  re-parses its own source output and solves it, so a row whose statement and
222
  answer disagree can no longer be published.
223
- * **61 source answers are reported as wrong.** Each of those has a
224
  concrete counterexample from the engine *and* a third, independent read of the
225
  page that agrees with our transcription of the source answer. They are published
226
  as `refuted`, not silently replaced.
 
37
 
38
  | config | rows | what it is |
39
  |---|---|---|
40
+ | `full` | 12,592 | every problem, every column, including the unverified ones |
41
+ | `qa` | 12,592 | the minimal MATH-style columns: problem, answer, metadata |
42
+ | `verified` | 2,755 | **the scored split** - only rows whose answer the engine confirmed |
43
  | `core` | 3,617 | the main collection |
44
+ | `extended` | 8,455 | the six extended collections |
45
  | `exercises` | 520 | the machine-made exercises |
46
 
47
  The published repository splits the rows **85 % train / 15 % test, stratified by
 
61
  | `source_title` | string | the name of the benchmark |
62
  | `chapter` | int | chapter / topic number |
63
  | `chapter_title` | string | chapter / topic name |
64
+ | `group` | string | group of the problem inside its chapter as given in the source: `"A"`, `"B"`, `"C"`, or `""` |
65
+ | `difficulty` | string | difficulty mark of the problem (`"□"` easy, `"■"` hard) or `""` when the source prints none |
66
  | `problem` | string | English statement, LaTeX in `$...$` / `$$...$$` |
67
  | `solution` | string | English worked solution, ending in the boxed answer |
68
  | `final_answer` | string | short gold answer as bare LaTeX (no `$`, no `\boxed`) |
 
75
 
76
  | | count |
77
  |---|---|
78
+ | rows | 12,592 |
79
+ | rows with a gold answer | 7,407 |
80
+ | rows with **no** gold answer | 5,185 |
81
+ | rows in the `verified` config (the scored split) | 2,755 |
82
+ | rows by collection | `algebra` 2,327, `circles` 853, `core` 3,617, `exercises` 520, `parameters` 1,287, `planimetry` 2,000, `syllabus` 1,751, `trigonometry` 237 |
83
+ | rows by `answer_status` | `corrected` 50, `disputed` 85, `no-gold` 5,185, `refuted` 68, `suspected` 271, `unverifiable` 4,228, `verified` 2,705 |
84
 
85
  Rows without a gold answer are rows where the source page prints the result only
86
  inside the worked solution, or not at all (`answer_status = "no-gold"`). They are
 
196
 
197
  | leg | what it covered | outcome |
198
  |---|---|---|
199
+ | 1 - SymPy | 7,407 published rows that carry an answer | 2,755 confirmed, the rest labelled |
200
+ | 2 - independent parsers | 61,152 LaTeX fragments of the published dataset | **0 disagreements** with the third-party parser |
201
+ | 3 - math.js web calculator | 6,703 published rows that carry an answer | 1,114 could be evaluated; **805 of the 2,755 scored rows were independently confirmed and 6 were contradicted** |
202
  | 4 - third page read | every one of the 336 flagged answers | 336 covered |
203
 
204
  The cross-check was not a formality - it changed the dataset:
 
220
  one template had the strictness of an inequality swapped. The generator now
221
  re-parses its own source output and solves it, so a row whose statement and
222
  answer disagree can no longer be published.
223
+ * **68 source answers are reported as wrong.** Each of those has a
224
  concrete counterexample from the engine *and* a third, independent read of the
225
  page that agrees with our transcription of the source answer. They are published
226
  as `refuted`, not silently replaced.
README.md CHANGED
@@ -76,7 +76,7 @@ configs:
76
 
77
  # DGN Math Benchmark
78
 
79
- **12,531 mathematics problems, built and machine-verified by us.** 2,157 of them carry an
80
  answer that a symbolic engine confirmed, and those form the scored split.
81
 
82
  > Every answer in this dataset was put through a real computational engine (SymPy).
@@ -89,23 +89,25 @@ answer that a symbolic engine confirmed, and those form the scored split.
89
  ## What this is
90
 
91
  An English-language mathematics benchmark for evaluating language models on
92
- problem solving. Problems are given in LaTeX, every item carries a worked
93
- solution, and the final answer is stored in the standard MATH convention
94
  (`\boxed{...}`), so the dataset drops straight into the usual math harnesses.
95
 
96
  ## Configs
97
 
98
  | config | rows | what it is |
99
  |---|---|---|
100
- | `full` | 12,531 | every problem, every column, including the unverified ones |
101
- | `qa` | 12,531 | the minimal MATH-style columns: problem, answer, metadata |
102
- | `verified` | 2,157 | **the scored split** - only rows whose answer the engine confirmed |
103
  | `core` | 3,617 | the main collection: algebra, trigonometry, progressions, logarithms, inequalities |
104
- | `extended` | 8,394 | the extended collections: entrance algebra, the full syllabus, parameters, trigonometry, plane geometry |
105
  | `exercises` | 520 | machine-made exercises whose answers are computed and re-checked |
106
 
107
  Each config has a deterministic 85/15 train/test split (seed 42), stratified by
108
- collection and chapter.
 
 
109
 
110
  ## Columns (`full`)
111
 
@@ -118,10 +120,10 @@ collection and chapter.
118
  | `source_title` | string | the title of the benchmark |
119
  | `chapter` | int | chapter / topic number |
120
  | `chapter_title` | string | chapter / topic name |
121
- | `group` | string | difficulty group of the problem (A / B / C) |
122
- | `difficulty` | string | the difficulty glyph of the problem (`□` easy, `■` hard) |
123
  | `problem` | string | the statement, LaTeX, inline `$...$` and display `$$...$$` |
124
- | `solution` | string | the worked solution, ending in the boxed answer |
125
  | `final_answer` | string | the gold answer as bare LaTeX (no `$`, no `\boxed`) |
126
  | `final_answer_boxed` | string | the same answer as `\boxed{...}` |
127
  | `answer_status` | string | `verified` / `corrected` / `refuted` / `suspected` / `disputed` / `unverifiable` / `no-gold` |
@@ -132,13 +134,13 @@ collection and chapter.
132
 
133
  | status | count | meaning |
134
  |---|---|---|
135
- | `verified` | 2,138 | the engine substituted the answer back into the problem and it held |
136
- | `corrected` | 19 | the original answer was refuted and replaced by a re-verified recomputation |
137
- | `refuted` | 61 | the engine found a concrete counterexample: the answer does not hold |
138
- | `suspected` | 250 | the engine found a difference, but it is not settled whether the source or the transcription is at fault - **not** counted as an error in the source |
139
- | `disputed` | 97 | a third read of the source disagreed with the bulk transcription |
140
- | `unverifiable` | 4,138 | outside the reach of automatic checking |
141
- | `no-gold` | 5,828 | the source carries no answer for this problem |
142
 
143
  `verified` means the engine substituted the answer back into the problem and it held.
144
  `corrected` means the original answer was refuted and replaced by a recomputed answer
@@ -163,7 +165,8 @@ harnesses:
163
  * inline mathematics is written `$...$`, display mathematics `$$...$$`
164
  * the gold answer is stored twice: `final_answer` holds the bare LaTeX
165
  (`\frac{3}{4}`), `final_answer_boxed` holds `\boxed{\frac{3}{4}}`
166
- * the `solution` column ends with the boxed answer, so a harness that extracts the
 
167
  last `\boxed{...}` from the solution gets the same string
168
  * decimals use a point, never a comma
169
  * there is no mixing of `\(...\)` and `$...$` delimiters
@@ -203,7 +206,36 @@ python evaluate_benchmark.py \
203
  the source, and only corrections that the engine could confirm were written back.
204
  4. **Exercises.** The machine-made exercises are produced by templates that compute
205
  the answer with SymPy and then re-check it; an item that fails the re-check is
206
- dropped.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
 
208
  ## Origin and rights
209
 
 
76
 
77
  # DGN Math Benchmark
78
 
79
+ **12,592 mathematics problems, built and machine-verified by us.** 2,755 of them carry an
80
  answer that a symbolic engine confirmed, and those form the scored split.
81
 
82
  > Every answer in this dataset was put through a real computational engine (SymPy).
 
89
  ## What this is
90
 
91
  An English-language mathematics benchmark for evaluating language models on
92
+ problem solving. Problems are given in LaTeX, 5,105 of the 12,592 items
93
+ carry a worked solution, and the final answer is stored in the standard MATH convention
94
  (`\boxed{...}`), so the dataset drops straight into the usual math harnesses.
95
 
96
  ## Configs
97
 
98
  | config | rows | what it is |
99
  |---|---|---|
100
+ | `full` | 12,592 | every problem, every column, including the unverified ones |
101
+ | `qa` | 12,592 | the minimal MATH-style columns: problem, answer, metadata |
102
+ | `verified` | 2,755 | **the scored split** - only rows whose answer the engine confirmed |
103
  | `core` | 3,617 | the main collection: algebra, trigonometry, progressions, logarithms, inequalities |
104
+ | `extended` | 8,455 | the extended collections: entrance algebra, the full syllabus, parameters, trigonometry, plane geometry |
105
  | `exercises` | 520 | machine-made exercises whose answers are computed and re-checked |
106
 
107
  Each config has a deterministic 85/15 train/test split (seed 42), stratified by
108
+ collection and chapter. A problem that is printed more than once - in two chapters
109
+ of one collection or in two collections - keeps all of its copies in the same half,
110
+ so no problem of the test half was in the train half.
111
 
112
  ## Columns (`full`)
113
 
 
120
  | `source_title` | string | the title of the benchmark |
121
  | `chapter` | int | chapter / topic number |
122
  | `chapter_title` | string | chapter / topic name |
123
+ | `group` | string | group of the problem inside its chapter, as printed in the source (`A`, `B`, `C`); empty when the source names no group |
124
+ | `difficulty` | string | difficulty mark of the problem (`□` easy, `■` hard); empty when the source prints no difficulty mark |
125
  | `problem` | string | the statement, LaTeX, inline `$...$` and display `$$...$$` |
126
+ | `solution` | string | the worked solution; where the row carries an answer it ends in the boxed answer |
127
  | `final_answer` | string | the gold answer as bare LaTeX (no `$`, no `\boxed`) |
128
  | `final_answer_boxed` | string | the same answer as `\boxed{...}` |
129
  | `answer_status` | string | `verified` / `corrected` / `refuted` / `suspected` / `disputed` / `unverifiable` / `no-gold` |
 
134
 
135
  | status | count | meaning |
136
  |---|---|---|
137
+ | `verified` | 2,705 | the engine substituted the answer back into the problem and it held |
138
+ | `corrected` | 50 | the original answer was refuted and replaced by a re-verified recomputation |
139
+ | `refuted` | 68 | the engine found a concrete counterexample: the answer does not hold |
140
+ | `suspected` | 271 | the engine found a difference, but it is not settled whether the source or the transcription is at fault - **not** counted as an error in the source |
141
+ | `disputed` | 85 | a third read of the source disagreed with the bulk transcription |
142
+ | `unverifiable` | 4,228 | outside the reach of automatic checking |
143
+ | `no-gold` | 5,185 | the source carries no answer for this problem |
144
 
145
  `verified` means the engine substituted the answer back into the problem and it held.
146
  `corrected` means the original answer was refuted and replaced by a recomputed answer
 
165
  * inline mathematics is written `$...$`, display mathematics `$$...$$`
166
  * the gold answer is stored twice: `final_answer` holds the bare LaTeX
167
  (`\frac{3}{4}`), `final_answer_boxed` holds `\boxed{\frac{3}{4}}`
168
+ * the `solution` column of every row that carries an answer ends with the boxed
169
+ answer, so a harness that extracts the
170
  last `\boxed{...}` from the solution gets the same string
171
  * decimals use a point, never a comma
172
  * there is no mixing of `\(...\)` and `$...$` delimiters
 
206
  the source, and only corrections that the engine could confirm were written back.
207
  4. **Exercises.** The machine-made exercises are produced by templates that compute
208
  the answer with SymPy and then re-check it; an item that fails the re-check is
209
+ dropped. A second, independent verifier per topic re-derives every answer from
210
+ the published statement without using the generator, and a negative test makes
211
+ sure that a perturbed answer is rejected.
212
+
213
+ ## What was left out, and what is still missing
214
+
215
+ An item is only published when it is an exercise with a statement that can be read
216
+ off the page. 358 printed items were left out because they are not
217
+ exercises at all - a figure and its caption, a section heading, a table of contents,
218
+ a page of exposition, or the answer key of a chapter, whose answers are published
219
+ with the exercise they belong to. 3 further items were left out
220
+ because their statement could not be recovered with certainty.
221
+
222
+ Four limitations are worth knowing about:
223
+
224
+ * a statement that runs over the foot of a page was recovered by reading the page
225
+ again; where the missing words could not be read with certainty, the item was
226
+ left out rather than published with a guessed question;
227
+ * a page of the source can print two exam variants side by side, and the two
228
+ blocks use the same numbers. Where that happened, one of the two blocks was
229
+ kept and the other left out, so around sixty printed exercises are not in this
230
+ release;
231
+ * a printed exam variant carries the statements of all of its tasks in one place
232
+ and their answers in one numbered key. Every such variant was split into its
233
+ own tasks, so that each task carries its own answer. Where the key could not
234
+ be read off the page with certainty, the tasks are published without an answer
235
+ rather than with the answer of a neighbouring task;
236
+ * two collections contain a handful of items whose statement stands in two
237
+ collections. They are kept in the same half of the split, so no problem of the
238
+ test half was in the train half.
239
 
240
  ## Origin and rights
241
 
benchmark_full.jsonl CHANGED
The diff for this file is too large to render. See raw diff
 
data/core/test-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cd38f49420e59df605d7f5456564f8090921b8d092330981b16feba7731d9788
3
- size 117121
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f6c384fe7f4a22f1e8384b45f2cb3b7ba6c2433f205ebcdc1d2d9d7fe292868
3
+ size 125718
data/core/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b2b7ef040f87d5f5a0b85dadff7957d85baa543b358a1217746b22d48ca81e49
3
- size 585854
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48199dfd1f7f2e44443de949ef3470cc4a4069870d6815375c46d31ef9f36329
3
+ size 581718
data/exercises/test-00000-of-00001.parquet CHANGED
Binary files a/data/exercises/test-00000-of-00001.parquet and b/data/exercises/test-00000-of-00001.parquet differ
 
data/exercises/train-00000-of-00001.parquet CHANGED
Binary files a/data/exercises/train-00000-of-00001.parquet and b/data/exercises/train-00000-of-00001.parquet differ
 
data/extended/test-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:123f79e9af2a51a66a674aebd0d8bf7e26a117072a01f7c6ae96967d171c6487
3
- size 252052
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:752ac11fd917406750b9c5e4769981a22e05eca4ec5cc3648eccb17cc0aeab60
3
+ size 246122
data/extended/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b03005de364a6a8c10d03f57f45c83ee6bb9347394676d1aaca436984a776414
3
- size 1288541
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:195f6d55d067feaa6f5fb4411caecc3bfe10198868008ce2fb618fbf19892891
3
+ size 1264095
data/full/test-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:628c7d0cf0d898947ae9e7642341720d5d14e59ca7055dc0aebdb4d3255f8c7e
3
- size 376415
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1469802af630e9d54550cb37129c5a81383f22fe93af361f2cc56e94e219b7c
3
+ size 382069
data/full/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8669af1a5e742140a4dda16e6ed890a30522bb7cb2e81c881d841db17544a605
3
- size 1916680
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c82bd0a338f2b2d3d55a53ef598671b9dce2afece72f6f00f83a4d23db3deab5
3
+ size 1902845
data/qa/test-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9c4389b46e6f0c7813997affec3037738ddc0dd08605ca14d8681839af9e4676
3
- size 250471
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7446588c71ab793231ed86078eb22bfe3b710ed2bf15bb6cb9b1d073113620c2
3
+ size 248213
data/qa/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e04c13ffe63070faefd4822cf3294ea8bf3d9854cfe52fdc26bb183315055a1d
3
- size 1293487
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e51b6bda95f9de1c09a351abbc9d2967f006eead6c05cb5af41be5e141c2588
3
+ size 1275815
data/verified/test-00000-of-00001.parquet CHANGED
Binary files a/data/verified/test-00000-of-00001.parquet and b/data/verified/test-00000-of-00001.parquet differ
 
data/verified/train-00000-of-00001.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3625d77e67d85abbc04d0bf568b85c5287d391de7e3eef27b12dabbd69b63dfc
3
- size 271893
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a6c2314171a82a6f7b21546208c41b5c4a05b12c0b21130b1864c8f03330871
3
+ size 362134