The dataset viewer is not available for this split.
Error code: FeaturesError
Exception: ArrowInvalid
Message: JSON parse error: Invalid value. in row 0
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 354, in _generate_tables
df = pandas_read_json(f)
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
return pd.read_json(path_or_buf, **kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 815, in read_json
return json_reader.read()
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1014, in read
obj = self._get_object_parser(self.data)
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1040, in _get_object_parser
obj = FrameParser(json, **kwargs).parse()
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1176, in parse
self._parse()
~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1392, in _parse
ujson_loads(json, precise_float=self.precise_float), dtype=None
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Expected object or value
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 266, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4675, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2885, in _head
return next(iter(self.iter(batch_size=n)))
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3095, in iter
for key, pa_table in ex_iterable.iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2600, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 357, in _generate_tables
raise e
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 295, in _generate_tables
pa_table = paj.read_json(
io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
)
File "pyarrow/_json.pyx", line 364, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: JSON parse error: Invalid value. in row 0Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
- 1. The rule, in one line
- 2. Where this folder sits and what it needs
- 3. Asking one question
- 4. How a question becomes a sentence
- 5. The votes and the arbiter
- 6. The two paths and the eight engines
- 7. What a session prints when the engine is unkind
- 8. The nine final states
- 9. The ten nodes, and how a session really ends
- 10. Faults, and what each one breaks
- 11. The corpus file
- 12. The lexicons
- 13. Tests
- 14. What this bundle does not do
- 15. Where this folder is published
- 16. The fields of one corpus line
- 17. Loading this dataset
- 18. The eight bundles this gateway calls
- 19. Rights
- 20. Citation
LingoLOGOS genesis: the gateway between a question and eight engines
This dataset is the genesis/ folder of the LingoLOGOS project, published as it stands: 80 files of code and data together, plus this card in place of their README. It is the language front door of the project.
A person writes a question
in one of six written varieties; the bundle reads it twice with two independent readers, votes for a
domain, translates it into the controlled sentence of that domain, asks one of eight engines for an
answer as a separate process, and answers in the variety the question was written in. The number it
shows is min(what the engine is worth, what the reading is worth), so an assurance never hides a
guess: a sentence two readers agreed on is worth 2, a sentence only one reader managed is worth 1, a
sentence nobody read is worth 0 and says so.
Nothing here is a demonstration of fluency. The bundle is built so that every number it prints can be traced to something it measured, and so that a node which lies about its own work is caught by the referee of the same session. Section 14 lists what it does not do, with the strings that show it.
1. The rule, in one line
assurance shown = min(engine assurance, ceiling of the reading)
| The reading ended as | Ceiling | Why that number |
|---|---|---|
PASSTHROUGH |
3 | the question arrived already written in the controlled sentence of a domain, and it travelled the direct path: nothing was read, so nothing was risked. The sentence is checked for its shape first (evaluate, solve, convert): one that only starts like a controlled sentence, such as convert 3 apples to oranges, is not passed through |
AGREED |
2 | the strict reader and the loose reader produced the same sentence. They share the frames and the lexicon, so this is one strict and one tolerant reading of the same table, not two independent opinions: what it rules out is a repair that changed the sentence |
SINGLE |
1 | one reader produced it and the other saw nothing, or the loose reader had to reorder pieces or repair a spelling |
DISPUTED, AMBIGUOUS, NOT COVERED, TAMPERED, NONE |
0 | the gateway did not read the question, or read it in two incompatible ways, or the record it was given does not match the sentence it sent |
The engine side is reported next to it, never merged into it: an engine that abstains, refuses, says it is not covered, or crashes lowers the assurance to 0 and the answer is not shown. The final state is one of nine (section 8), and the reply says which.
2. Where this folder sits and what it needs
The engines are not part of this dataset: section 18 lists the eight bundles this gateway calls as
separate processes, and the gateway never imports a module of any of them and never writes outside
itself. Only the standard library and z3-solver are required, plus pytest for the tests and
huggingface_hub for the publishing tool alone; all three are named in requirements.txt. Every
command below is written from inside the folder, as it arrives from the hub:
| Path | What it holds |
|---|---|
lingologos_gateway/ |
fourteen modules: protocol, numbers, lexicon, readers, canonical, votes, bridge, decide, render, extract, faults, agents, pipeline, corpus |
lexicon/ |
one JSON file per variety: ar, en, es, hi, it, zh |
problems/corpus.jsonl |
99 questions, each with what this bundle really answered and why |
problems/nearmiss.jsonl |
59 questions written almost right, each with the reading the loose reader owes it |
nodes/<10 node ids>/ |
grammar.gf, ontology.smt2, seed_payload.json for each orchestrated node |
agents/gateway_agent |
the single entry point of all ten nodes, plus gateway_agent.cmd for Windows |
topology.json |
the ten instances and the routing matrix of section 9 |
tools/ |
ask.py, corpus_check.py, nearmiss.py, coverage_report.py, ablation.py, orchestrated_session.py, publish_dataset.py |
tests/ |
eleven files, 413 tests |
SPECIFICATION.md |
what the gateway really does, section by section, and where it departs from the parent specification |
CHANGELOG.md |
what was fixed after the review of the gateway, what was added, and what was deliberately left as it was |
Requirements are z3-solver (only for the referee, which solves the claims the nodes attach to their
envelopes) and pytest for the suite; both are named in requirements.txt, together with
huggingface_hub, which only tools/publish_dataset.py needs and nothing else in this bundle imports.
The gate tests/test_topology.py::test_the_package_imports_only_the_standard_library_z3_and_itself reads
the syntax trees of every module of the package lingologos_gateway and fails if one of them imports
anything outside the standard library, z3 and the package itself, and
test_the_package_opens_no_socket_and_no_url fails if one of them even mentions socket, urllib,
httpx, requests, huggingface or http.: the engines stay outside this bundle and are only ever
launched as processes.
On Windows set PYTHONUTF8=1 before running anything here. The console of a default Windows session is
cp1252 and the questions are not ASCII; without that variable a run dies on UnicodeEncodeError in
printing, not in the gateway.
3. Asking one question
python tools/ask.py "quanto fa 1/2 + 1/3" --lang it
question : quanto fa 1/2 + 1/3
language : it
faults : none
reading state : AGREED
domain chosen : math
sentence asked : evaluate 1/2 + 1/3
votes : geometry 0, math 5, physics 0, structures 0
engine : math direct VERIFIED, assurance 3, 1.728s
engine record : evaluate 1 / 2 + 1 / 3
engine reasons : none
probe : CHANGED evaluate 2/2 + 1/3
final state : ANSWERED
assurance shown : 2 (reading ceiling 2, engine assurance 3)
referee : 10 of 10 envelope claims confirmed
answer : 5/6 (= 0.833333333333)
Il motore ha risposto: 5/6 (= 0.833333333333)
stato: ANSWERED | certezza: 2/3 | dominio: math | percorso: direct
Normalizzazione applicata: evaluate 1/2 + 1/3 (lettura: AGREED)
sonda: CHANGED (evaluate 2/2 + 1/3)
Read the lines from the top: what was understood, what sentence was sent, who voted, what the engine printed, what the probe did, and what the session finally shows. The level is shown on the scale of the ladder, 0 to 3; the ceiling the reading earned is on the lines above. The block indented at the bottom is the answer as the person sees it, in the variety of the question; the lines above it are the audit trail that produced it.
A question nobody read, in the same shape:
python tools/ask.py "senso unico della vita 42" --lang it
reading state : NONE
domain chosen : none
sentence asked : None
votes : geometry 0, math 0, physics 0, structures 0
probe : SKIPPED the sentence carries no numeral to change
final state : NOT_UNDERSTOOD
assurance shown : 0 (reading ceiling 0, engine assurance None)
referee : 10 of 10 envelope claims confirmed
because : nessun lettore e riuscito a leggere la domanda
Non ho capito la domanda
stato: NOT_UNDERSTOOD | certezza: 0/0 | dominio: - | percorso: direct
perche: nessun lettore e riuscito a leggere la domanda; Nessun dominio ha riconosciuto la domanda: senso unico
The geometry answer is a structured record, and the gateway prints the fields instead of the blob:
python tools/ask.py "where do the circle of radius 5 and the line y = x + 100 meet" --lang en
sentence asked : Conic q: x^2 + y^2 = 25. Line l: y = x + 100. Find the intersection of line l and conic q.
votes : geometry 11, math 0, physics 0, structures 0
engine : geometry direct VERIFIED, assurance 3, 0.516s
final state : ANSWERED
assurance shown : 2 (reading ceiling 2, engine assurance 3)
the engine answered: q1: outcome=none, count=0, kind=conic_line, discriminant=-39800
numerals the lexicon rule transformed: 5 -> 25 (square)
A circle of radius 5 and the line y = x + 100 do not meet, and that is what the answer says. The
radius appears in the sentence as 25 because the frame squares it into x^2 + y^2 = 25; the
derivation is declared by the frame and printed, so a number that appears without a declaration is a
bug rather than a detail (section 4).
Flags of ask.py: the question is positional, then --lang (a variety code), --path
(direct or stratum), --faults (section 10), --json for the machine-readable dossier.
4. How a question becomes a sentence
Two readers work from the same variety file, with different methods, and their disagreement is the measurement the bundle reports.
reader_b, the strict reader, demands the marker phrase of a frame exactly as the file writes it. It
never moves a word and never repairs one.
reader_a, the loose reader, additionally:
- drops the filler words the variety declares (
la,il,si,per, ...) before, between and after the parts of a marker phrase, and asks nothing for it, because the variety declared them; - reads a marker word written one keystroke away from the word the frame is made of: one
substitution, one deletion, one insertion, or two neighbouring letters written the other way round,
and only when exactly one candidate matches and the word is not itself a word of the variety and is
at least four letters long (
rislviis read asrisolvi;carrois left alone, because it is one keystroke from bothcarriandcarco;chiloetriis left alone, becausechilometriis a unit word and no marker phrase of that variety is written with it) -- one inference; - reads the inflected form of a marker word, when the frame writes that word in one form and the person
wrote it in another and what was added is at most three letters (
convertirefor the frame that writesconverti) -- one inference; - when a frame declares a
pivot, places the pieces of the frame in the order the domain needs, provided every number and unit is present exactly once and no word of the variety is left over (converti in metri 3 chilometriis the convert frame with its pieces out of order) -- two inferences, because moving the words of a person around is the largest thing a reader can do on their behalf.
Both readers read an operator spelled out in a word of the variety instead of written as a sign
(2 piu 2, cuanto vale 2 mas 2, 2加2等于多少): the word is in the operators block of the file of
the variety, like a unit, and the lookup is the same for both. It is tried only for a slot the engines
would otherwise refuse, it is recorded in the notes, and it costs one inference, which is why such a
reading is AGREED at 2 with a cost of 1 in the dossier. A variety whose file has no operators block
reads none, and adding the block is all it takes. A word that means the square (al quadrato) is
attached to what stands before it (3^2).
That table is consulted only for a slot the frame could not fill, and the words the frame itself matched
are never offered to it. The solve frame of Italian is anchored on risolvi l equazione and writes per x before the variable, and per is also the word a multiplication is spelled with, so
risolvi l equazione x per 2 = 8 per x has one word doing two jobs. Held out of nothing, the last per
turns the two sides into x * 2 = 8 * x and the gateway would hand an engine solve x * 2 = 8 * x for x: another equation, which the math engine solves at the assurance of an AGREED reading because both
readers made the same mistake. The anchor words are now skipped, and the sentence reads as nothing at
assurance 0. The same rule costs nothing where the frame has no such anchor, because the words held back
are the words of the phrase that matched and not the words of the variety: quanto fa x per y still
multiplies, since that frame is anchored on quanto fa, and risolvi l equazione x diviso 2 = 8 per x
reads as solve x / 2 = 8 for x at 2. The battery carries the kind anchor for exactly this, and
section 14 lists what the rule gives up.
Before either reader looks, fold separates the writing from the words, in the same way for both,
which is why it costs an inference nothing: the accents folded into the letters the lexicon is written
with, an apostrophe opened into a space (dell'equazione becomes dell equazione), a number typed
against the unit it belongs to (1500m, metri2), a mark typed against a word (km?), the digits of
any script written as the digits the engines read (the Arabic ١/٢ and the Devanagari १/२ are 1/2;
the numerals are still compared by value), and the signs a variety uses to open or end a sentence (the
Spanish ¿, the Arabic ؟, the Hindi danda ।, the Chinese 。). The folding takes off every
combining mark, the virama of Devanagari included, and that is a convention of this bundle and not an
accident: lexicon/hi.json is stored in folded form, so both sides of a comparison are folded the same
way by the one function lexicon.strip_marks. A token
that holds no word of the variety is an expression and is left exactly as it was typed: x^2 is not
x ^ 2, y=x is not y = x, and [[1,2],[3,4]] stays a matrix. A sign written between a word of the
variety and a number is left where it is for the same reason: raggio=5 stays raggio=5, because that
sign belongs to the value and not to the word beside it, and a frame that writes a radius another way is
not going to be handed a value the gateway rewrote.
Every inference is written down twice over: as a note for the person (spelling corrected: rislvi -> risolvi, reordered, the operator word named), and as an entry in the field inferred of the reading,
each carrying the integer that readers.COST gives it. The reading carries their sum in the field
cost, the dossier carries both, and the claim the reader node puts in its envelope states the numerals
it wrote and the numerals it kept together with that sum against the budget, so the referee of
numbers.py refutes a reader that under-reported its own guesses. There is no float anywhere in this:
the ladder is integers, and the claim of a reading can be recomputed by hand from the lexicon of the
variety.
A reading that needed more than readers.BUDGET inferences, which is 3, is refused rather than
believed, and the refusal says so (readings refused for costing more than 3 inferences: ... (4)).
Three words of one marker phrase each one keystroke away is read, at a cost of 3; the fourth one is not
read at all. And a frame of another domain counts as a rival, so that the reading becomes DISPUTED,
only at the same cost: a reading that had to guess is never outvoted by a reading that guessed harder.
A reading obtained only by the loose reader can never be reported as an agreement: what one reader inferred is worth one, not two. Measured, with one letter taken out of one marker word of an Italian example of each frame:
quato fa 1/2 + 1/3 strict: nothing loose: math ANSWERED at 1/1
rislvi x^2 - 5*x + 6 = 0 per x strict: nothing loose: math ANSWERED at 1/1
convrti 1500 m in km strict: nothing loose: physics ANSWERED at 1/1
lungezza ... carico uniforme -12 strict: nothing loose: structures ANSWERED at 1/1
dove si inconrano il cerchio ... strict: nothing loose: geometry ANSWERED at 1/1
What is deliberately not read: a marker phrase missing a word the frame declares, a frame with no
declared pivot written out of order, a question in a variety this bundle has no lexicon for. The
answer is NOT_UNDERSTOOD, not a guess, and the battery of section 11 exists to keep that line where it
is while the two readers get more tolerant.
Numeral honesty is checked twice. Every numeral the person wrote has to survive into the canonical
sentence, or be accounted for by a derivation the frame declares (kind square:{slot}, or a constant
in added), with its sign: a minus typed against a numeral (carico -12, (-5)) is its sign, and a
reading that lost it no longer carries the numeral it was given, while x - 5 and 5-3 are
subtractions and carry none (numbers.signed_values). The echo of an engine is still compared on the
bare numbers, because an engine is free to re-space -5. And probe asks the engine the same sentence
with one numeral turned into another valid one (an integer grows by one, a rational keeps its
denominator, and a numeral the person wrote is preferred to one the frame added), to see whether the
answer really depends on it. CHANGED with a different answer is the healthy result; SAME means
the answer did not move and is reported as such; UNDECIDED means the engine could not solve the
changed sentence, which proves nothing; SKIPPED means there was no numeral to change or no answer to
compare with. A
math engine that re-spells 1/2 as 1 / 2 is not accused of losing a number: the numeral pattern
allows spaces around the slash, because that re-spelling is what the engine really prints.
5. The votes and the arbiter
Each of the four domain nodes counts the evidence that points at its domain, and each kind of evidence has a weight:
| Evidence | Weight |
|---|---|
| the question arrived already written in that domain's sentence | 4 |
| the strict reader produced a sentence of that domain | 3 |
| the loose reader produced a sentence of that domain | 2 |
| each distinct marker word of that domain that appears, with no ceiling | 2 |
The claim a domain node attaches to its envelope says, in SMT: no other domain beats me. The referee of the same node re-derives the votes from the same data and solves the claim, so a node that reported a score it did not compute is refuted inside its own turn. In the first example of section 3 the math score is 5 (the strict reading, 3, and one marker word, 2: a reading counts once, as the best of its kinds) and the others are 0; in the geometry example it is 11 (3 and four marker words). A domain that stands on markers alone, with no reading of any kind behind its vote, can never dispute a reading: the arbiter notes the markers and keeps the reading.
A tie is not resolved. extract.arbitrate refuses the decision and the final state is CLARIFY with
the candidates listed in the reply, and the reply says which two frames disagreed.
6. The two paths and the eight engines
Every domain has two doors, and this bundle walks both of them:
| Domain | Direct engine | Intermediate stratum |
|---|---|---|
math |
datasets/math/tools/solve.py --json |
datasets/math-stratum/tools/ask.py --json |
physics |
datasets/physics/tools/ask.py --json --in-process |
datasets/physics-stratum/tools/ask.py --json |
structures |
datasets/struc/tools/ask.py --json --in-process |
datasets/struc-stratum/tools/ask.py --json |
geometry |
datasets/geometry-stratum/tools/geometry_runner.py --json |
datasets/geometry-stratum/tools/ask.py --json |
The eight adapters print two shapes: the direct engines print final.status with an assurance, a
refusal or an abstention; the strata print final.state (PASSTHROUGH, NOT COVERED) with the
engine status under a *_status key and the answer as a string. bridge.verdict_of and
bridge.stratum_verdict map both shapes onto one verdict, and the measured ceiling each adapter is
worth is kept in bridge.ENGINE_CEILING next to the mapping, so the reader of a verdict can see when
a ceiling is an observation about an adapter rather than a property of a domain. Exit codes are read,
never the prose: 0 a verdict with assurance above 0, 2 a verdict with assurance 0, 3 a record
that carries a detection, 1 usage or a crash. A stratum is asked in the variety it knows, and an
unknown variety is refused before the subprocess starts; the direct engines take a sentence, not a
language.
The canonical question of each domain, through both doors, measured on the checkout that produced this dataset:
| Domain | Sentence asked | direct | stratum |
|---|---|---|---|
geometry |
Conic q: x^2 + y^2 = 25. Line l: y = x + 100. ... |
VERIFIED 3, 0.6 s |
NOT COVERED 0, 1.7 s (no_verb; unknown_word) |
math |
evaluate 1/2 + 1/3 |
VERIFIED 3, 2.0 s |
VERIFIED 2, 3.7 s |
physics |
convert 1500 m to km |
VERIFIED 2, 2.3 s |
VERIFIED 2, 5.8 s |
structures |
beam simple span length 6 with load uniform -12 ... |
VERIFIED 2, 0.2 s |
VERIFIED 2, 2.2 s |
The stratum path never beats the direct path here, and it is two to three times slower; the geometry
stratum does not read the canonical geometry sentence at all. --path stratum exists because it is
the path the parent specification asks for, and both columns are published so that the choice can be
made on these numbers.
7. What a session prints when the engine is unkind
Four things can go wrong on the engine side and the bundle keeps them apart instead of collapsing them into "no answer":
python tools/ask.py "quanto fa sqrt(-1)" --lang it
reading state : AGREED
domain chosen : math
sentence asked : evaluate sqrt(-1)
engine reasons : formalizer_a failed: ParseError: unexpected trailing input '('
final state : UNKNOWN
assurance shown : 0 (reading ceiling 2, engine assurance 0)
The gateway read the question correctly (agreement, ceiling 2), the math engine's own formalizer could
not parse sqrt(-1), and the session says UNKNOWN at 0 with the engine's reason. The same holds for
log(0). A refusal (REFUSED, GUARD_BLOCKED, ABSTAINED) ends as REFUSED, with the engine's
reason shown (each reason once, however many nodes said it), at level 2 at most because a refusal is a
claim about the boundary of a domain; a refusal that only says no reader of the engine could place the
sentence (reader_a_cannot_read) is no claim about any boundary and ends as OUT_OF_DOMAIN at 0; a stratum that does not cover the sentence ends as OUT_OF_DOMAIN; an adapter that is
not installed, that crashes, or that prints something unparseable ends as ENGINE_ERROR and the
command it tried to run is shown. TAMPERED is reserved for the record not matching the sentence that
was sent (section 9 and 10).
8. The nine final states
decide.STATES is closed, and every line of the corpus is graded against it:
| State | When | Assurance |
|---|---|---|
ANSWERED |
an engine answered and the record matches the sentence asked | min(engine, ceiling), above 0 |
REFUSED |
the engine declined on purpose (REFUSED, GUARD_BLOCKED, ABSTAINED) |
min(2, ceiling) |
UNKNOWN |
the engine could not decide (UNKNOWN, or a verdict with assurance 0) |
0 |
OUT_OF_DOMAIN |
the stratum says the sentence is not covered, or the engine says none of its readers could place it | 0 |
CLARIFY |
two domains tied, or a frame conflict: the reply lists the candidates | 0 |
NOT_UNDERSTOOD |
neither reader produced a sentence, or the variety has no lexicon here | 0 |
ENGINE_ERROR |
the adapter is missing, crashed, timed out, or printed something unparseable, an assurance outside the scale 0 to 3 included | 0 |
TAMPERED |
the record shown does not match the sentence that was sent | 0 |
NONE |
nothing reached the end of the session: a node died, or the pipeline was cut | 0 |
The four courteous cases are deliberately not flattened. "I did not understand", "this is outside what these engines cover", "an engine refused to answer this", and "an engine is not available" print different states, different assurance, and different localized wording; a system that answers them with one sentence is a system a person cannot act on.
9. The ten nodes, and how a session really ends
The same gateway runs as an orchestrated session of ten processes, one per node: intake,
reader_a, reader_b, domain_math, domain_physics, domain_structures, domain_geometry,
arbiter, boundary, closer. Each node speaks the envelope of the orchestrator (JSON on stdin and
stdout), carries the whole dossier inside payload.naturalLanguage after the marker @@GENESIS@@,
and states a claim in payload.smtConstraints. The claim is re-derived by the referee of that node
from data it recomputes itself: the strict and loose readings, the votes, the assurance shown. A node
that reports an assurance higher than the ceiling allows is refuted; so is a node that reports a
reading it did not produce. The tool prints the count in every run: referee: 10 of 10 envelope claims confirmed.
Two things about topology.json look wrong and are not:
- The routing matrix is written backwards.
orchestrator.pywalks the edges in the order they are listed, and rule k means "the node on the right reads the inbox of the node on the left". So the pipeline readsintake -> closeronly as a consequence of the rules being listed in the opposite order:reader_a -> intake,reader_b -> reader_a,domain_math -> reader_b, ...closer -> boundary. Reversing the list is not a stylistic choice: it breaks the session on the second edge. MAX_TURNS_REACHEDis the normal end of an honest session. The orchestrator implements exactly two termination conditions,UNSAT_BREAKER(any node reports an unsatisfiable payload) andSAT_CONVERGENCE(a run of satisfiable payloads as long as the edge list). Naming either one interminationConditionwould end a correct session on the second turn, because an honest reader's claim is unsatisfiable by construction when it has nothing to keep. So the session runs itsmaxTurnsof 10 turns and ends withtermination_reason == "MAX_TURNS_REACHED", andtests/test_topology.pypins exactly that, with the measurement that explains it."FIXED_PIPELINE"in the file is an accepted but unimplemented string; the tests check it is there as a declaration, not that the orchestrator honours it.
On Windows the executable agents/gateway_agent is a POSIX script with a shebang,
which cannot be spawned, so tools/orchestrated_session.py appends the .cmd shim
(agents/gateway_agent.cmd) to the executable path. On a POSIX system the script has to carry its
executable bit: an archive made on Windows may lose it, and then every orchestrated session fails with
Permission denied (chmod +x datasets/genesis/agents/gateway_agent). The orchestrator gives each node
30 seconds, so the bridge inside a node uses 25.
Run one session by hand, and see every node turn:
python tools/orchestrated_session.py --question "quanto fa 1/2 + 1/3" --lang it
The transcript and the runtime state are written to a temporary directory and printed as a table of
turns; --faults takes the fault specification of section 10.
10. Faults, and what each one breaks
lingologos_gateway/faults.py is the fault catalogue of the bundle. A node reads the environment
variable LINGOLOGOS_GENESIS_FAULTS and misbehaves only if its own id and the requested kind are
named. Five kinds, and each is allowed only where it is meaningful (faults.WHERE):
| Kind | What the node does |
|---|---|
inflate |
shows an assurance higher than its engine printed or than the reading allows |
drop |
loses a numeral of the sentence it forwards |
swap |
hands the dossier to another domain's frame |
crash |
dies instead of answering |
echo |
forwards a verdict whose record is not the sentence that was asked |
An unknown kind is a FaultError, not a silent no-op, and faults.unapplied gives the reason a
requested fault could not be applied at a given node. The whole table is produced by
tools/ablation.py, which runs the orchestrated session once per pair; on this
checkout, for the question quanto fa 1/2 + 1/3 in it on the direct path (baseline ANSWERED at
2/2, reading AGREED, domain math), 25 rows came out like this:
assurance fell 4
no decision 10
refuted promise 8
state moved 3
no row shows an assurance above its ceiling
That last line is the honesty invariant of the whole bundle, checked row by row and not only claimed: a fault may lower an assurance, move a state, or end a session, and it never raises one. The rows most worth reading:
| Node | Fault | State | Assurance | Witness printed by the tool |
|---|---|---|---|---|
reader_a |
inflate |
ANSWERED |
1/1 | assurance fell: 2 became 1 at ceiling 1 (the strict reader disagreed, so the reading is SINGLE) |
reader_a |
swap |
CLARIFY |
0/0 | state moved: ANSWERED became CLARIFY, reading DISPUTED |
domain_math |
inflate |
TAMPERED |
0/0 | refuted promise: the domain node of math published score 25, the words of this session give 5 |
arbiter |
drop |
TAMPERED |
0/0 | refuted promise: the sentence this session asked about, evaluate + 1/3, no longer carries every numeral of the question |
boundary |
drop |
UNKNOWN |
0/2 | state moved: ANSWERED became UNKNOWN |
boundary |
swap |
TAMPERED |
0/0 | refuted promise: the verdict came from the engine of physics, the chosen domain is math |
boundary |
echo |
TAMPERED |
0/0 | refuted promise: the verdict carries the record evaluate + 1 / 3 for the sentence evaluate 1/2 + 1/3 |
closer |
inflate |
TAMPERED |
0/0 | refuted promise: the verdict shown carries assurance 3, while the engine printed 3 for status VERIFIED and the reading allows 2 |
arbiter |
crash |
NONE |
0/0 | no decision: the session names the nodes that ended badly: arbiter |
intake |
crash |
NONE |
0/0 | no decision: eight nodes ended badly, and no answer is shown |
boundary:drop is caught as a moved state and a lowered assurance, not as a tampering accusation: the
sentence the session asked lost a numeral, the engine was asked a different question, and what came
back no longer supports the answer. That is the honest shape of that row, and section 14 says so.
11. The corpus file
problems/corpus.jsonl holds 99 questions: 11 comment lines and 99 JSON objects, each one recording
what this bundle really did with the question, and why. Ids name the variety (it-01 to it-31,
en-01 to en-17, es-01 to es-12, hi-01 to hi-11, zh-01 to zh-12, ar-01 to ar-12,
fr-01 for a variety with no lexicon here) and s-01 to s-03 for the three controlled-sentence
handoffs.
Graded on the checkout that produced this dataset with python tools/corpus_check.py:
lines: 99, ok: 99, wrong: 0
states: ANSWERED 70, NOT_UNDERSTOOD 22, OUT_OF_DOMAIN 1, REFUSED 3, UNKNOWN 3
assurances: 0 26, 1 7, 2 64, 3 2
languages among the lines: 8 (ar, en, es, fr, hi, it, it-IT, zh), of which 7 carry a lexicon here
A row states an expectation about a reading, not about mathematics: the expect block carries the
reading state, the domain, the sentence that was sent, the final state, an assurance bound, and
referee_clean that no envelope claim of the session was refuted. tests/test_corpus_file.py refuses
a corpus that promises a state this bundle can only reach with a fault planted (CLARIFY, TAMPERED,
ENGINE_ERROR, NONE), so the published rows stay a description of honest behaviour.
The three handoff rows matter: s-01 and s-03 arrive written in the controlled sentence and are
answered at 2 (an en conversion, capped by its engine) and at 3 when the direct path and the engine
both allow it, while s-02 is a controlled geometry sentence that the stratum path cannot read.
fr-01is a French question: there is no French lexicon in this bundle, so the guard ofdecideanswersNOT_UNDERSTOOD` and names the untranslated code rather than letting a node crash on a missing
file.
The near-miss battery
A row of the corpus promises an assurance, so grading it means running eight engines, and the questions
it holds are the ones a person can check by hand. That makes it the wrong place to measure what the two
readers do with a question written almost right: a courtesy word leaning inside the marker phrase, a
number written against the unit it belongs to, one keystroke lost from the word that names the frame,
the operator spelled out in the words of the variety. Those live in problems/nearmiss.jsonl, 17
comment lines and 59 JSON objects, and they carry no expect block. The one promise a line makes is the
field reads, yes or no: whether the loose reader lands on a sentence for it at all. A promise the cost
of a reading is never made, because the cost belongs to the lexicon of a variety and a lexicon is
allowed to grow.
python tools/nearmiss.py # the measuring stick, printed
python tools/nearmiss.py --check # the promises of the battery, graded
Neither command asks an engine anything, and both finish in about a second. Measured on the checkout that produced this dataset:
lines: 59 | read by the strict reader: 29 | read by the loose reader: 42 | both, so AGREED: 29 | refused for the cost: 1
the ceiling any of these answers can carry: PASSTHROUGH 3, AGREED 2, SINGLE 1, DISPUTED 0, NONE 0
cost of the loose reading, in inferences (the budget is 3):
0 28
1 13
3 1
refused 1
unread 16
per variety:
ar 7 lines | loose read 5 | strict read 4 | refused 0
en 9 lines | loose read 7 | strict read 4 | refused 0
es 10 lines | loose read 7 | strict read 5 | refused 0
hi 7 lines | loose read 6 | strict read 5 | refused 0
it 19 lines | loose read 12 | strict read 7 | refused 1
zh 7 lines | loose read 5 | strict read 4 | refused 0
per kind of near miss:
anchor 3 lines | loose read 1 | mean cost 1.00
apostrophe 2 lines | loose read 2 | mean cost 0.50
conflict 1 lines | loose read 0 | mean cost -
digits 2 lines | loose read 2 | mean cost 0.00
filler 6 lines | loose read 6 | mean cost 0.00
gapped 1 lines | loose read 0 | mean cost -
glued 1 lines | loose read 0 | mean cost -
inflected 1 lines | loose read 1 | mean cost 1.00
keys 6 lines | loose read 5 | mean cost 1.40
marks 17 lines | loose read 17 | mean cost 0.00
order 2 lines | loose read 2 | mean cost 0.00
outside 6 lines | loose read 0 | mean cost -
shape 3 lines | loose read 0 | mean cost -
spelled 6 lines | loose read 6 | mean cost 1.00
terse 2 lines | loose read 0 | mean cost -
The last block is the one worth reading. Everything the variety declares as writing or as filler -- the
accents left off, 1500m typed tight, the equation typed tight around the equals sign, a courtesy word
in the middle -- is read by both readers at no cost, which is why 29 of these questions are AGREED and
can carry assurance 2. Everything that is an inference of spelling -- rislvi, convertire -- is read by
the loose reader only, at a cost of 1, and lands at assurance 1; a spelled operator (2 piu 2) is read
by both at a cost of 1 and is AGREED, because the word is in the file of the variety. Nothing on this battery reaches 3: only
the controlled sentence handed over already written does. And the 17 lines nobody reads are read by
nobody on purpose: three expressions that stop short, never close their brackets or put two numbers
side by side, six questions with no domain in them, the telegrams of a person who knows the domain
and skips the verbs, a Chinese frame run into its equation with no space left, an Arabic frame one
connective short, the question whose four marker words are each a keystroke away, which the budget
refuses and says so, and the two questions of the kind anchor, where the word that ends the frame is
also the word that spells a sign and no reading is honest (section 4).
tests/test_nearmiss_file.py grades the same 59 promises inside the test suite, without the tool, and
refuses a battery that stops exercising one of the tolerances the loose reader was written for.
12. The lexicons
One JSON file per variety: ar, en, es, hi, it, zh. lexicon.validate is run over every
file at import of the tests and refuses a file that misses any of the eight required blocks (units,
marker words, frames, labels, filler, numerals, domains, examples) or that names a domain that is not
one of the four. Each file carries 33 label keys, so the nine final states, the probe outcomes, the
reasons and the clarifying questions are worded in the variety of the question; the Italian label text
is ASCII by design ("nessun lettore e riuscito a leggere la domanda"), because the repository
requires ASCII inside Python sources and these strings are read by Python tests.
Each variety ships 8 example questions, and tools/coverage_report.py runs all of them:
python tools/coverage_report.py --check
RESULT: 0 stale ceilings, 0 sessions with a refuted claim or no decision
over 48 questions (8 per variety, 6 varieties), which ended 40 ANSWERED and 8 NOT_UNDERSTOOD: the
seven and eighth examples of Arabic, Spanish, Hindi and Chinese are the courtesy cases ("the meaning of
life", "predict position and momentum exactly"), and they are reported as not understood rather than
answered. Two of the English examples travel as controlled sentences and are graded PASSTHROUGH.
13. Tests
python -m pytest tests -q
413 tests in eleven files, a little over a minute on this machine (76.07 s on the run that wrote this sentence):
| File | Tests | What it refuses |
|---|---|---|
test_topology.py |
30 | a topology whose nodes, edges, executables or seeds do not match the ten node folders; it pins MAX_TURNS_REACHED with the measurement that explains it |
test_lexicon.py |
52 | a variety file with a missing block, an unknown domain, a label key absent from one variety, an unsafe character for an engine |
test_numbers_and_readers.py |
39 | a numeral lost between question and sentence, a claim a solver refutes, a reader that agrees with itself, a spelling repaired that is more than one keystroke away, an inference the loose reader made and did not pay for, a reading that went past the budget |
test_arbiter_and_decide.py |
106 | every state transition, every ceiling, the abstain vote, the guard for an unknown variety |
test_bridge_mapping.py |
11 | an engine imported instead of launched, a verdict shape unmapped, a ceiling invented rather than measured |
test_render_and_faults.py |
14 | a state with no label in some variety, a geometry record dumped as JSON, a fault kind any node would accept |
test_corpus_file.py |
12 | a corpus that promises a state only a fault can produce, a duplicated id, a typo inside an expect key |
test_nearmiss_file.py |
5 | a battery line whose reading the two readers no longer produce, a tolerance of the loose reader the battery stopped exercising |
test_improvements.py |
127 | a minus that is lost between question and sentence, a probe that deletes a numeral instead of changing it, native digits and sentence marks that stop a reading, an operator word missing from a variety, the word a frame is anchored on read as an operator, a probe that was skipped and never mentioned, an expression that cannot parse called a reading, a sentence that only starts like a controlled one passed through, an assurance outside the scale accepted, a refusal that cannot read shown at level two, a marker-only domain that disputes a reading |
test_engines_and_paths.py |
9 | an adapter whose measured assurance moved; skipped when an engine is not installed |
test_orchestrated_e2e.py |
8 | an orchestrated session whose claims are refuted, whose routing breaks, whose crash is not reported as NONE |
14. What this bundle does not do
Every line below was measured on the checkout that produced this dataset; none of them is a TODO, and all of them are the reason the assurance numbers are what they are.
- No spelling correction beyond the marker phrase. The parent specification gives the normative
example
oi per favvore mi risoolvi sta roba 2*x + 8 = 0 pe la xand expects a reading at assurance 2. This bundle repairs the marker word of the frame (risoolviintorisolvi) and still endsNOT_UNDERSTOOD, becausefavvore,sta robaandpe la xare not words of the variety and the marker phrase is broken in more than one place. Measured, all six normative examples of section 3.6 of that specification endNOT_UNDERSTOODhere, and the reason differs from line to line: inconvetri 1500 metri in km velcoethe phrase itself is repaired and read in isolation, and it is the trailingvelcoe, a word no lexicon declares, that keeps the pattern from matching, because only declared filler may stand outside a marker phrase. The two boundary cases (risolvi x e y con 5,x^2 - 5x + =) are refused because there is nothing to read, which is the outcome those examples ask for.SPECIFICATION.mdstates this as an amendment rather than pretending the benchmark passes. - Scrambled word order is not read unless the frame declares a pivot, and even then it is the most expensive thing the loose reader does: two of the three inferences the budget of section 4 allows. Filler the variety declares is absorbed wherever it stands; a word the variety does not declare is not absorbed and the phrase does not match. A reading assembled by moving words around words nobody recognised would be a guess wearing a ceiling.
- The geometry stratum does not read the canonical geometry sentence (
NOT COVERED, reasonsno_verb; unknown_word, section 6). On the stratum path a geometry question endsOUT_OF_DOMAIN. - The stratum path is never better than the direct path in these measurements, and costs two to three times as long. It is published because it is the path the parent specification names.
- A fault at the boundary node is caught as a moved state, not as a lie.
boundary:dropendsUNKNOWNat 0 under a ceiling of 2: the sentence lost a numeral, the engine was asked another question, and the row reports that the answer no longer follows.closer:inflateandboundary:echoare caught as refuted promises; a reader that inflates is simply not believed, and the reading drops toSINGLEat 1. - No fault-free
CLARIFYorDISPUTEDrow exists with these two readers. Their disagreement about one question still costs a numeral, so it shows up asSINGLE, and a frame of another domain is a rival only when it fits the same words at the same cost, which makes the tie rarer than it looks;CLARIFYis reached intools/ablation.pythrough a planted swap. The closest a natural question gets in this bundle is the battery linenm-it-13,quanto vale il momento di una forza per il tempo, which reads as if a physics frame and a geometry frame could both own it: neither phrase actually matches, so the reading isNONEand not a tie. What is missing is a question that producesDISPUTEDwith these two readers, and saying so is part of publishing the table. - A reading the strict reader cannot confirm is checked on its numerals, with their sign, and on nothing else. Corpus
line
it-18isconverti 1500 m grazie in km, a courtesy word leaning inside the trigger. An earlier checkout let the loose reader put that word wherekmbelongs and reportconvert 1500 km to m: the sentence was well formed, every numeral had survived, the referee had nothing to refute, and the reading stood atSINGLE. The courtesy word is now absorbed as the filler the variety declares, and the row measures the conversion as it was asked, at assurance 1. What changed is one reading; the limit it exposed is still here. A mistake that leaves the numerals where they are lives inside the reading, outside the claim, and the second reader never saw it. Assurance 1 is the honest price of that, and the battery of section 11 is where the tolerance that produced it is now kept under test. - The engines keep their own limits.
sqrt(-1)andlog(0)are refused by the math engine's formalizer,x^2 - 5x + =is not understood, and a circle and a line that do not meet producecount: 0withdiscriminant: -39800. The gateway reports these as its own states with the engine's reason, and does not improve on them. - The reply is localized, the audit trail is not. Labels, reasons and clarifying questions come from the variety file; the module names, states, frame triggers and canonical sentences stay in English, so a bug report is comparable across varieties.
- A reading that needed four guesses is not a reading, and the refusal says so. Every inference of
the loose reader costs the integer its table gives it, and a reading whose sum passes 3 is thrown
away rather than believed.
dove si inconrano il cercio di ragigo 5 e la retta y = xis read, at a cost of 3, three words of one marker phrase one keystroke each; change one more word of that same sentence toretaand nothing is read at all, with the notereadings refused for costing more than 3 inferences: dove si incontrano il cerchio di raggio {radius} e la retta {line} (4). The fourth keystroke is not met by a fourth kind of tolerance invented to reach it: the refusal is the answer, and it is a note a person can read. - The frames reach part of what the engines read. The controlled language has 17 heads in math, 4
in physics and 10 in structures; the natural language frames reach 11, 3 and 2 of them in every
variety with a lexicon (
antiderivative,rank,inverseandnullspacewere added after the review, with a translation of each into the six varieties that wants a native read, above all forhi,arandzh).minimize,linsolve,product,maxflow,reduce,sos,potential,cut,peak,shear,deflectandeuler, among others, can only be asked as controlled sentences, and the structures frame is one beam with a uniform load. - The marker lists are uneven.
ar,es,hiandzhcarry about ten marker words per domain,itandenabout twenty-two. Markers only route a question that no frame reads, and the arbiter never lets them dispute a reading, but the votes of the thinner varieties are thinner. - The tolerance for a dropped word in square brackets is not used by any lexicon. The reader and
its cost are there and tested with synthetic frames; no shipped frame writes
[word]. - The numeral check does not see roles.
convert 1500 m to kmandconvert 1500 km to mcarry the same numerals; only the readings of the frames, and the engine, tell them apart. - A question whose frame anchor is also an operator word is not read at all. The solve frame of
Italian writes the variable behind
per xand the Spanish one behindentre x, and in those varietiesperandentreare also the words a multiplication and a division are spelled with, sorisolvi l equazione x per 2 = 8 per xendsNOT_UNDERSTOODat 0. The reading that collision allows issolve x * 2 = 8 * x for x, a different equation, which the math engine solves at once and which both readers would have agreed on. Section 4 states the rule and what it costs: the words of the phrase that matched are never offered to the operator table, so a question that spells a sign with its own anchor word is given up, and a variety whose multiplication is spelled with another word is free. Corpus linesit-30andes-12and the battery kindanchorkeep the given-up questions in the open rather than in a footnote.
15. Where this folder is published
Published at https://huggingface.co/datasets/tailot/lingologos-genesis, as a dataset, and this card is the README of that dataset. It is 80 files plus this card: the fourteen modules, the six lexicons, the 99 questions of the corpus with their measured expectations, the 59 lines of the near-miss battery, the ten node definitions with their SMT claims, the topology, the seven tools, and the eleven test files. The eight engines it calls are not inside it, and section 18 gives the bundle to download for each of them; a session of ten nodes also needs src/lingologos_orchestrator, which is code of the repository and is not published as a dataset. Without an engine this folder does not fail quietly: bridge.installed() reports the adapter missing and the answer is ENGINE_ERROR with the command it tried to run. Sections 16 to 20 below were written for a reader who met the bundle here, where the folders of the repository are not.
16. The fields of one corpus line
problems/corpus.jsonl holds 99 lines, one JSON object each, and each line was graded against
the bundle in this folder with no fault planted in any node. The fields:
| Field | Lines | What it holds |
|---|---|---|
id |
99 | it 31, en 17, ar 12, es 12, zh 12, hi 11, s 3, fr 1; the prefix s is a controlled sentence handed over already written |
lang |
99 | it 32, en 18, ar 12, es 12, zh 12, hi 11, fr 1, it-IT 1 (it-IT is a variety code with a region, which lexicon.normalize_code folds to it; a code with no file in lexicon/ is answered by the guard of decide) |
kind |
99 | what is being tested: nonsense 9, intersection 8, convert 7, evaluate 6, reactions 6, solve 6, near_operator 5, near_typography 5, audit 4, pi 4, near_filler 3, near_spelling 3, passthrough 3, and 22 kinds appearing once or twice; every near_... kind is a corpus line whose question is written almost right |
question |
99 | the question, written the way a person writes it |
why |
99 | one English sentence saying why this expectation and not a better-looking one |
path |
3 | stratum 3 on s-01, s-02, s-03; the other 96 lines run on the direct path |
expect.state |
99 | ANSWERED 70, NOT_UNDERSTOOD 22, REFUSED 3, UNKNOWN 3, OUT_OF_DOMAIN 1 |
expect.reading |
99 | AGREED 65, NONE 22, SINGLE 7, PASSTHROUGH 5 |
expect.domain |
99 | math 35, physics 27, null on the 22 lines nobody read, geometry 9, structures 6 |
expect.assurance |
99 | 2 on 64 lines, 0 on 26 lines, 1 on 7 lines, 3 on 2 lines |
expect.sentence |
77 | the controlled sentence the gateway built, exactly as it was sent to an engine |
expect.answer_contains |
71 | a string the answer had to contain |
expect.no_answer |
26 | the line asks that no answer be produced at all |
The 26 lines at assurance 0 are not failures of the bundle: they are the lines where the
honest outcome is no answer, and the card says so in section 1. corpus.unknown_expect_keys reports an
expectation key that no code reads, so a typo in a line cannot look like a pass; tools/corpus_check.py --json prints one graded record per line.
problems/nearmiss.jsonl holds the 59 lines of the battery of section 11: the questions that are almost right, each carrying the defect it exercises and what the two readers were measured doing with it. The fields are id (nm-<variety>-<n>: it 19, es 10, en 9, ar 7, hi 7, zh 7), lang (it 19, es 10, en 9, ar 7, hi 7, zh 7), defect (the tolerance exercised: marks 17, filler 6, keys 6, outside 6, spelled 6, anchor 3, shape 3, apostrophe 2, digits 2, order 2, terse 2, and one line each of conflict, gapped, glued, inflected), question (the question as a person typed it, in its own variety), reads (yes on the 42 lines the loose reader reads, no on the 17 it refuses) and why, one English sentence. No line promises a cost in inferences: a cost belongs to a lexicon, and a lexicon is allowed to grow, so the battery promises which questions are read and leaves the price to tools/nearmiss.py, which prints the cost of every line and exits non-zero under --check when a line stops promising what the two readers produce.
17. Loading this dataset
The corpus as data:
from datasets import load_dataset
rows = load_dataset("tailot/lingologos-genesis", "corpus")["train"]
print(rows[0]["question"], rows[0]["expect"]["state"], rows[0]["expect"]["assurance"])
The near-miss battery, the questions that are written almost right, is the other config:
battery = load_dataset("tailot/lingologos-genesis", "nearmiss")["train"]
print(battery[0]["defect"], battery[0]["reads"], battery[0]["question"])
The bundle as code is not a package on an index: download the folder, then from inside it
pip install -r requirements.txt
python tools/ask.py "quanto fa 1/2 + 1/3" --lang it
python -m pytest tests -q
python tools/nearmiss.py --check
The tests that ask an engine end ENGINE_ERROR rather than failing when the engine of section 18 is not
present, and tools/coverage_report.py needs the engines to say anything at all.
18. The eight bundles this gateway calls
The gateway asks for an answer by starting a program in one of eight folders of the project. On the hub each
of them is its own dataset; download it, and put it where bridge.ADAPTERS looks (the folder name is the
last part of the path in the second and third columns).
| Domain | Certainty engine | Published at | Intermediate stratum |
|---|---|---|---|
math |
datasets/math/tools/solve.py |
https://huggingface.co/datasets/tailot/lingologos-math | https://huggingface.co/datasets/tailot/math-stratum |
physics |
datasets/physics/tools/ask.py |
https://huggingface.co/datasets/tailot/lingologos-physics | https://huggingface.co/datasets/tailot/physics-stratum |
structures |
datasets/struc/tools/ask.py |
https://huggingface.co/datasets/tailot/lingologos-struc | https://huggingface.co/datasets/tailot/struc-stratum |
geometry |
datasets/geometry/tools/geometry_runner.py |
https://huggingface.co/datasets/tailot/lingologos-geometry | https://huggingface.co/datasets/tailot/geometry-stratum |
A session of ten orchestrated nodes (section 9) additionally needs src/lingologos_orchestrator, which is
part of the code of the repository and is not published as a dataset. Everything else in this folder runs
from what is here: the two readers, the vote, the numeral audit, the decision rule and the localized answer
need no engine at all.
19. Rights
No license is declared for this dataset, its lexicons, its corpus, its near-miss battery or its code:
reuse is not granted by this page. The six lexicons, the 99 questions of the corpus and
the 59 lines of the near-miss battery with their measured expectations, the grammar
specifications, the ten node definitions with their SMT claims and the Python sources were written
inside 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 arithmetic, conversion,
structures and geometry questions: they are not a general purpose dictionary of those languages.
20. Citation
@misc{lingologos_genesis,
title = {LingoLOGOS genesis: the gateway between a question in six written varieties and eight engines, with an assurance that includes the reading},
author = {LingoLOGOS project},
year = {2026},
url = {https://huggingface.co/datasets/tailot/lingologos-genesis},
note = {bundle of the genesis folder of the LingoLOGOS repository: 99 questions in six written varieties
with their measured expectations, a 59-line battery of questions written almost right,
six lexicons, two independent readers whose spelling tolerance is priced in inferences
against a budget of 3, integer domain votes, a numeral audit and an SMT claim re-derived by
a referee, ten orchestrated nodes, five fault kinds and an ablation of
25 rows, the assurance rule min(engine, reading), 413 tests}
}
- Downloads last month
- 89