Elamur GroupantsโŒ•
โ˜ฐ

world-qa3-scoring

The groupant beside world/src/qa3.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
approximantpartial source modelforward
astpartial../syntax.json
compositionpartial source modelcomposition
costpartial source modelcost
descriptantpartial source modelepoch-memory
invariantpartial source modelinvariant
testspartial source modelchecks

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
world-qa3-scoring-behavior-complementbehavior_complementpartial source modelbehavior-complement
world-qa3-scoring-reverse-reconstructionreverse_reconstructionpartial source modelreverse-reconstruction
world-qa3-scoring-projection-boundaryobservation_constraintpartial source modelprojection-boundary

Model text

forward

Six-field rows preserve poly/id/kind/text/query/expect. Ordered readings select first successful result. verdict adds exact trimmed none as abstention success and @sA-B alternatives scanning complete ASCII digit runs after ^s. Each comma group has its own cursor and ordered steps take earliest feasible ends.

invariant

^s12 cannot satisfy @s1-2 by matching a numeric prefix. none is case-sensitive before lowercasing. Anchor match requires inclusive bounds, not semantic event identity; syntactically malformed @s text falls back to literal matching.

cost

O(AL) substring/anchor scanning for A alternatives and L answer bytes, plus normalization. Parsing is O(input bytes). No parser service used.

composition

Public joins: World::apply on constructed Cmd/Line values -> answer -> verdict; read_questions -> answers_md on supplied frozen expectations. No neural parser, teacher, corpus, CLI persistence or courses executed.

behavior-complement

Domain/universe: terminating calls on consistent supplied worlds and well-formed observations in this scope. Inner absent-behavior relation excludes transitions violating the invariant above. This is a source-derived partial exclusion; unknown paths and malformed world states remain outside it. It is not a complement of merely sampled tests.

reverse-reconstruction

An anchor-range Hit retains every answer with an eligible numeric anchor, with arbitrary unobserved surrounding text and world. none Hit retains all abstaining error causes; it cannot reconstruct which query failed.

projection-boundary

375 finite pairs compare two supplied anchor numbers against all 15 valid ranges using direct numeric membership; UTF-8 prefix and multi-digit rejection are included. The report join executes read_questions -> answer -> verdict on two supplied rows.

All three typed entries bind the manifest revision and scope. Operators are invariant exclusion, output preimage and observation constraint respectively; status is partial source modeling with finite native evidence. Reverse relations preserve all described ambiguity; no complete solver or universal inverse is provided.

checks

cargo test -p world --lib qa3::wave12_models -- --test-threads=1. See the file evidence.md for actual repeated profiles and compiled controls. Partial syntax projection leaves macro bodies opaque; no semantic AST proof.

epoch-memory

2026-10-30: prospective constant-cost guards and tie comparison predicted rejection without changing valid selection or signatures. Four old-code witnesses failed: empty holder success, malformed interval broadening, empty sort panic and invented earlier narration for a tie. Narrow repairs retain ordinary substring scoring and existing historical explanation behavior. Future epistemic explanations and metadata consistency remain explicit limitations. No optimization or general percentage guarantee is inferred.

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