mova-whale-world-lib
The groupant beside tools/whale-world/src/lib.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 | Forward approximant |
| ast | partial | syntax.json |
| composition | partial | Composition |
| cost | partial | Cost |
| descriptant | present | Descriptant |
| invariant | partial | Invariant |
| tests | finite evidence | tests.md |
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 |
Model text
Descriptant
Crate root of mova-whale-world: module list (config, dossier, query, world) and the crate's purpose: append-only document dossiers and one incremental global world for Whale epochs. Source: tools/whale-world/src/lib.rs.
Forward approximant
Declares the modules; re-exports anyhow::Result; the end-to-end tests module under cfg(test).
Invariant
No logic; every public module is listed once.
Cost
O(1).
Composition
Parent: whale-world (models/whale-world.groupant).
behavior_complement
No behaviour of its own; re-exports no topic-corpus or Whale types. Evidence status: source-derived model with finite checks, not a proof.
reverse_reconstruction
The module list is recoverable from the source; nothing else.
tests.md
cargo test --manifest-path tools/whale-world/Cargo.toml --offline with WORLD_EN_MODEL=$MOVA_DATA/download/0/0.4/en.bin (9 unit tests: dossier append-only/select/changed files, licence negative controls, citation markers, importers incl. a topic corpus with a Sea Spider page and a consultant draft, entity extraction, LRU, two byte-identical world builds with cited queries, incremental epochs with old worlds intact and a changed file refused; 2026-11-05). Live 2026-11-05 on six papers: two independent imports and builds byte-identical.
These are finite fixtures and live samples; not a proof.
This page in Markdown โ https://md.groupants.elamur.ai/free/en/mova/tools/whale-world/src/lib.rs.groupant/