Elamur GroupantsโŒ•
โ˜ฐ

mlab-ext-boost-metric

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
zero_metriczero_metricpartial source derived modelzero_metric
fault_witnessfault_witnesspartial source derived modelfault_witness
branch_relationbranch_relationpartial source derived modelbranch_relation
resource_costresource_costpartial source derived modelresource_cost

Model text

descriptant

mlab-ext-boost-metric

measure retains normal reference values only; e=abs((got-want)/want)/EPSILON with NaN got=>infinity, strict greater updates first worst. Existing CASES bound4eps; synthetic tests do not certify those datasets.

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

approximant

metric: forward relation

measure retains normal reference values only; e=abs((got-want)/want)/EPSILON with NaN got=>infinity, strict greater updates first worst. Existing CASES bound4eps; synthetic tests do not certify those datasets.

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

metric: invariant and cost

Relative metric is undefined at0 and deliberately excluded; this is not a zero-reference accuracy claim.

erf fault adds1 to first output; synthetic erf0 confirms hook, without running frozen Boost points.

Scope-specific cost: O(rows) filtering and discrepancy scan plus interpreter vector execution; O(rows) references/results, zero references removed before call.

models

behavior_complement

Zero/subnormal/NaN/infinite reference values do not contribute. max_eps0 leaves worst_xNaN; ties do not update worst.

reverse_reconstruction

Stat admits all row sets with same normal count and maximum relative discrepancy, including arbitrary excluded rows; worst_x alone not full error curve.

zero_metric

Relative metric is undefined at0 and deliberately excluded; this is not a zero-reference accuracy claim.

fault_witness

erf fault adds1 to first output; synthetic erf0 confirms hook, without running frozen Boost points.

branch_relation

measure retains normal reference values only; e=abs((got-want)/want)/EPSILON with NaN got=>infinity, strict greater updates first worst. Existing CASES bound4eps; synthetic tests do not certify those datasets.

resource_cost

O(rows) filtering and discrepancy scan plus interpreter vector execution; O(rows) references/results, zero references removed before call.

tests

Evidence boundary

See ../tests.md for the actual selected source test and mutant. These tests sample the file, not every fragment branch. Zero/subnormal/NaN/infinite reference values do not contribute. max_eps0 leaves worst_xNaN; ties do not update worst. 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/metric.groupant/