Datasets:
Republish the benchmark with one unified id namespace and one headline total
Browse files- .gitattributes +2 -0
- ANSWER_AUDIT.md +0 -0
- BENCHMARKING.md +114 -159
- README.md +58 -64
- benchmark_full.jsonl +0 -0
- data/core/test-00000-of-00001.parquet +2 -2
- data/core/train-00000-of-00001.parquet +2 -2
- data/exercises/test-00000-of-00001.parquet +0 -0
- data/exercises/train-00000-of-00001.parquet +0 -0
- data/extended/test-00000-of-00001.parquet +3 -0
- data/extended/train-00000-of-00001.parquet +3 -0
- data/full/test-00000-of-00001.parquet +2 -2
- data/full/train-00000-of-00001.parquet +2 -2
- data/qa/test-00000-of-00001.parquet +2 -2
- data/qa/train-00000-of-00001.parquet +2 -2
- data/verified/test-00000-of-00001.parquet +0 -0
- data/verified/train-00000-of-00001.parquet +2 -2
.gitattributes
CHANGED
|
@@ -10,3 +10,5 @@ data/books/train-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
|
| 10 |
data/core/test-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
| 11 |
data/core/train-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
| 12 |
data/verified/train-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 10 |
data/core/test-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
| 11 |
data/core/train-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
| 12 |
data/verified/train-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
data/extended/test-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
data/extended/train-00000-of-00001.parquet filter=lfs diff=lfs merge=lfs -text
|
ANSWER_AUDIT.md
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
BENCHMARKING.md
CHANGED
|
@@ -7,69 +7,6 @@ before.
|
|
| 7 |
|
| 8 |
---
|
| 9 |
|
| 10 |
-
This document describes what the dataset contains, how the scoring harness
|
| 11 |
-
(`evaluate_benchmark.py`) decides that an answer is correct, and how to run and
|
| 12 |
-
report results. It is written for an engineer who has not seen this project
|
| 13 |
-
before.
|
| 14 |
-
|
| 15 |
-
---
|
| 16 |
-
|
| 17 |
-
This document describes what the dataset contains, how the scoring harness
|
| 18 |
-
(`evaluate_benchmark.py`) decides that an answer is correct, and how to run and
|
| 19 |
-
report results. It is written for an engineer who has not seen this project
|
| 20 |
-
before.
|
| 21 |
-
|
| 22 |
-
---
|
| 23 |
-
|
| 24 |
-
This document describes what the dataset contains, how the scoring harness
|
| 25 |
-
(`evaluate_benchmark.py`) decides that an answer is correct, and how to run and
|
| 26 |
-
report results. It is written for an engineer who has not seen this project
|
| 27 |
-
before.
|
| 28 |
-
|
| 29 |
-
---
|
| 30 |
-
|
| 31 |
-
This document describes what the dataset contains, how the scoring harness
|
| 32 |
-
(`evaluate_benchmark.py`) decides that an answer is correct, and how to run and
|
| 33 |
-
report results. It is written for an engineer who has not seen this project
|
| 34 |
-
before.
|
| 35 |
-
|
| 36 |
-
---
|
| 37 |
-
|
| 38 |
-
This document describes what the dataset contains, how the scoring harness
|
| 39 |
-
(`evaluate_benchmark.py`) decides that an answer is correct, and how to run and
|
| 40 |
-
report results. It is written for an engineer who has not seen this project
|
| 41 |
-
before.
|
| 42 |
-
|
| 43 |
-
---
|
| 44 |
-
|
| 45 |
-
This document describes what the dataset contains, how the scoring harness
|
| 46 |
-
(`evaluate_benchmark.py`) decides that an answer is correct, and how to run and
|
| 47 |
-
report results. It is written for an engineer who has not seen this project
|
| 48 |
-
before.
|
| 49 |
-
|
| 50 |
-
---
|
| 51 |
-
|
| 52 |
-
This document describes what the dataset contains, how the scoring harness
|
| 53 |
-
(`evaluate_benchmark.py`) decides that an answer is correct, and how to run and
|
| 54 |
-
report results. It is written for an engineer who has not seen this project
|
| 55 |
-
before.
|
| 56 |
-
|
| 57 |
-
---
|
| 58 |
-
|
| 59 |
-
This document describes what the dataset contains, how the scoring harness
|
| 60 |
-
(`evaluate_benchmark.py`) decides that an answer is correct, and how to run and
|
| 61 |
-
report results. It is written for an engineer who has not seen this project
|
| 62 |
-
before.
|
| 63 |
-
|
| 64 |
-
---
|
| 65 |
-
|
| 66 |
-
This document describes what the dataset contains, how the scoring harness
|
| 67 |
-
(`evaluate_benchmark.py`) decides that an answer is correct, and how to run and
|
| 68 |
-
report results. It is written for an engineer who has not seen this project
|
| 69 |
-
before.
|
| 70 |
-
|
| 71 |
-
---
|
| 72 |
-
|
| 73 |
## 1. What the dataset is
|
| 74 |
|
| 75 |
`ORCHORDS/dgn-math-problems` is an **English-language mathematics benchmark**
|
|
@@ -77,37 +14,38 @@ with worked solutions. Every answer in it has been checked with a real symbolic
|
|
| 77 |
engine (SymPy), and the dataset says, row by row, how much trust each answer has
|
| 78 |
earned.
|
| 79 |
|
| 80 |
-
###
|
| 81 |
|
| 82 |
-
| `
|
| 83 |
|---|---|---|
|
| 84 |
-
| `
|
| 85 |
-
| `
|
| 86 |
-
| `
|
| 87 |
-
| `
|
| 88 |
-
| `
|
| 89 |
-
| `
|
| 90 |
-
| `
|
| 91 |
-
| `
|
| 92 |
-
|
| 93 |
-
The
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
|
|
|
| 97 |
|
| 98 |
### Configs
|
| 99 |
|
| 100 |
| config | rows | what it is |
|
| 101 |
|---|---|---|
|
| 102 |
-
| `full` | 12,
|
| 103 |
-
| `qa` | 12,
|
| 104 |
-
| `verified` | 2,
|
| 105 |
-
| `core` | 3,617 | the
|
| 106 |
-
| `
|
| 107 |
-
| `
|
| 108 |
|
| 109 |
The published repository splits the rows **85 % train / 15 % test, stratified by
|
| 110 |
-
|
| 111 |
every config. The harness does not care about the split - it scores whatever file
|
| 112 |
you point it at - but you must say in your report which split you scored, because
|
| 113 |
a test score and a train score are not comparable.
|
|
@@ -116,32 +54,33 @@ a test score and a train score are not comparable.
|
|
| 116 |
|
| 117 |
| Field | Type | Meaning |
|
| 118 |
|---|---|---|
|
| 119 |
-
| `id` | string | stable identifier, e.g. `
|
| 120 |
-
| `problem_id` | string | the problem number as
|
| 121 |
-
| `
|
| 122 |
-
| `
|
|
|
|
| 123 |
| `chapter` | int | chapter / topic number |
|
| 124 |
| `chapter_title` | string | chapter / topic name |
|
| 125 |
-
| `group` | string | difficulty group
|
| 126 |
-
| `difficulty` | string | the
|
| 127 |
| `problem` | string | English statement, LaTeX in `$...$` / `$$...$$` |
|
| 128 |
| `solution` | string | English worked solution, ending in the boxed answer |
|
| 129 |
| `final_answer` | string | short gold answer as bare LaTeX (no `$`, no `\boxed`) |
|
| 130 |
| `final_answer_boxed` | string | `\boxed{...}` form of `final_answer` - **the canonical gold field** |
|
| 131 |
-
| `answer_status` | string | `verified` / `corrected` / `refuted` / `suspected` / `disputed` / `unverifiable` / `no-gold`
|
| 132 |
| `verification_note` | string | free text; what the engine checked and what it found |
|
| 133 |
-
| `page` | int |
|
| 134 |
|
| 135 |
### Size of the current snapshot
|
| 136 |
|
| 137 |
| | count |
|
| 138 |
|---|---|
|
| 139 |
-
| rows | 12,
|
| 140 |
-
| rows with a gold answer | 6,
|
| 141 |
-
| rows with **no** gold answer | 5,
|
| 142 |
-
| rows in the `verified` config (the scored split) | 2,
|
| 143 |
-
| rows by
|
| 144 |
-
| rows by `answer_status` | `corrected`
|
| 145 |
|
| 146 |
Rows without a gold answer are rows where the source page prints the result only
|
| 147 |
inside the worked solution, or not at all (`answer_status = "no-gold"`). They are
|
|
@@ -151,13 +90,13 @@ inside the worked solution, or not at all (`answer_status = "no-gold"`). They ar
|
|
| 151 |
|
| 152 |
## 2. How every answer was checked
|
| 153 |
|
| 154 |
-
The dataset is not a raw dump
|
| 155 |
-
|
| 156 |
-
|
| 157 |
|
| 158 |
### Leg 1 - symbolic engine (SymPy)
|
| 159 |
|
| 160 |
-
A LaTeX-to-SymPy parser turns each statement and each
|
| 161 |
expression tree, and the engine then does the actual mathematics:
|
| 162 |
|
| 163 |
* *equations and systems* - the claimed solution is substituted back into the
|
|
@@ -170,9 +109,9 @@ expression tree, and the engine then does the actual mathematics:
|
|
| 170 |
|
| 171 |
The parser used for this leg is written for this dataset, because the two
|
| 172 |
general-purpose LaTeX parsers available for Python both misread the notation
|
| 173 |
-
these
|
| 174 |
|
| 175 |
-
| notation in the
|
| 176 |
|---|---|---|
|
| 177 |
| `A : B` (Russian division) | `A / (B * C)` - the following product is swallowed | `(A / B) * C`, left to right |
|
| 178 |
| `X \left(...\right)^{-1}` | the exponent is **silently dropped** | reciprocal of the group |
|
|
@@ -181,10 +120,10 @@ these books use:
|
|
| 181 |
| `{}^4\sqrt{x}` (4th root) | read as a power times a root | 4th root |
|
| 182 |
| `\tanx` (no space) | mis-lexed as one control word | `tan(x)` |
|
| 183 |
|
| 184 |
-
One concrete consequence: the row `
|
| 185 |
-
the off-the-shelf parsers and to **1/4** - the value the
|
| 186 |
-
notation the
|
| 187 |
-
reported a correct
|
| 188 |
|
| 189 |
### Leg 2 - independent parsers as a cross-check
|
| 190 |
|
|
@@ -196,15 +135,22 @@ exactly the places where the off-the-shelf parsers misread the notation above.
|
|
| 196 |
|
| 197 |
### Leg 3 - an online calculator (math.js)
|
| 198 |
|
| 199 |
-
The
|
| 200 |
`api.mathjs.org`**, a JavaScript computer-algebra engine that shares no code
|
| 201 |
with SymPy and evaluates with 64-digit exact decimal arithmetic. The expression
|
| 202 |
tree is serialised into math.js syntax and the engine does all the arithmetic.
|
| 203 |
This leg confirms the answers on a completely different implementation, on a
|
| 204 |
different language, on a different machine.
|
| 205 |
|
| 206 |
-
|
| 207 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
precision allows, so a rounded answer is not mistaken for a wrong one.
|
| 209 |
|
| 210 |
### Leg 4 - a third read of the page
|
|
@@ -212,30 +158,33 @@ precision allows, so a rounded answer is not mistaken for a wrong one.
|
|
| 212 |
The engine can only refute an answer that is attached to the statement that was
|
| 213 |
transcribed. If the statement itself was misread, the refutation is worthless.
|
| 214 |
So **every flagged answer gets a third, independent read of the page image**
|
| 215 |
-
(a separate vision pass over the
|
| 216 |
-
transcription), and the page
|
| 217 |
|
| 218 |
* if the third read agrees with the transcription and the engine still refutes
|
| 219 |
-
the
|
| 220 |
* if the third read disagrees, the corrected row is re-checked by the engine and
|
| 221 |
the row becomes `disputed` or is corrected when the correction verifies;
|
| 222 |
* if the engine cannot decide, the row stays `unverifiable` - never `refuted`.
|
| 223 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 224 |
### What the status column means
|
| 225 |
|
| 226 |
| `answer_status` | meaning | counted as correct? |
|
| 227 |
|---|---|---|
|
| 228 |
-
| `verified` | the engine confirmed the
|
| 229 |
-
| `corrected` | the
|
| 230 |
-
| `
|
| 231 |
-
| `
|
| 232 |
-
| `suspected` | the numbers differ, but the difference could come from a different reading of the expression | no |
|
| 233 |
| `disputed` | a third read of the page disagrees with the bulk transcription | no |
|
| 234 |
| `unverifiable` | the engine could not decide (unsupported notation, no closed form, ...) | no |
|
| 235 |
-
| `
|
| 236 |
-
| `no-gold` | the source prints no separate answer | skipped, never wrong |
|
| 237 |
|
| 238 |
-
Only `verified`
|
| 239 |
config, so **a score computed on the `verified` config is a score over answers
|
| 240 |
that a computer has confirmed**. Scores over `full` include the `unverifiable`
|
| 241 |
rows and must be reported as such.
|
|
@@ -247,30 +196,38 @@ not a description of the method.
|
|
| 247 |
|
| 248 |
| leg | what it covered | outcome |
|
| 249 |
|---|---|---|
|
| 250 |
-
| 1 - SymPy |
|
| 251 |
-
| 2 - independent parsers |
|
| 252 |
-
| 3 - math.js web calculator |
|
| 253 |
-
| 4 - third page read | every one of the
|
| 254 |
|
| 255 |
The cross-check was not a formality - it changed the dataset:
|
| 256 |
|
| 257 |
-
* **seven
|
| 258 |
refutations were withdrawn (a fractional part read as a set, a Russian mixed
|
| 259 |
number read as a product, a log argument read as a factor) and four
|
| 260 |
-
recomputed "repairs" were reverted to the
|
| 261 |
-
fixed. The
|
| 262 |
-
* **
|
| 263 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 264 |
one template had the strictness of an inequality swapped. The generator now
|
| 265 |
-
re-parses its own
|
| 266 |
answer disagree can no longer be published.
|
| 267 |
-
* **
|
| 268 |
-
counterexample from the engine *and* a third, independent read of the
|
| 269 |
-
that agrees with our transcription of the
|
| 270 |
as `refuted`, not silently replaced.
|
| 271 |
|
| 272 |
---
|
| 273 |
|
|
|
|
| 274 |
## 3. Answer-format convention
|
| 275 |
|
| 276 |
Everything mathematical is LaTeX:
|
|
@@ -327,7 +284,7 @@ response, then compare it with the gold.
|
|
| 327 |
|
| 328 |
### 3.1 Answer extraction
|
| 329 |
|
| 330 |
-
The response is
|
| 331 |
produces something wins.
|
| 332 |
|
| 333 |
| # | Rule | Example response | Extracted |
|
|
@@ -582,11 +539,11 @@ numeric tier; `1.007` contains no mathematics and is counted as unparsed.
|
|
| 582 |
**Quote the main accuracy (all tiers) as the headline metric, and the strict
|
| 583 |
accuracy next to it.** The main accuracy is what a user cares about: the model
|
| 584 |
produced the right mathematics. Strict accuracy is the diagnostic that says how
|
| 585 |
-
much of that depends on the model reproducing the
|
| 586 |
model with 60 % main accuracy and 20 % strict accuracy is answering in a
|
| 587 |
different notation, not failing.
|
| 588 |
|
| 589 |
-
Always state, in the same sentence: the **
|
| 590 |
the **split** (train / test / full), the **tier policy** (default
|
| 591 |
`exact,numeric,symbolic`), and the **number of unparsed and missing
|
| 592 |
predictions**.
|
|
@@ -630,34 +587,32 @@ problem is:
|
|
| 630 |
| Value | Meaning |
|
| 631 |
|---|---|
|
| 632 |
| `verified` | the engine substituted the answer back into the statement and it held |
|
| 633 |
-
| `corrected` | the
|
| 634 |
-
| `refuted` | the engine produced a **concrete counterexample** - the
|
| 635 |
-
| `suspected` | the recomputed answer differs from the
|
| 636 |
-
| `disputed` | a third independent read of the
|
| 637 |
| `unverifiable` | the item could **not** be checked automatically (free-form answers, answers that depend on a diagram, prose answers, ...) |
|
| 638 |
-
| `no-gold` | the source
|
| 639 |
-
| `synthetic-verified` | a generated item whose answer was computed and re-checked by SymPy |
|
| 640 |
|
| 641 |
**`unverifiable`, `suspected` and `no-gold` do not mean the answer is wrong.**
|
| 642 |
`unverifiable` means nobody checked it; `suspected` means the check was inconclusive;
|
| 643 |
-
`no-gold` means there was no
|
| 644 |
-
|
| 645 |
`verified` config. The `verified` config is the honest scored split: every item in
|
| 646 |
it has been checked by a symbolic engine.
|
| 647 |
|
| 648 |
-
### The
|
| 649 |
|
| 650 |
-
A number of items have an answer that is **incorrect in the
|
| 651 |
-
|
| 652 |
-
the
|
| 653 |
-
|
| 654 |
-
|
| 655 |
-
is what the `verified` config is for.
|
| 656 |
|
| 657 |
-
Rows flagged `suspected` are deliberately *not* presented as
|
| 658 |
-
engine's recomputation differs
|
| 659 |
the difference is as likely to come from how the radical scope or a notational
|
| 660 |
-
convention was read
|
| 661 |
from the scored split, because an item whose gold answer nobody can vouch for
|
| 662 |
does not belong in a score.
|
| 663 |
|
|
@@ -674,7 +629,7 @@ does not belong in a score.
|
|
| 674 |
expressions, so two answers that are written differently but select the same
|
| 675 |
values are accepted. That is intentional, but it means the symbolic tier is
|
| 676 |
slightly more generous than a pure expression comparison.
|
| 677 |
-
* The dataset is
|
| 678 |
from the print. This is a data-quality issue, not a scoring issue, and it is
|
| 679 |
the main reason a handful of items are hard to match.
|
| 680 |
|
|
@@ -687,7 +642,7 @@ Copy, fill in, and keep it with the raw report JSON.
|
|
| 687 |
```
|
| 688 |
Model: <model name and version>
|
| 689 |
Decoding: <temperature, max tokens, prompt/chat template>
|
| 690 |
-
Dataset: dgn-math-benchmark, <config: full | verified | core |
|
| 691 |
Split: <test | train | full> (<N> rows scored, <M> skipped: no gold answer)
|
| 692 |
Tier policy: exact,numeric,symbolic (default)
|
| 693 |
Extraction: last \boxed{} > last $...$ > bare LaTeX > answer marker > last number
|
|
|
|
| 7 |
|
| 8 |
---
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
## 1. What the dataset is
|
| 11 |
|
| 12 |
`ORCHORDS/dgn-math-problems` is an **English-language mathematics benchmark**
|
|
|
|
| 14 |
engine (SymPy), and the dataset says, row by row, how much trust each answer has
|
| 15 |
earned.
|
| 16 |
|
| 17 |
+
### Collections
|
| 18 |
|
| 19 |
+
| `collection` | Subject | What it is |
|
| 20 |
|---|---|---|
|
| 21 |
+
| `core` | Entrance mathematics, part 1: algebra | The main collection: 11 chapters, ~3,600 problems with worked solutions. |
|
| 22 |
+
| `algebra` | Entrance examination algebra | University entrance algebra: polynomials, equations, inequalities, logarithms. |
|
| 23 |
+
| `syllabus` | Entrance mathematics: the full syllabus | The whole pre-university syllabus: equations, trigonometry, derivatives, integrals, geometry. |
|
| 24 |
+
| `parameters` | Problems with parameters | Problems depending on a parameter, induction and stereometry. |
|
| 25 |
+
| `trigonometry` | Trigonometry | Trigonometry from first principles: functions, identities, equations, graphs. |
|
| 26 |
+
| `planimetry` | Plane geometry | Plane geometry: similar triangles, circles, areas and metric relations. |
|
| 27 |
+
| `circles` | Geometry with circles | Geometry built around circles: radical axes, power of a point, extremal properties. |
|
| 28 |
+
| `exercises` | Machine-made exercises | Items whose answers are computed and re-checked by SymPy. |
|
| 29 |
+
|
| 30 |
+
The collections are separated **only by the `collection` column**; they share one
|
| 31 |
+
schema, one `source` (`dgn_math`) and one id namespace (`"dgn.core.1.001"` for the
|
| 32 |
+
main collection, `"dgn.algebra.320"` for the extended collections,
|
| 33 |
+
`"dgn.exercises.0001"` for the machine-made rows). Every scoring command
|
| 34 |
+
therefore filters on `collection` if you want a single subset.
|
| 35 |
|
| 36 |
### Configs
|
| 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
|
| 48 |
+
collection and chapter, with a fixed seed (42)**; a row keeps the same split in
|
| 49 |
every config. The harness does not care about the split - it scores whatever file
|
| 50 |
you point it at - but you must say in your report which split you scored, because
|
| 51 |
a test score and a train score are not comparable.
|
|
|
|
| 54 |
|
| 55 |
| Field | Type | Meaning |
|
| 56 |
|---|---|---|
|
| 57 |
+
| `id` | string | stable identifier, e.g. `dgn.core.1.122` |
|
| 58 |
+
| `problem_id` | string | the problem number as given in the source |
|
| 59 |
+
| `collection` | string | which collection the problem comes from (`core`, `algebra`, ...) |
|
| 60 |
+
| `source` | string | the benchmark the problem belongs to (`dgn_math`) |
|
| 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`) |
|
| 69 |
| `final_answer_boxed` | string | `\boxed{...}` form of `final_answer` - **the canonical gold field** |
|
| 70 |
+
| `answer_status` | string | `verified` / `corrected` / `refuted` / `suspected` / `disputed` / `unverifiable` / `no-gold` |
|
| 71 |
| `verification_note` | string | free text; what the engine checked and what it found |
|
| 72 |
+
| `page` | int | page in the source |
|
| 73 |
|
| 74 |
### Size of the current snapshot
|
| 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
|
|
|
|
| 90 |
|
| 91 |
## 2. How every answer was checked
|
| 92 |
|
| 93 |
+
The dataset is not a raw dump: **every answer was put through a real
|
| 94 |
+
computational engine, and the ones the engine could not confirm are labelled
|
| 95 |
+
rather than quietly dropped.** The check has four independent legs.
|
| 96 |
|
| 97 |
### Leg 1 - symbolic engine (SymPy)
|
| 98 |
|
| 99 |
+
A LaTeX-to-SymPy parser turns each statement and each source answer into an
|
| 100 |
expression tree, and the engine then does the actual mathematics:
|
| 101 |
|
| 102 |
* *equations and systems* - the claimed solution is substituted back into the
|
|
|
|
| 109 |
|
| 110 |
The parser used for this leg is written for this dataset, because the two
|
| 111 |
general-purpose LaTeX parsers available for Python both misread the notation
|
| 112 |
+
these sources use:
|
| 113 |
|
| 114 |
+
| notation in the sources | general parsers | correct reading |
|
| 115 |
|---|---|---|
|
| 116 |
| `A : B` (Russian division) | `A / (B * C)` - the following product is swallowed | `(A / B) * C`, left to right |
|
| 117 |
| `X \left(...\right)^{-1}` | the exponent is **silently dropped** | reciprocal of the group |
|
|
|
|
| 120 |
| `{}^4\sqrt{x}` (4th root) | read as a power times a root | 4th root |
|
| 121 |
| `\tanx` (no space) | mis-lexed as one control word | `tan(x)` |
|
| 122 |
|
| 123 |
+
One concrete consequence: the row `dgn.core.1.019` evaluates to **8** under
|
| 124 |
+
the off-the-shelf parsers and to **1/4** - the value the source gives - under the
|
| 125 |
+
notation the source actually uses. A checker built on the wrong reading would have
|
| 126 |
+
reported a correct source answer as wrong.
|
| 127 |
|
| 128 |
### Leg 2 - independent parsers as a cross-check
|
| 129 |
|
|
|
|
| 135 |
|
| 136 |
### Leg 3 - an online calculator (math.js)
|
| 137 |
|
| 138 |
+
The rows that carry an answer are re-checked by the **public web calculator at
|
| 139 |
`api.mathjs.org`**, a JavaScript computer-algebra engine that shares no code
|
| 140 |
with SymPy and evaluates with 64-digit exact decimal arithmetic. The expression
|
| 141 |
tree is serialised into math.js syntax and the engine does all the arithmetic.
|
| 142 |
This leg confirms the answers on a completely different implementation, on a
|
| 143 |
different language, on a different machine.
|
| 144 |
|
| 145 |
+
The leg follows the same rules as leg 1, so that the two engines are compared
|
| 146 |
+
on the same question: an indicated substitution (`x = a^{2/3}b^{-1/2}`) is
|
| 147 |
+
carried out before the comparison, and a sample point that lies outside the
|
| 148 |
+
real domain of the expression - a negative radicand, a point that breaks the
|
| 149 |
+
declared condition `a>b>0` - is never used, because on such a point the two
|
| 150 |
+
engines can take different branches and the comparison would mean nothing.
|
| 151 |
+
|
| 152 |
+
Answers that the sources give rounded (a common habit - `0.98` for
|
| 153 |
+
`0.979999...`) are compared with the rounding tolerance that the source
|
| 154 |
precision allows, so a rounded answer is not mistaken for a wrong one.
|
| 155 |
|
| 156 |
### Leg 4 - a third read of the page
|
|
|
|
| 158 |
The engine can only refute an answer that is attached to the statement that was
|
| 159 |
transcribed. If the statement itself was misread, the refutation is worthless.
|
| 160 |
So **every flagged answer gets a third, independent read of the page image**
|
| 161 |
+
(a separate vision pass over the source page, with no access to the first
|
| 162 |
+
transcription), and the page that carries the source answer is read as well.
|
| 163 |
|
| 164 |
* if the third read agrees with the transcription and the engine still refutes
|
| 165 |
+
the source answer, the source really gives a wrong answer (`refuted`);
|
| 166 |
* if the third read disagrees, the corrected row is re-checked by the engine and
|
| 167 |
the row becomes `disputed` or is corrected when the correction verifies;
|
| 168 |
* if the engine cannot decide, the row stays `unverifiable` - never `refuted`.
|
| 169 |
|
| 170 |
+
A row whose engine verdict changed but whose page has **not** been read again
|
| 171 |
+
is published as `suspected`, never as `refuted`: until the page is looked at,
|
| 172 |
+
it is not settled whether the source or the transcription is at fault, and the
|
| 173 |
+
dataset does not claim that the source is wrong when it does not know.
|
| 174 |
+
|
| 175 |
### What the status column means
|
| 176 |
|
| 177 |
| `answer_status` | meaning | counted as correct? |
|
| 178 |
|---|---|---|
|
| 179 |
+
| `verified` | the engine confirmed the source answer | **yes** |
|
| 180 |
+
| `corrected` | the source answer was refuted and replaced by an engine-verified recomputation | **yes** |
|
| 181 |
+
| `refuted` | the source answer is wrong, with a concrete counterexample and a third page read | no |
|
| 182 |
+
| `suspected` | the engine found a difference, but it is not settled whether the source or the transcription is at fault | no |
|
|
|
|
| 183 |
| `disputed` | a third read of the page disagrees with the bulk transcription | no |
|
| 184 |
| `unverifiable` | the engine could not decide (unsupported notation, no closed form, ...) | no |
|
| 185 |
+
| `no-gold` | the source gives no separate answer | skipped, never wrong |
|
|
|
|
| 186 |
|
| 187 |
+
Only `verified` and `corrected` are in the `verified`
|
| 188 |
config, so **a score computed on the `verified` config is a score over answers
|
| 189 |
that a computer has confirmed**. Scores over `full` include the `unverifiable`
|
| 190 |
rows and must be reported as such.
|
|
|
|
| 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:
|
| 205 |
|
| 206 |
+
* **seven source answers that we had called wrong turned out to be right.** Three
|
| 207 |
refutations were withdrawn (a fractional part read as a set, a Russian mixed
|
| 208 |
number read as a product, a log argument read as a factor) and four
|
| 209 |
+
recomputed "repairs" were reverted to the source answer once the parser was
|
| 210 |
+
fixed. The source was right in all seven cases.
|
| 211 |
+
* **a defect in the checker itself was found and fixed.** One comparison returned
|
| 212 |
+
a symbolic truth value instead of a plain boolean, and the caller tested it by
|
| 213 |
+
identity, so a failed back-substitution was silently swallowed: rows could be
|
| 214 |
+
published as confirmed without a check ever having succeeded. The defect was
|
| 215 |
+
found by reading the engine's output, a regression test was added, and **every
|
| 216 |
+
row was re-checked from scratch**. 46 rows changed their
|
| 217 |
+
verdict because of it.
|
| 218 |
+
* **two bugs in the machine-made exercises were found and fixed.** One template
|
| 219 |
+
solved `(x - 9)/3 = 1` while computing the answer for `(x + 9)/3 = 1`, and
|
| 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.
|
| 227 |
|
| 228 |
---
|
| 229 |
|
| 230 |
+
|
| 231 |
## 3. Answer-format convention
|
| 232 |
|
| 233 |
Everything mathematical is LaTeX:
|
|
|
|
| 284 |
|
| 285 |
### 3.1 Answer extraction
|
| 286 |
|
| 287 |
+
The response is searched for an answer in this order; the first rule that
|
| 288 |
produces something wins.
|
| 289 |
|
| 290 |
| # | Rule | Example response | Extracted |
|
|
|
|
| 539 |
**Quote the main accuracy (all tiers) as the headline metric, and the strict
|
| 540 |
accuracy next to it.** The main accuracy is what a user cares about: the model
|
| 541 |
produced the right mathematics. Strict accuracy is the diagnostic that says how
|
| 542 |
+
much of that depends on the model reproducing the source's exact formatting; a
|
| 543 |
model with 60 % main accuracy and 20 % strict accuracy is answering in a
|
| 544 |
different notation, not failing.
|
| 545 |
|
| 546 |
+
Always state, in the same sentence: the **config** (full / verified / core / extended / exercises),
|
| 547 |
the **split** (train / test / full), the **tier policy** (default
|
| 548 |
`exact,numeric,symbolic`), and the **number of unparsed and missing
|
| 549 |
predictions**.
|
|
|
|
| 587 |
| Value | Meaning |
|
| 588 |
|---|---|
|
| 589 |
| `verified` | the engine substituted the answer back into the statement and it held |
|
| 590 |
+
| `corrected` | the original answer was refuted and replaced by a recomputed answer that the engine then re-verified |
|
| 591 |
+
| `refuted` | the engine produced a **concrete counterexample** - the root fails the equation, the tuple satisfies no equation of the system, or the interval misses a point that satisfies the inequality; `verification_note` names it |
|
| 592 |
+
| `suspected` | the recomputed answer differs from the original one, but no counterexample was found. A difference in a radical's scope or in a notational convention looks the same, so these are **not** counted as errors in the source |
|
| 593 |
+
| `disputed` | a third independent read of the source disagreed with the bulk transcription, so the row is not trusted |
|
| 594 |
| `unverifiable` | the item could **not** be checked automatically (free-form answers, answers that depend on a diagram, prose answers, ...) |
|
| 595 |
+
| `no-gold` | the source carries no answer for this problem |
|
|
|
|
| 596 |
|
| 597 |
**`unverifiable`, `suspected` and `no-gold` do not mean the answer is wrong.**
|
| 598 |
`unverifiable` means nobody checked it; `suspected` means the check was inconclusive;
|
| 599 |
+
`no-gold` means there was no answer to check. **`refuted` and `disputed` do mean the
|
| 600 |
+
answer cannot be trusted** - which is why they are excluded from the
|
| 601 |
`verified` config. The `verified` config is the honest scored split: every item in
|
| 602 |
it has been checked by a symbolic engine.
|
| 603 |
|
| 604 |
+
### The source contains a small number of wrong answers
|
| 605 |
|
| 606 |
+
A number of items have an answer that is **incorrect in the source**. These are
|
| 607 |
+
flagged as `refuted`, with the counterexample in `verification_note`. They are a
|
| 608 |
+
floor on the achievable score: no model can be scored correct on them. When
|
| 609 |
+
reporting, either exclude those rows and say so, or report accuracy on the
|
| 610 |
+
`verified` subset as well - which is what the `verified` config is for.
|
|
|
|
| 611 |
|
| 612 |
+
Rows flagged `suspected` are deliberately *not* presented as errors in the source.
|
| 613 |
+
The engine's recomputation differs there, but without a counterexample
|
| 614 |
the difference is as likely to come from how the radical scope or a notational
|
| 615 |
+
convention was read as from a wrong answer. They are still excluded
|
| 616 |
from the scored split, because an item whose gold answer nobody can vouch for
|
| 617 |
does not belong in a score.
|
| 618 |
|
|
|
|
| 629 |
expressions, so two answers that are written differently but select the same
|
| 630 |
values are accepted. That is intentional, but it means the symbolic tier is
|
| 631 |
slightly more generous than a pure expression comparison.
|
| 632 |
+
* The dataset is transcribed from page images, so an isolated symbol may differ
|
| 633 |
from the print. This is a data-quality issue, not a scoring issue, and it is
|
| 634 |
the main reason a handful of items are hard to match.
|
| 635 |
|
|
|
|
| 642 |
```
|
| 643 |
Model: <model name and version>
|
| 644 |
Decoding: <temperature, max tokens, prompt/chat template>
|
| 645 |
+
Dataset: dgn-math-benchmark, <config: full | verified | core | extended | exercises>
|
| 646 |
Split: <test | train | full> (<N> rows scored, <M> skipped: no gold answer)
|
| 647 |
Tier policy: exact,numeric,symbolic (default)
|
| 648 |
Extraction: last \boxed{} > last $...$ > bare LaTeX > answer marker > last number
|
README.md
CHANGED
|
@@ -22,7 +22,6 @@ tags:
|
|
| 22 |
- worked-solutions
|
| 23 |
- english
|
| 24 |
- english-translation
|
| 25 |
-
- textbook-derived
|
| 26 |
- mixed
|
| 27 |
task_categories:
|
| 28 |
- text-generation
|
|
@@ -61,32 +60,31 @@ configs:
|
|
| 61 |
path: data/core/train-*.parquet
|
| 62 |
- split: test
|
| 63 |
path: data/core/test-*.parquet
|
| 64 |
-
- config_name:
|
| 65 |
data_files:
|
| 66 |
- split: train
|
| 67 |
-
path: data/
|
| 68 |
- split: test
|
| 69 |
-
path: data/
|
| 70 |
-
- config_name:
|
| 71 |
data_files:
|
| 72 |
- split: train
|
| 73 |
-
path: data/
|
| 74 |
- split: test
|
| 75 |
-
path: data/
|
| 76 |
---
|
| 77 |
|
| 78 |
# DGN Math Benchmark
|
| 79 |
|
| 80 |
-
**12,
|
| 81 |
-
|
| 82 |
-
8,417 from additional problem books, 520 are generated and machine-checked.
|
| 83 |
|
| 84 |
-
> Every
|
| 85 |
> Where the engine produced a concrete counterexample, the answer was either replaced by a
|
| 86 |
> recomputed value that the engine then re-verified (`corrected`), or the row was kept with
|
| 87 |
-
> the
|
| 88 |
-
> flagged `suspected` and is **not** counted as
|
| 89 |
-
> and every row says in `answer_status` exactly how much its answer was checked.
|
| 90 |
|
| 91 |
## What this is
|
| 92 |
|
|
@@ -99,64 +97,63 @@ solution, and the final answer is stored in the standard MATH convention
|
|
| 99 |
|
| 100 |
| config | rows | what it is |
|
| 101 |
|---|---|---|
|
| 102 |
-
| `full` | 12,
|
| 103 |
-
| `qa` | 12,
|
| 104 |
-
| `verified` | 2,
|
| 105 |
-
| `core` | 3,617 | the
|
| 106 |
-
| `
|
| 107 |
-
| `
|
| 108 |
|
| 109 |
Each config has a deterministic 85/15 train/test split (seed 42), stratified by
|
| 110 |
-
|
| 111 |
|
| 112 |
## Columns (`full`)
|
| 113 |
|
| 114 |
| column | type | meaning |
|
| 115 |
|---|---|---|
|
| 116 |
-
| `id` | string | stable identifier, e.g. `
|
| 117 |
-
| `problem_id` | string | the
|
| 118 |
-
| `
|
| 119 |
-
| `
|
|
|
|
| 120 |
| `chapter` | int | chapter / topic number |
|
| 121 |
| `chapter_title` | string | chapter / topic name |
|
| 122 |
-
| `group` | string | difficulty group
|
| 123 |
-
| `difficulty` | string | the difficulty glyph
|
| 124 |
| `problem` | string | the statement, LaTeX, inline `$...$` and display `$$...$$` |
|
| 125 |
| `solution` | string | the worked solution, ending in the boxed answer |
|
| 126 |
| `final_answer` | string | the gold answer as bare LaTeX (no `$`, no `\boxed`) |
|
| 127 |
| `final_answer_boxed` | string | the same answer as `\boxed{...}` |
|
| 128 |
-
| `answer_status` | string | `verified` / `corrected` / `refuted` / `suspected` / `disputed` / `unverifiable` / `no-gold`
|
| 129 |
| `verification_note` | string | what the engine checked and what it found |
|
| 130 |
-
| `page` | int | the
|
| 131 |
|
| 132 |
### Answer status
|
| 133 |
|
| 134 |
| status | count | meaning |
|
| 135 |
|---|---|---|
|
| 136 |
-
| `verified` |
|
| 137 |
-
| `corrected` |
|
| 138 |
-
| `refuted` |
|
| 139 |
-
| `suspected` |
|
| 140 |
-
| `disputed` |
|
| 141 |
-
| `unverifiable` |
|
| 142 |
-
| `no-gold` | 5,
|
| 143 |
-
| `synthetic-verified` | 191 | generated template; the printed statement was parsed, solved and compared with the printed answer |
|
| 144 |
-
| `synthetic-unverified` | 329 | generated template; the answer is a derived quantity no engine could re-check - not scored |
|
| 145 |
|
| 146 |
`verified` means the engine substituted the answer back into the problem and it held.
|
| 147 |
-
`corrected` means the
|
| 148 |
that the engine then re-verified. `refuted` means the engine produced a **concrete
|
| 149 |
-
counterexample** - the
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
these are **not** counted as
|
| 154 |
-
the
|
| 155 |
-
|
| 156 |
-
open-ended proofs, and answers that are
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
Only `verified`
|
| 160 |
|
| 161 |
## Answer format
|
| 162 |
|
|
@@ -197,27 +194,24 @@ python evaluate_benchmark.py \
|
|
| 197 |
|
| 198 |
## How the data was produced
|
| 199 |
|
| 200 |
-
1. **
|
| 201 |
-
|
| 202 |
-
additional books were transcribed from their page images with the same pipeline.
|
| 203 |
2. **Verification.** Every answer was checked with SymPy: back-substitution into
|
| 204 |
equations and systems, exact endpoint evaluation for inequalities, symbolic
|
| 205 |
evaluation for limits and integrals, numeric identity testing for proofs.
|
| 206 |
3. **Adjudication.** Every flagged answer was re-read a third time, directly from
|
| 207 |
-
the
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
answer with SymPy and then re-check it; an item that fails the re-check is
|
| 211 |
dropped.
|
| 212 |
|
| 213 |
-
##
|
| 214 |
|
| 215 |
-
The
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
and publishers
|
| 219 |
-
|
| 220 |
-
original authorship of the problem statements. `license` is therefore `other`.
|
| 221 |
|
| 222 |
The `answer_status` and `verification_note` columns exist so that any user of this
|
| 223 |
benchmark can see exactly how much trust each item's answer has earned.
|
|
|
|
| 22 |
- worked-solutions
|
| 23 |
- english
|
| 24 |
- english-translation
|
|
|
|
| 25 |
- mixed
|
| 26 |
task_categories:
|
| 27 |
- text-generation
|
|
|
|
| 60 |
path: data/core/train-*.parquet
|
| 61 |
- split: test
|
| 62 |
path: data/core/test-*.parquet
|
| 63 |
+
- config_name: extended
|
| 64 |
data_files:
|
| 65 |
- split: train
|
| 66 |
+
path: data/extended/train-*.parquet
|
| 67 |
- split: test
|
| 68 |
+
path: data/extended/test-*.parquet
|
| 69 |
+
- config_name: exercises
|
| 70 |
data_files:
|
| 71 |
- split: train
|
| 72 |
+
path: data/exercises/train-*.parquet
|
| 73 |
- split: test
|
| 74 |
+
path: data/exercises/test-*.parquet
|
| 75 |
---
|
| 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).
|
| 83 |
> Where the engine produced a concrete counterexample, the answer was either replaced by a
|
| 84 |
> recomputed value that the engine then re-verified (`corrected`), or the row was kept with
|
| 85 |
+
> the original answer and flagged (`refuted`). Where the check was inconclusive the row is
|
| 86 |
+
> flagged `suspected` and is **not** counted as an error in the source. Nothing was silently
|
| 87 |
+
> corrected, and every row says in `answer_status` exactly how much its answer was checked.
|
| 88 |
|
| 89 |
## What this is
|
| 90 |
|
|
|
|
| 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 |
|
| 112 |
| column | type | meaning |
|
| 113 |
|---|---|---|
|
| 114 |
+
| `id` | string | stable identifier, e.g. `dgn.core.1.122` |
|
| 115 |
+
| `problem_id` | string | the number of the problem in its collection |
|
| 116 |
+
| `collection` | string | which collection the problem comes from (`core`, `algebra`, `syllabus`, ...) |
|
| 117 |
+
| `source` | string | the benchmark this problem belongs to (`dgn_math`) |
|
| 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` |
|
| 128 |
| `verification_note` | string | what the engine checked and what it found |
|
| 129 |
+
| `page` | int | the page of the source material the problem comes from |
|
| 130 |
|
| 131 |
### Answer status
|
| 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
|
| 145 |
that the engine then re-verified. `refuted` means the engine produced a **concrete
|
| 146 |
+
counterexample** - the root fails the equation, the tuple satisfies no equation of the
|
| 147 |
+
system, or the interval misses a point that satisfies the inequality. `suspected` means
|
| 148 |
+
the engine found a difference but it is not settled whether the source or the
|
| 149 |
+
transcription is at fault - a difference in a radical's scope can look the same, and a
|
| 150 |
+
page that has not been read again cannot decide it; these are **not** counted as errors
|
| 151 |
+
in the source. `disputed` means a third independent read of the source disagreed with the
|
| 152 |
+
bulk transcription. `unverifiable` means an answer exists but is outside the reach of
|
| 153 |
+
automatic checking - word problems, open-ended proofs, and answers that are neither a
|
| 154 |
+
number nor a set. `no-gold` means the source carries no answer for that problem.
|
| 155 |
+
|
| 156 |
+
Only `verified` and `corrected` rows are scored.
|
| 157 |
|
| 158 |
## Answer format
|
| 159 |
|
|
|
|
| 194 |
|
| 195 |
## How the data was produced
|
| 196 |
|
| 197 |
+
1. **Collection.** The problems were collected, translated into English and written
|
| 198 |
+
out as structured JSON with LaTeX, twice, with the two passes arbitrated by SymPy.
|
|
|
|
| 199 |
2. **Verification.** Every answer was checked with SymPy: back-substitution into
|
| 200 |
equations and systems, exact endpoint evaluation for inequalities, symbolic
|
| 201 |
evaluation for limits and integrals, numeric identity testing for proofs.
|
| 202 |
3. **Adjudication.** Every flagged answer was re-read a third time, directly from
|
| 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 |
|
| 210 |
+
The English statements, the structured extraction, the answer verification and this
|
| 211 |
+
curation are ours. The statements themselves are third-party Russian-language
|
| 212 |
+
university entrance mathematics material published on postypashki.ru; rights in those
|
| 213 |
+
texts remain with their authors and publishers, so `license` is `other` and this
|
| 214 |
+
release is for research and evaluation use.
|
|
|
|
| 215 |
|
| 216 |
The `answer_status` and `verification_note` columns exist so that any user of this
|
| 217 |
benchmark can see exactly how much trust each item's answer has earned.
|
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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cd38f49420e59df605d7f5456564f8090921b8d092330981b16feba7731d9788
|
| 3 |
+
size 117121
|
data/core/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b2b7ef040f87d5f5a0b85dadff7957d85baa543b358a1217746b22d48ca81e49
|
| 3 |
+
size 585854
|
data/exercises/test-00000-of-00001.parquet
ADDED
|
Binary file (18.6 kB). View file
|
|
|
data/exercises/train-00000-of-00001.parquet
ADDED
|
Binary file (56.5 kB). View file
|
|
|
data/extended/test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:123f79e9af2a51a66a674aebd0d8bf7e26a117072a01f7c6ae96967d171c6487
|
| 3 |
+
size 252052
|
data/extended/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b03005de364a6a8c10d03f57f45c83ee6bb9347394676d1aaca436984a776414
|
| 3 |
+
size 1288541
|
data/full/test-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:628c7d0cf0d898947ae9e7642341720d5d14e59ca7055dc0aebdb4d3255f8c7e
|
| 3 |
+
size 376415
|
data/full/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8669af1a5e742140a4dda16e6ed890a30522bb7cb2e81c881d841db17544a605
|
| 3 |
+
size 1916680
|
data/qa/test-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c4389b46e6f0c7813997affec3037738ddc0dd08605ca14d8681839af9e4676
|
| 3 |
+
size 250471
|
data/qa/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e04c13ffe63070faefd4822cf3294ea8bf3d9854cfe52fdc26bb183315055a1d
|
| 3 |
+
size 1293487
|
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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3625d77e67d85abbc04d0bf568b85c5287d391de7e3eef27b12dabbd69b63dfc
|
| 3 |
+
size 271893
|