Datasets:
Modalities:
Text
Formats:
json
Size:
< 1K
Tags:
multilingual
geometry
theorem-proving
natural-language-to-formal-language
multi-agent-systems
benchmark
File size: 28,494 Bytes
bbfee07 | 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 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 | ---
language:
- it
- en
- es
- zh
- hi
- ar
tags:
- multilingual
- geometry
- theorem-proving
- natural-language-to-formal-language
- multi-agent-systems
- benchmark
- conversational-interfaces
- formal-verification
- semantic-parsing
pretty_name: "LingoLOGOS geometry-stratum: a question in six written varieties, the answer of the geometry layer, and an assurance that includes the reading"
configs:
- config_name: corpus
data_files:
- split: train
path: problems/corpus.jsonl
size_categories:
- n<1K
---
# LingoLOGOS geometry-stratum topology
A conversational layer over the `geometry` topology: a person draws a figure in words and asks about it
in one of six written varieties, and gets the verdict of the geometry layer back in that same language,
at an assurance that includes the fallibility of the reading. The layer never decides a figure and never
raises a verdict; the only direction it can move the assurance of the geometry layer is down.
```
python tools/ask.py --lang zh "设 A 的坐标为 (0, 0)。设 B 的坐标为 (2, 0)。设 C 的坐标为 (1, 0)。证明 A, B 和 C 共线。"
Reading state : AGREED
Assurance shown : 2 (reading ceiling 2, geometry assurance 3)
Geometry layer status : VERIFIED
Orchestrator Z3 check : 8 of 8 envelopes confirmed
Answer in the language of the question (中文):
状态: 一致:两位独立读者加上 SMT 约束
这种变体理解的问题 (problem): Point A = (0, 0). Point B = (2, 0). Point C = (1, 0). Prove that A, B and C are collinear.
答案: the claim holds: A, B and C are collinear
三级中的第 2 级
几何层: VERIFIED
几何层的 SMT 检查:8 个信封中有 8 个得到确认
```
The answer line is the geometry layer's own sentence, carried unchanged: restating it would break the
echo the boundary node checks. A person who asked in Chinese reads the labels in Chinese and the verdict
in the language the formal layer writes.
This dataset is the `geometry-stratum/` folder of the LingoLOGOS project published as it stands: 68 files,
code and data together, plus this card in place of their README. Only the standard library and
`z3-solver` are required, and `pytest` for the tests; both are named in `requirements.txt`. Every
command below is written from inside the folder. The geometry layer is not part of this dataset: it
lives in the `geometry` bundle, published at
https://huggingface.co/datasets/tailot/lingologos-geometry, and section 10 says how to point this
folder at a copy of it.
## 1. What the stratum is, and what it refuses
The certainty of a translation cannot be verified the way the certainty of a proof can: there is no SMT
check that says that a sentence of Hindi was read correctly. That is the definition this bundle works
with, and it is why the topology is built the way it is: two readers that reach their sentence by
different roads, an SMT claim about what each reading kept, a referee that rechecks every envelope, and a
decision that is re-derived from the transcript instead of being trusted from the arbiter.
The rule the whole bundle exists to enforce:
```
assurance shown = min(assurance of the geometry layer, ceiling of the reading)
```
| Reading state | ceiling | when |
|---|---|---|
| `AGREED` | 2 | both readers produced the same figure, and the geometry layer is what decides it |
| `PASSTHROUGH` | 2 | the question was already a text of the geometry language: nothing was translated |
| `SINGLE` | 1 | one reader understood it and the other abstained: no witness, one level less |
| `DISPUTED` | 0 | the two readers produced different sentences, or a reading lost a number: the geometry layer is not even asked |
| `AMBIGUOUS` | 0 | a reader reports that the question announces more than one figure, or leaves a slot with several readings: the person has to choose |
| `NOT COVERED` | 0 | neither reader found anything: this variety does not say it in a covered way |
| `TAMPERED` | 0 | the geometry layer says it solved something other than the agreed sentence |
Three is never shown. Level three belongs to the geometry layer, whose parser, kernel and critics work on
a text they were built for; a sentence in a human language adds one fallible step before that, and this
layer is that step.
The ceiling is not the only thing that holds on its own. The count of literals is checked on a lone
reading too, and in a figure that weighs more than it does in an equation: the coordinates are the
problem, so a reading that no longer holds the numbers the person wrote is a different figure and not a
weaker reading of the same one, and it ends `DISPUTED` even when it is the only reader that understood
the question. A single witness therefore answers at level one only when it kept every number.
## 2. The eight nodes
The session runs through the orchestrator (`src/lingologos_orchestrator`) with the same envelope protocol
as the `geometry` topology: a marker `@@DOSSIER@@` inside `payload.naturalLanguage`, and
`payload.smtConstraints` carrying what each node claims about its own output, which the referee of every
node recomputes with Z3. The seed sits in the `arbiter`; `maxTurns` is the number of arcs.
| Node | What it does | The claim it carries |
|---|---|---|
| `reader_a` | reads the question against the frames written in the lexicon | the numerals of the question are still in my sentence |
| `reader_b` | reads it by following the joints of the geometry language (`through`, `with center ... and`, `of the triangle ... and`, `perpendicular to`, the postpositions) | the same, independently |
| `equivalence` | proves the two sentences the same: the numbers first, then the slots with SMT | `not (A = B)` is unsatisfiable |
| `coverage` | counts that every literal the person wrote survived into the sentence | conjunction of the element equalities |
| `invoker` | asks the geometry layer, in a separate process, the agreed figure | the sentence I sent equals the one that came back |
| `boundary` | checks the echo of the geometry layer instead of trusting it | elementwise on the echo, or the empty claim |
| `adversary` | re-derives the bound and writes its negation | `shown > ceiling` is unsatisfiable |
| `arbiter` | runs the decision and renders the answer in the language of the question | the same inequality |
The echo here is the geometry bundle's own record: the runner hands back the text that bundle parsed,
next to its verdict, and the boundary node compares that text with the sentence the readers agreed on,
atom by atom. A figure that comes back different is `TAMPERED`, however strong the verdict on it looks.
## 3. Two readers, one lexicon
`read_a.py` matches the shapes stored in `lexicon/<lang>.json` (`patterns`: one template per kind of
statement, with slots). `read_b.py` never looks at those shapes: it finds the verb that announces a
statement, then walks the joints of the geometry language and cuts the slots out of the gaps between them,
in whatever order the variety puts them. They share only the lexicon, the atomizer (`segment.py`) and the
templates of the geometry language (`canonical.py`).
How much of the 19 statement kinds each variety describes, and with how much material:
| Variety | Kinds | Patterns | Verb phrases | Connectives | Markers | Noise words |
|---|---|---|---|---|---|---|
| `en` | 19 | 33 | 14 | 3 | 43 | 53 |
| `it` | 18 | 42 | 23 | 4 | 46 | 72 |
| `es` | 19 | 27 | 16 | 3 | 43 | 64 |
| `zh` | 13 | 18 | 9 | 4 | 21 | 20 |
| `hi` | 11 | 18 | 11 | 3 | 23 | 33 |
| `ar` | 11 | 13 | 10 | 3 | 30 | 31 |
A question in this corpus is a whole figure: the points, the lines and the circle defined first, then the
claim about them, in one text -- and the geometry language requires the definitions before the claim that
uses them. `agents.py` therefore splits the question at the sentence markers (the full stop, `。`, the
danda), reads every part with the reader in question, and re-assembles the parts into one text of the
geometry language in the order the bundle expects. The compound reading carries `compound: true` and the
list of its parts, and it stands at the worst status of its parts. Its literals are re-read from the
question itself (`compare.sorted_numbers`) rather than trusted from the reading.
Every stored shape has to name the verb of its own kind, and `tests/test_lexicon.py` checks it for all
six varieties. That is a deliberate cost: it means a pattern can never open on a bare noun phrase, and so
the verbless nominal phrasing of a figure -- `the point A, coordinates (0, 0)` -- is not read and ends
`no_verb`. The Italian shapes carry no copula, because the atomizer folds the accented `è` of
`è perpendicolare` into a space; a person who writes that copula plain is read the same way, which is
why a missing accent costs nothing here while it costs a reading in the arithmetic stratum of the same
project.
That sharing of one lexicon is deliberate and it is also the known blind spot: a wrong description of a
variety is a wrong description for both readers, and the topology cannot see it. What shows it is the
corpus of section 5, whose questions were written and checked by a person. When the two readers disagree
the assurance goes down, never up: `DISPUTED` does not even consult the geometry layer.
## 4. Talking to the geometry layer
`invoker.py` is the only door, and it is a subprocess and a set of environment variables. It launches
`python tools/geometry_runner.py --json <figure>` -- a script of this folder -- and reads its JSON verdict
back; nothing in this folder imports the geometry bundle to decide anything here. That runner is the only
place in the bundle where `geometry` is loaded: it finds the bundle in the sibling folder
`datasets/geometry`, or in the copy named by `LGSTRATUM_GEOMETRY_ROOT`, starts the seven agent session of
that bundle, maps the session's verdict onto the small shape this layer copies, and re-runs the SMT claim
of every envelope that session wrote with the bundle's own solver, so that a verdict reported here is
checked against the same query the session believed it had discharged.
| Variable | Meaning |
|---|---|
| `LGSTRATUM_GEOMETRY_ROOT` | where the `geometry` bundle is (default: the sibling folder `datasets/geometry`) |
| `LGSTRATUM_GEOMETRY_BACKEND` | `subprocess` (default), or `none` to disable the geometry layer entirely |
| `LGSTRATUM_GEOMETRY_TIMEOUT` | seconds that session may take (default 180) |
| `LGSTRATUM_FAULTS` | comma separated `node:fault` pairs, experiments only |
The assurance the runner reports, read off the evidence the bundle itself recorded:
```
3 VERIFIED every obligation of the problem discharged, each by at least two engines of the
bundle that work differently -- the real closed field solver and the Groebner or
Wu-Ritts elimination -- over hypotheses the solver witnessed as realizable; for a
computed answer, the certificate of the kernel result came out as expected and its
non vacuity was witnessed
2 SINGLE_PROVER the bundle certified the problem but only one engine confirmed each obligation; a
refutation with a witnessed counterexample stands here too, because it is decisive
even though only the solver produced it
0 anything else the bundle refused the text, objected to the model, or stopped without discharging
the obligation; a zero is reported as it is, and this layer then shows no answer
```
A disabled geometry layer is not tampering: the reading stands, the assurance falls to zero because there
is no geometry assurance to take the minimum with, and no answer is shown.
## 5. The corpus
`problems/corpus.jsonl` holds 56 questions: 19 kinds of statement in 6 written varieties (English 20 rows,
Italian 12, Spanish, Chinese, Hindi and Arabic 6 each), 6 questions that must not be read -- an area, an
inscribed rectangle, a bisector: objects the geometry language of the bundle does not name -- and one
question already written in that language. Each line carries what the answer has to look like (`state`,
`sentence`, `answer_contains`, `min_assurance`, `max_assurance`, `no_answer`, `referee_clean`) and a `why`
that says why, including the cases where the expected outcome is an abstention.
Graded against the in-process pipeline: **56 of 56** rows agree with their gold (`lggeostratum/corpus.py`
grades one row, `tests/test_corpus.py` runs all of them). The states come out 46 `AGREED`, 3 `SINGLE`, 1
`PASSTHROUGH` and 6 `NOT COVERED`; `tools/coverage_report.py` writes `results/coverage.json` and counts
**46** questions read by both readers, **3** by `reader_a` alone and **6** by neither -- the
`PASSTHROUGH` row was never read at all, because there was nothing to translate. Eleven rows (`point-en`,
`line-en`, `circle-en`, `circle-it`, `assume-en`, `centroid-en`, `centroid-it`, `circumcentre-en`,
`intersect-en`, `image-en`, `mid-en-def`) are agreed readings on which the geometry layer abstains: a
figure of definitions with no claim in it, or a `find the image` with no transformation named. The
assurance is 0 and no answer appears, which is the layer refusing to add an availability it does not
have. Three rows (`mid-zh-single`, `mid-hi-single`, `findintersect-es`) stay at `SINGLE`, assurance 1, for
the reason in section 7.
## 6. Commands
```
python tools/ask.py --lang zh "设 A 的坐标为 (0, 0)。设 B 的坐标为 (2, 0)。设 C 的坐标为 (1, 0)。证明 A, B 和 C 共线。"
python tools/ask.py --lang it --json "Point A = (0, 0). Point B = (2, 0). Point C = (1, 0). Prove that A, B and C are collinear."
python tools/ask.py --lang ar --corpus problems/corpus.jsonl --limit 6
python tools/coverage_report.py --out results/coverage.json # which frames each variety carries
python tools/ablation.py --probe 6 --out results/ablation.json
```
The first line is one session through the orchestrator, eight processes; the second is the same shape
with a question that needs no translation, and ends `PASSTHROUGH`.
`tools/ask.py` prints the verdict it re-derives from the transcript, not the one the arbiter wrote, and
exits with code 3 when that re-derivation disagrees with a node about its own envelope, with code 2 when
the assurance is zero, and with code 1 in corpus mode when a gold expectation fails.
`tools/ablation.py` walks the configurations of the topology one node at a time, injects every fault of
the catalogue singly and in pairs, and reports each cell as
`raised | lowered | masked | caught | abstained | silent_error`: a cell counted `raised` is a violation of
the rule of section 1, and the tool exits 1 if any happened. A `caught` cell is one where an answer was
shown that the gold does not accept, but the session said so itself -- a claim fell to the referee of its
node, or the assurance sits below the honest one because the configuration lost a node.
On this checkout `--probe 6` (one question per variety) fills **147 cells** and **882 sessions**, the fault
takes hold in **720** of them, and the totals are `raised 0`, `lowered 0`, `silent_error 1`, `caught 32`,
`abstained 561`, `masked 126` -- under four minutes. Nothing was ever raised above the honest assurance.
The 32 `caught` cells all sit in the two configurations that are missing one reader, where a rubber
stamped node cannot buy back the level that the missing witness costs. The shape of the columns differs
from the arithmetic stratum of the same project: in a figure a damaged reading almost never survives as
a weaker answer, because what the readers produce has to stay a parseable problem with every coordinate
kept, so 561 cells end with no answer at all rather than a lower one. The one `silent_error` is the blind
spot of section 3 shown in numbers: with `merge_slots` fired in both readers at once, the Spanish
congruence row turns into `segment A-B is congruent to segment A-B` -- both readers merged the same pair
of names, so the two readings agree, the claim is trivially provable, the bundle certifies it, and the
session answers at level 2 about a question nobody asked. The only witness against it is the person.
## 7. Limits that are written down, not hidden
* Three rows are cut by `reader_a` alone, because one clause of the figure puts its joint after the names
instead of between them: `设 M 平分 线段 A B` in Chinese, `मान लें M, A और B का मध्यबिंदु है` in Hindi,
where the postposition closes the clause, and `Halle el punto en comun de la recta r y la recta s` in
Spanish, where both line names follow the words for the common point. `reader_b` cannot cut the slots
there, so those rows stay at `SINGLE`, assurance 1 (`mid-zh-single`, `mid-hi-single`,
`findintersect-es`), and `tools/coverage_report.py` shows them as read by one of two readers.
* `lexicon/it.json` describes 18 of the 19 kinds: the image of a figure under a named transformation has
no Italian surface here, and Chinese, Hindi and Arabic stop at 13, 11 and 11 kinds. What a variety
does not describe ends `NOT COVERED` with assurance 0: the stratum says it did not read it, and does
not guess.
* The verbless nominal phrasing of a figure is not read in any variety, because every stored shape has to
name the verb of its own kind (section 3). A person who writes `the point A, coordinates (0, 0)` is
asked to say it as a definition.
* The fragment of the geometry bundle is unchanged here: a figure with definitions and no claim, or a
`find the image` with no transformation named, ends `INCONCLUSIVE` in that bundle and assurance 0 here,
even when the reading is agreed. The corpus keeps those eleven rows as probes of the ceiling.
* The two readers share their data, so a systematic error in the description of a variety is invisible to
the topology and can only be found in the corpus. Section 6 counts the one case the ablation managed to
produce, and it is an answer, not a refusal.
* `equivalence` never spends a solver call on two readings whose numbers differ: it compares the
multisets of literals, says `numbers`, and stops (section 1). A veto, not a heuristic: the equivalence
claim of that node is then a failed claim, and it is still rechecked by its referee.
## 8. Tests
From the repository root:
```
python -m pytest -q datasets/geometry-stratum/tests
```
The suite is **255** tests: 103 on the two readers against every row of the corpus, 62 on the corpus
itself, 38 on the pinned invariant, 14 on the topology file, 13 on the faults, 13 on the decision table,
10 on the lexicons and 2 end-to-end sessions. It checks the topology file against the node order, the
shape and the completeness of the lexicons -- including that every pattern of every variety is announced
by a verb of its own kind, and that the six sets of reason sentences ask for the same fillers -- both
readers against the corpus, the decision table, the faults, and every gold answer of the corpus;
`tests/test_pinned_invariant.py` runs the same questions through every node configuration and every fault
and asserts that the verdict of the geometry layer does not move, and that nothing is ever shown above
it. `tests/test_orchestrator_e2e.py` runs two real sessions through the orchestrator, one honest and one
in which the arbiter is forced to raise its own assurance -- which the referee of that node undoes, and
which the tool reports -- and the test is skipped when `lingologos_orchestrator` is not importable. The
corpus and the invariant tests call the solver of the geometry layer as subprocesses, which here means a copy of the
`geometry` dataset named by `LGSTRATUM_GEOMETRY_ROOT` (section 10); the suite took 57 seconds inside a
LingoLOGOS checkout, and the two end to end tests skip on their own when `lingologos_orchestrator` is
not importable.
Real sessions, measured: the Chinese session at the top of this file comes back `AGREED` at assurance 2
against a geometry assurance of 3, with **8 of 8** envelope claims confirmed by the referee of the
session. The Italian perpendicularity row (`perp-it-true`: four points, then a claim about two lines)
comes back the same way -- `AGREED`, assurance 2, the geometry layer `VERIFIED`, 8 of 8 claims confirmed,
nothing detected.
A gate in `tests/test_topology.py` keeps every Python source of this bundle ASCII only, and pins that
inside the library only `lggeostratum/compare.py` may import the `geometry` package, and only for the SMT
plumbing of its own equivalence claim; the modules that decide, route and invoke hold no reference to it,
and the session is reached as a separate process.
## 9. Language policy
The prose of this folder -- code, docstrings, comments, tool output, test messages -- is English, and the
Python sources are ASCII, as the repository requires. The exception is the language under study, and it is
confined to data: `lexicon/*.json` (the words, frames, joints and labels of the six varieties),
`problems/corpus.jsonl` (the questions and their gold answers), and the answer block that `tools/ask.py`
shows a person, which is written in the language of the question because that block is the object this
bundle measures.
## 10. Putting this dataset back into a LingoLOGOS checkout
This dataset is 68 files plus this card: 56 questions in one corpus file, the six lexicons, the eight
node definitions, the two readers, the decision rule of section 1, the corpus grading and fault
results under `results/`, and the fault catalogue of section 6. To decide a figure it needs the
`geometry` bundle: download https://huggingface.co/datasets/tailot/lingologos-geometry somewhere, set
`LGSTRATUM_GEOMETRY_ROOT` to that copy, and the `invoker` node of this folder starts
`tools/geometry_runner.py`, which loads that copy in a separate process -- the only door through which
this bundle ever reaches a solver. Inside a LingoLOGOS checkout the folder sits at
`datasets/geometry-stratum`, finds `datasets/geometry` by itself, and needs
`src/lingologos_orchestrator` importable for the two end to end sessions of section 8. On the hub this
README is rewritten as a dataset card whose sections 1 to 10 keep the wording and numbers of this file,
and sections 11 to 14 are added there for readers who met the bundle on the hub rather than in a
checkout: the fields of the corpus file, how to load it, rights and citation. Every file of this folder is
compared by sha256 after the upload, the card that replaces this README among them: the hub holds one
object per file of this folder plus `.gitattributes`, so the remote count is one above the number
`tools/publish_dataset.py` prints here.
What the LingoLOGOS repository carries is the link to this
dataset in the table of published resources at the top of its README; the documentation of the asset
lives here, in this card, and not in the technical documentation of the project. Republishing is a
separate step, never a side effect of a test run: `tools/publish_dataset.py` in the folder of the
project does it with the token taken from an environment variable and verifies the tree by sha256.
## 11. The corpus file
`problems/corpus.jsonl` holds 56 questions, one JSON object per line, written and checked by a person.
It is a benchmark for the stratum: there is no prompt, no response pair and nothing to fine tune on.
Each row says what the session has to end like, including the rows whose expected outcome is a refusal
to answer, and a `why` that says why.
| Field | Type | Meaning |
|---|---|---|
| `id` | string | unique; `<what the row tests>-<variety>`, sometimes with a third part (`-true`, `-false`, `-single`, `-unknown`, `-def`) |
| `lang` | string | one of `it`, `en`, `es`, `zh`, `hi`, `ar`: the variety the question is written in |
| `kind` | string | one of the 19 statement kinds of the geometry language, or `negative` (6 rows that must not be read) |
| `question` | string | the question, between 18 and 306 characters, in the script of its variety: a whole figure, the definitions first and the claim about them last |
| `why` | string | the reason the row behaves as it does, written by the person who wrote the row |
| `expect` | object | the expectation, described below |
| Variety (`lang`) | `en` | `it` | `es` | `zh` | `hi` | `ar` |
|---|---|---|---|---|---|---|
| Rows | 20 | 12 | 6 | 6 | 6 | 6 |
| Kind | Rows | Kind | Rows | Kind | Rows |
|---|---|---|---|---|---|
| `collinear` | 13 | `find_circumcircle` | 3 | `between` | 1 |
| `perp` | 6 | `find_intersect` | 3 | `assume` | 1 |
| `negative` | 6 | `centroid` | 2 | `mid` | 1 |
| `par` | 4 | `define_circle` | 2 | `intersect` | 1 |
| `find_tangents` | 4 | `oncircle` | 2 | `define_line` | 1 |
| `right` | 2 | `circumcentre` | 1 | `cong` | 1 |
| | | `find_image` | 1 | `define_point` | 1 |
The fields of `expect` are optional except `state` and `referee_clean`, which are present on every row.
| Field | Rows | Meaning |
|---|---|---|
| `state` | 56 | the reading state the session must end in: `AGREED` 46, `SINGLE` 3, `PASSTHROUGH` 1, `NOT COVERED` 6 |
| `sentence` | 50 | the text of the geometry language both readers have to produce, exactly: the whole figure, in the order the bundle expects it |
| `answer_contains` | 36 | a substring the answer has to contain: a sentence of the geometry layer, or the certificate of a computed answer |
| `min_assurance` | 39 | the lowest assurance that is acceptable, on the scale of section 1 |
| `max_assurance` | 20 | the highest assurance that is acceptable: this is what pins the probes that must not rise |
| `no_answer` | 17 | `true` where the row is graded by the refusal: no answer may be shown at all |
| `referee_clean` | 56 | every envelope claim of the session must match what the referee of its node recomputed |
The six rows with no `sentence` are exactly the six negative rows, where the reading itself has to fail.
The 17 rows with `no_answer` split in two: 6 are those negative rows, and 11 are agreed readings of a
figure that carries no claim the geometry layer can decide (`point-en`, `line-en`, `circle-en`,
`circle-it`, `assume-en`, `centroid-en`, `centroid-it`, `circumcentre-en`, `intersect-en`, `image-en`,
`mid-en-def`); on those eleven the assurance must be 0 and no answer may appear, which is the stratum
refusing to add an availability it does not have.
## 12. Loading it
Load the file with the `datasets` library, or with one `json.loads` per line, which needs no
dependency:
```python
from datasets import load_dataset
rows = load_dataset("tailot/geometry-stratum", "corpus", split="train")
print(rows[0])
```
This is the same file `tools/ask.py --corpus` walks over, and `lggeostratum/corpus.py` plus
`tests/test_corpus.py` read it to grade the stratum against the gold. Graded on this checkout: 56 of 56
rows agree with what they expect.
## 13. Rights
No license is declared for this dataset, its lexicons, its corpus or its code: reuse is not granted by
this page. The six lexicons, the 56 questions with their gold expectations, the grammar specifications,
the node data and the Python sources were written by hand as part of the LingoLOGOS project. Ask before
redistributing or building on them, and expect the answer to be yes for academic work with attribution.
Z3 is a separate product with its own license and is not redistributed here; `z3-solver` is only named
as a dependency in `requirements.txt`. The lexicons of Hindi, Arabic and Chinese describe written
varieties as this project needs them for questions about a figure drawn in words: they are not a general
purpose dictionary of those languages.
## 14. Citation
```
@misc{lingologos_geometry_stratum,
title = {LingoLOGOS geometry-stratum: a question in six written varieties, the answer of the geometry layer, and an assurance that includes the reading},
author = {LingoLOGOS project},
year = {2026},
url = {https://huggingface.co/datasets/tailot/geometry-stratum},
note = {bundle of the geometry-stratum folder of the LingoLOGOS repository: 56 questions about a
figure drawn in words, in six written varieties, over the 19 statement kinds of the geometry
language, with six lexicons, two independent readers, eight node definitions with SMT claims,
the assurance rule min(geometry, reading) with the reading capped at 2, fault catalogue and
ablation over the node configurations, 255 tests}
}
```
|