Datasets:
Modalities:
Text
Formats:
json
Size:
< 1K
Tags:
multilingual
physics
dimensional-analysis
unit-conversion
natural-language-to-formal-language
multi-agent-systems
physics-stratum: the conversational layer over the physics topology
Browse files- README.md +7 -6
- tools/publish_dataset.py +7 -6
README.md
CHANGED
|
@@ -278,13 +278,13 @@ corpus, the decision table, the faults, and every gold answer of the corpus;
|
|
| 278 |
fault and asserts that the verdict of the physics stratum does not move, and that nothing is ever shown
|
| 279 |
above it. `tests/test_orchestrator_e2e.py` runs two real sessions through the orchestrator and is
|
| 280 |
skipped when `lingologos_orchestrator` is not importable. The corpus and the invariant tests call the
|
| 281 |
-
physics stratum as subprocesses, and the suite took 6 minutes
|
| 282 |
snapshot.
|
| 283 |
|
| 284 |
Real sessions, measured: `converti 3 chilometri in metri` comes back `AGREED` at assurance 2 against a
|
| 285 |
physics assurance of 2 -- the ceiling of that layer, so the reading cost nothing here -- with **8 of 8**
|
| 286 |
envelope claims confirmed by the referee of the session, and `python tools/ask.py --corpus
|
| 287 |
-
problems/corpus.jsonl
|
| 288 |
outside Italian (`zh-01`, `ar-01`, `hi-01`, `en-04`) comes back the same way: `AGREED`, assurance 2, the
|
| 289 |
physics layer `VERIFIED`, 8 of 8 claims confirmed, nothing detected -- and the block the person reads is
|
| 290 |
written in the language of the question (48, 98 and 99 non-ASCII characters in the Chinese, Arabic and
|
|
@@ -318,9 +318,9 @@ https://github.com/Tailot/LingoLOGOS.
|
|
| 318 |
## 11. The corpus file
|
| 319 |
|
| 320 |
`problems/corpus.jsonl` holds 64 questions, one JSON object per line, each asking one thing in one of six
|
| 321 |
-
written varieties: 13 Italian, 11 English, 11 Spanish, 10 Chinese, 10 Hindi, 9 Arabic.
|
| 322 |
-
|
| 323 |
-
measured across all six, in both directions.
|
| 324 |
|
| 325 |
| field | meaning |
|
| 326 |
|---|---|
|
|
@@ -377,7 +377,8 @@ print(corpus[0]["expect"]["sentence"]) # convert 3 km to m
|
|
| 377 |
The loader is metadata only, and no test of this bundle needs it: every row can be read with `json.loads`
|
| 378 |
on one line of `problems/corpus.jsonl`, as `lgphysstratum/corpus.py` does. Every row agrees with what this
|
| 379 |
folder produces: `python tools/ask.py --corpus problems/corpus.jsonl` runs every question through the
|
| 380 |
-
eight nodes and grades it against `expect`, and all 64 of 64 agree
|
|
|
|
| 381 |
--physics --out results/coverage.json` gives a reading report on each row without a verdict; the verdicts
|
| 382 |
are in `results/coverage.json`, the faults in `results/ablation.json`.
|
| 383 |
|
|
|
|
| 278 |
fault and asserts that the verdict of the physics stratum does not move, and that nothing is ever shown
|
| 279 |
above it. `tests/test_orchestrator_e2e.py` runs two real sessions through the orchestrator and is
|
| 280 |
skipped when `lingologos_orchestrator` is not importable. The corpus and the invariant tests call the
|
| 281 |
+
physics stratum as subprocesses, and the suite took 6 minutes 13 seconds on the machine that built this
|
| 282 |
snapshot.
|
| 283 |
|
| 284 |
Real sessions, measured: `converti 3 chilometri in metri` comes back `AGREED` at assurance 2 against a
|
| 285 |
physics assurance of 2 -- the ceiling of that layer, so the reading cost nothing here -- with **8 of 8**
|
| 286 |
envelope claims confirmed by the referee of the session, and `python tools/ask.py --corpus
|
| 287 |
+
problems/corpus.jsonl` grades **64 of 64** real sessions against gold, in 249 seconds. One question per variety
|
| 288 |
outside Italian (`zh-01`, `ar-01`, `hi-01`, `en-04`) comes back the same way: `AGREED`, assurance 2, the
|
| 289 |
physics layer `VERIFIED`, 8 of 8 claims confirmed, nothing detected -- and the block the person reads is
|
| 290 |
written in the language of the question (48, 98 and 99 non-ASCII characters in the Chinese, Arabic and
|
|
|
|
| 318 |
## 11. The corpus file
|
| 319 |
|
| 320 |
`problems/corpus.jsonl` holds 64 questions, one JSON object per line, each asking one thing in one of six
|
| 321 |
+
written varieties: 13 Italian, 11 English, 11 Spanish, 10 Chinese, 10 Hindi, 9 Arabic. Three of the six
|
| 322 |
+
varieties -- Chinese, Hindi and Arabic -- are written outside the Latin alphabet, and that is the point of
|
| 323 |
+
the file: the reading layer is measured across all six, in both directions.
|
| 324 |
|
| 325 |
| field | meaning |
|
| 326 |
|---|---|
|
|
|
|
| 377 |
The loader is metadata only, and no test of this bundle needs it: every row can be read with `json.loads`
|
| 378 |
on one line of `problems/corpus.jsonl`, as `lgphysstratum/corpus.py` does. Every row agrees with what this
|
| 379 |
folder produces: `python tools/ask.py --corpus problems/corpus.jsonl` runs every question through the
|
| 380 |
+
eight nodes and grades it against `expect`, and all 64 of 64 rows agree, in 249 seconds on the machine
|
| 381 |
+
that built this snapshot. `python tools/coverage_report.py
|
| 382 |
--physics --out results/coverage.json` gives a reading report on each row without a verdict; the verdicts
|
| 383 |
are in `results/coverage.json`, the faults in `results/ablation.json`.
|
| 384 |
|
tools/publish_dataset.py
CHANGED
|
@@ -103,8 +103,8 @@ REPLACEMENTS: List[Tuple[str, str]] = [
|
|
| 103 |
"folder with sections 1 to 10 of its README rewritten in place and sections 11 to 14 appended.",
|
| 104 |
),
|
| 105 |
(
|
| 106 |
-
"physics stratum as subprocesses, and the whole suite took 6 minutes
|
| 107 |
-
"physics stratum as subprocesses, and the suite took 6 minutes
|
| 108 |
"snapshot.",
|
| 109 |
),
|
| 110 |
(
|
|
@@ -125,9 +125,9 @@ CARD_TAIL = """
|
|
| 125 |
## 11. The corpus file
|
| 126 |
|
| 127 |
`problems/corpus.jsonl` holds 64 questions, one JSON object per line, each asking one thing in one of six
|
| 128 |
-
written varieties: 13 Italian, 11 English, 11 Spanish, 10 Chinese, 10 Hindi, 9 Arabic.
|
| 129 |
-
|
| 130 |
-
measured across all six, in both directions.
|
| 131 |
|
| 132 |
| field | meaning |
|
| 133 |
|---|---|
|
|
@@ -184,7 +184,8 @@ print(corpus[0]["expect"]["sentence"]) # convert 3 km to m
|
|
| 184 |
The loader is metadata only, and no test of this bundle needs it: every row can be read with `json.loads`
|
| 185 |
on one line of `problems/corpus.jsonl`, as `lgphysstratum/corpus.py` does. Every row agrees with what this
|
| 186 |
folder produces: `python tools/ask.py --corpus problems/corpus.jsonl` runs every question through the
|
| 187 |
-
eight nodes and grades it against `expect`, and all 64 of 64 agree
|
|
|
|
| 188 |
--physics --out results/coverage.json` gives a reading report on each row without a verdict; the verdicts
|
| 189 |
are in `results/coverage.json`, the faults in `results/ablation.json`.
|
| 190 |
|
|
|
|
| 103 |
"folder with sections 1 to 10 of its README rewritten in place and sections 11 to 14 appended.",
|
| 104 |
),
|
| 105 |
(
|
| 106 |
+
"physics stratum as subprocesses, and the whole suite took 6 minutes 13 seconds on this checkout.",
|
| 107 |
+
"physics stratum as subprocesses, and the suite took 6 minutes 13 seconds on the machine that built this\n"
|
| 108 |
"snapshot.",
|
| 109 |
),
|
| 110 |
(
|
|
|
|
| 125 |
## 11. The corpus file
|
| 126 |
|
| 127 |
`problems/corpus.jsonl` holds 64 questions, one JSON object per line, each asking one thing in one of six
|
| 128 |
+
written varieties: 13 Italian, 11 English, 11 Spanish, 10 Chinese, 10 Hindi, 9 Arabic. Three of the six
|
| 129 |
+
varieties -- Chinese, Hindi and Arabic -- are written outside the Latin alphabet, and that is the point of
|
| 130 |
+
the file: the reading layer is measured across all six, in both directions.
|
| 131 |
|
| 132 |
| field | meaning |
|
| 133 |
|---|---|
|
|
|
|
| 184 |
The loader is metadata only, and no test of this bundle needs it: every row can be read with `json.loads`
|
| 185 |
on one line of `problems/corpus.jsonl`, as `lgphysstratum/corpus.py` does. Every row agrees with what this
|
| 186 |
folder produces: `python tools/ask.py --corpus problems/corpus.jsonl` runs every question through the
|
| 187 |
+
eight nodes and grades it against `expect`, and all 64 of 64 rows agree, in 249 seconds on the machine
|
| 188 |
+
that built this snapshot. `python tools/coverage_report.py
|
| 189 |
--physics --out results/coverage.json` gives a reading report on each row without a verdict; the verdicts
|
| 190 |
are in `results/coverage.json`, the faults in `results/ablation.json`.
|
| 191 |
|