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
| component | label | where |
|---|---|---|
| approximant | partial | approximant |
| ast | partial | ../syntax.json |
| cost | symbolic source derived | invariant |
| descriptant | present | descriptant |
| invariant | partial | invariant |
| tests | partial bounded parent evidence | 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 |
effect_boundary | effect_boundary | partial source derived model | effect_boundary |
numeric_transport | numeric_transport | partial source derived model | numeric_transport |
branch_relation | branch_relation | partial source derived model | branch_relation |
resource_cost | resource_cost | partial source derived model | resource_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/