Elamur GroupantsโŒ•
โ˜ฐ

mlab-ext-boost-parser

The groupant beside mlab/tests/ext_boost.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
costsymbolic source derivedinvariant
descriptantpresentdescriptant
invariantpartialinvariant
testspartial bounded parent evidencetests

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
effect_boundaryeffect_boundarypartial source derived modeleffect_boundary
numeric_transportnumeric_transportpartial source derived modelnumeric_transport
branch_relationbranch_relationpartial source derived modelbranch_relation
resource_costresource_costpartial source derived modelresource_cost

Model text

descriptant

mlab-ext-boost-parser

table searches exact array header and end delimiter, parses SC_ tokens; mlab_eval builds numeric vector, calls Interp::capture/run, parses Inf/-Inf/NaN and enforces output count.

Epoch 2026-10-31: isolated source-bound fragment over bytes [571,2204); includes no claim beyond this relation. Source hash 7fa4b847808f0a485411988bb342bd0b0540d350c50e6166f08224c1dbac9dfc.

approximant

parser: forward relation

table searches exact array header and end delimiter, parses SC_ tokens; mlab_eval builds numeric vector, calls Interp::capture/run, parses Inf/-Inf/NaN and enforces output count.

Domain: Synthetic bounded rectangular rows with valid col index; dataset suites deliberately not executed.

Executable surrogate gap: no measured cheaper implementation with a useful scoped metric is supplied. Categorical/error/effect relations are exact obligations, not percent losses. Future numeric caps only1/2/5/10%.

invariant

parser: invariant and cost

table performs host filesystem read under fixed dataset directory and is unexecuted; selected mlab_eval in memory.

Exponent formatting and %.17g output support finite roundtrip but error output panics rather than silently filtering.

Scope-specific cost: File parse O(bytes) and generated interpreter code O(n); actual function execution delegated. Selected helper no file read.

models

behavior_complement

Missing array/file or malformed numeric token panics; no graceful empty fallback except no matching SC_ lines. Output length mismatch excludes successful helper return.

reverse_reconstruction

Parsed rows admit whitespace and ignored text variants; emitted numeric output admits code representations rounding to same f64.

effect_boundary

table performs host filesystem read under fixed dataset directory and is unexecuted; selected mlab_eval in memory.

numeric_transport

Exponent formatting and %.17g output support finite roundtrip but error output panics rather than silently filtering.

branch_relation

table searches exact array header and end delimiter, parses SC_ tokens; mlab_eval builds numeric vector, calls Interp::capture/run, parses Inf/-Inf/NaN and enforces output count.

resource_cost

File parse O(bytes) and generated interpreter code O(n); actual function execution delegated. Selected helper no file read.

tests

Evidence boundary

See ../tests.md for the actual selected source test and mutant. These tests sample the file, not every fragment branch. Missing array/file or malformed numeric token panics; no graceful empty fallback except no matching SC_ lines. Output length mismatch excludes successful helper return. Other branches here are source-derived and unexecuted unless the parent test explicitly calls them.

This page in Markdown โ†’ https://md.groupants.elamur.ai/free/en/mova/mlab/tests/ext_boost.rs.groupant/parser.groupant/