Elamur GroupantsโŒ•
โ˜ฐ

world-stepgame-formats

The groupant beside world/src/stepgame.rs in the Mova repository: what the code computes, what it never does, how to go back from its outputs, its invariants, cost and checks.

Facts

Implementation material. A Mova code model describes this code at one source revision: partial models, finite checks and their stated scope. It is not a reviewed general exposition, and its labels are shown as written, never raised.

Components

componentlabelwhere
approximantpartialapproximant
astpartial../syntax.json
compositionpartialcomposition
costpartialCost
descriptantpresentdescriptant
invariantpartialmodel.md
testsbounded checks partial scopetests

Obernants

The typed relations around the forward model: the behaviour complement (what the code never does), the reverse reconstruction (every input compatible with an output) and specialised views.

idtypelabelwhere
behavior_complementbehavior_complementpartial source derived modelbehavior_complement
reverse_reconstructionreverse_reconstructionpartial source derived modelreverse_reconstruction
reset_markerreset_markerpartial source derived modelreset_marker
support_erasuresupport_erasurepartial source derived modelsupport_erasure
agent_domainagent_domainpartial source derived modelagent_domain
failure_orderfailure_orderpartial source derived modelfailure_order

Model text

descriptant

world-stepgame-formats

load branches by txt extension else BTreeMap JSON. Text skips no-space lines, clears at exact '1', emits question for >=2 tab fields else appends story. agents returns unique single ASCII capitals in encounter order.

Modeling epoch โ€” 2026-10-31

Read full assigned source before editing; prospective predictions retained in external wave29 receipts. This child binds only its stated half-open UTF-8 byte range; other APIs remain parent scope. Evidence is limited to named bounded fixtures; registration is partial modeling. Production behavior unchanged; only inline synthetic tests added to four assigned sources.

approximant

Forward relation

load branches by txt extension else BTreeMap JSON. Text skips no-space lines, clears at exact '1', emits question for >=2 tab fields else appends story. agents returns unique single ASCII capitals in encounter order.

Domain and resource limits

Finite valid structures and allocation-success executions under the branch conditions in models.md; integer overflow is outside measured fixtures. Exact categorical relations have no supplied percent surrogate. Macro expansion, arbitrary model quality and external effects are not inferred from syntax.

invariant

Invariant

Text id is emitted index, not source line number; questions never append to story; empty text emits none.

Cost

O(B+copied story bytes), quadratic duplication possible with many questions; JSON sort O(NlogN).

composition

Composition

This scope contributes formats to its parent. Its forward, complement and preimage are restricted to the bound byte interval. The parent syntax projection is referenced once through ../syntax.json; no independent semantic AST is claimed.

models

behavior_complement

Exclude retaining pre-reset story or duplicate agents; invalid JSON id keys are tolerated as zero.

reverse_reconstruction

Items admit arbitrary ignored support fields; invalid numeric keys all map to zero and stable sort preserves lexical BTreeMap order among ties.

reset_marker

1 clears, 01 does not.

support_erasure

Third and later tab fields are discarded.

agent_domain

AA and non-ASCII capitals are not single ASCII agents.

failure_order

Read/UTF8 error before JSON parse; text malformed rows may be skipped rather than error.

tests

Bounded checks

Named checks associated with this source (not every fragment branch):

17 unique named tests in total passed twice debug and twice release; sorted named outcomes equal across all four runs. Four compiled controls cover bAbI identity, StepGame tie ordering, parser-command state removal and bench-command CPU selection; each exits101 at a runtime assertion, exact source restored then positive exit0. Other sources have finite adversarial fixtures but no separately compiled mutant.

CLI integration coverage is command construction and temporary cleanup only; legacy school/model/cadence paths are not executed. No speed benchmark, GPU, live teacher, datasets or held-out replay.

Limits:

External receipt root: $MOVA_DATA/runs/octopus-wave29-worldeval-2026-10-31.

This page in Markdown โ†’ https://md.groupants.elamur.ai/free/en/mova/world/src/stepgame.rs.groupant/formats.groupant/