gparse-cli-annotation
The groupant beside gparse/src/main.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 | unexecuted source derived scope | 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 |
score_comments | score_comments | partial source derived model | score_comments |
lexical_choice | lexical_choice | partial source derived model | lexical_choice |
relation_mapping | relation_mapping | partial source derived model | relation_mapping |
postverbal_projection | postverbal_projection | partial source derived model | postverbal_projection |
Model text
descriptant
Source-bound description
Annotate computes predictions/scores then updates tags/head/relations and lexical fields before postverbal-not and output serialization.
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
Annotate computes predictions/scores then updates tags/head/relations and lexical fields before postverbal-not and output serialization.
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
Root head forces root label; EModE table can refill even unchanged tags.
Cost
Inference cost plus O(words) lexical edits/serialization, output bytes write.
Allocation, finite arithmetic, platform dimensions and external failures are not universally certified.
models
Typed model catalog
behavior_complement
Output file write occurs only after prediction/lexical postprocessing succeed.
reverse_reconstruction
Serialized result loses original DEPS/MISC and lexical pre-edit fields; many annotations share output.
score_comments
If GP_SCORE present removes existing prefix comments and appends score with4 decimal places.
lexical_choice
Retagged calls fill; unchanged still consults EModE table.
relation_mapping
Head0 forces root; others use learned relation set fallback.
postverbal_projection
Postverbal correction writes relation only where returned head changed.
tests
Checks and limits
This exact fragment remains source-derived and unexecuted in this epoch. Parent/sibling selected evidence, not runtime coverage of this fragment: wave30::score_zip_and_plan_failure_precedence; train/eval/annotate external effects remain unexecuted
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/main.rs.groupant/annotation.groupant/