gparse-data-projection
The groupant beside gparse/src/data.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 checks | 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 |
row_filter | row_filter | partial source derived model | row_filter |
empty_flush | empty_flush | partial source derived model | empty_flush |
serialization_projection | serialization_projection | partial source derived model | serialization_projection |
head_parse | head_parse | partial source derived model | head_parse |
Model text
descriptant
Source-bound description
read/write project CoNLL-U to retained 8-column Word state and renumber on output.
Epoch 2026-10-31
Prospective model was recorded before edits. Added tests use bounded synthetic fixtures; production algorithms unchanged. Coverage is partial, not proof. No trained corpus, live teacher or throughput experiment was executed.
approximant
Forward approximant
read/write project CoNLL-U to retained 8-column Word state and renumber on output.
Domain: valid source-specific dimensions and resources stated in invariant; no automatic production substitution. Numerical observations are finite checks, not an end-to-end relative bound. Executable Rust surrogate: unsupported gap; existing exact tests are not surrogates. Future metric-specific caps may be 1/2/5/10%, never above 10%.
invariant
Invariant and cost
Empty input produces no sentences; malformed heads become zero, comments-only blocks disappear.
Cost
O(input bytes) scanning/formatting plus retained words/comments.
Allocation, finite arithmetic, platform dimensions and external failures are not universally certified.
models
Typed model catalog
behavior_complement
Range/decimal rows cannot enter Word output; invalid head does not produce an error.
reverse_reconstruction
Ignored ID rows and DEPS/MISC cannot be reconstructed; all texts sharing retained words/comments are compatible.
row_filter
c.len()<8 or ID contains '-' or '.' skips before indexing fields.
empty_flush
Blank line emits only when words nonempty and always clears comments.
serialization_projection
write assigns indices1..n and DEPS/MISC underscores; roles are omitted.
head_parse
Malformed numeric head maps to zero, while parsed out-of-range head is preserved here.
tests
Checks and limits
Selected parent checks relevant to this fragment (not exhaustive): data::tests::features_line_up_with_words; data::cost_tests::cost_counts_real_batch_shapes_and_filters_skipped_sentences; data::wave30::projection_roles_and_zero_budget
Selected commands run twice debug and twice release; exact receipts and source-to-test mapping retained in wave30 gparse external run directory. Tests do not certify allocation failure, all NaN/overflow inputs, trained-model accuracy or corpus timing. Compiled mutants cover selected boundaries; per-source coverage is recorded in the external map, not presumed.
This page in Markdown โ https://md.groupants.elamur.ai/free/en/mova/gparse/src/data.rs.groupant/projection.groupant/