world-parser-failures-command
The groupant beside world/tests/parser_failures.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
| component | label | where |
|---|---|---|
| approximant | partial | approximant |
| ast | partial | ../syntax.json |
| composition | partial | composition |
| cost | partial | Cost |
| descriptant | present | descriptant |
| invariant | partial | model.md |
| tests | bounded checks partial scope | tests |
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.
| id | type | label | where |
|---|---|---|---|
behavior_complement | behavior_complement | partial source derived model | behavior_complement |
reverse_reconstruction | reverse_reconstruction | partial source derived model | reverse_reconstruction |
cwd | cwd | partial source derived model | cwd |
model_path | model_path | partial source derived model | model_path |
remove | remove | partial source derived model | remove |
isolation_limit | isolation_limit | partial source derived model | isolation_limit |
Model text
descriptant
world-parser-failures-command
Return world binary Command with crate cwd, supplied model/mode, scratch/hot and explicit removal of two flags; no spawn.
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
Return world binary Command with crate cwd, supplied model/mode, scratch/hot and explicit removal of two flags; no spawn.
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
No arguments/model reads; OS paths not shell interpolation.
Cost
Fixed environment/path allocation; no model/process startup.
composition
Composition
This scope contributes command 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 explicit inherited state/prag flag retention in this configuration, not all other inherited variables.
reverse_reconstruction
Environment model=p,mode=m identifies these inputs; hot parent constrains scratch but process effects cannot be inferred because none occurred.
cwd
Crate directory, not scratch.
model_path
Missing path stored without opening.
remove
get_envs contains two explicit None entries.
isolation_limit
Other environment keys inherited.
tests
Bounded checks
Named checks associated with this source (not every fragment branch):
- wave29_command_isolation_and_cleanup_without_spawn
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:
- Helper-only runtime evidence, not CLI parser failure/model loading validation
- No school/model/GPU; executable percent surrogate unsupported
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/tests/parser_failures.rs.groupant/command.groupant/