---
title: "court-cli-arguments — Mova code model"
description: "Mova code model of yom-hadin/src/main.rs: components with their labels, obernants and the model text."
url: "https://groupants.elamur.ai/free/en/mova/yom-hadin/src/main.rs.groupant/arguments.groupant/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Research](https://md.research.elamur.ai/free/en/) · **Groupants**

This page as HTML: <https://groupants.elamur.ai/free/en/mova/yom-hadin/src/main.rs.groupant/arguments.groupant/>

# court-cli-arguments

The groupant beside yom-hadin/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

- **kind:** groupant_fragment
- **status:** partial source derived models
- **source:** [`yom-hadin/src/main.rs`](https://github.com/ElamurAI/mova-free/blob/main/yom-hadin/src/main.rs)
- **source SHA-256:** `28e5125a8b89752d…`
- **covers:** Independent first-flag lookup, positional consumption and Opts parsing. (bytes 1406–2875)
- **part of:** [court-cli](https://md.groupants.elamur.ai/free/en/mova/yom-hadin/src/main.rs.groupant/)
- **repository folder:** [`yom-hadin/src/main.rs.groupant/arguments.groupant`](https://github.com/ElamurAI/mova-free/tree/main/yom-hadin/src/main.rs.groupant/arguments.groupant)
- **repository commit:** `855da7bd4a7b`

> **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](#approximant) |
| **ast** | partial | `../syntax.json` |
| **cost** | partial | `model.md` |
| **descriptant** | present | [descriptant](#descriptant) |
| **invariant** | partial | [Invariant](#invariant) |
| **tests** | finite native checks | [tests](#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](#behavior-complement) |
| `reverse_reconstruction` | reverse_reconstruction | partial source derived model | [reverse_reconstruction](#reverse-reconstruction) |
| `bool_exemption` | bool_exemption | partial source derived model | [bool_exemption](#bool-exemption) |
| `first_occurrence` | first_occurrence | partial source derived model | [first_occurrence](#first-occurrence) |
| `weight_overwrite` | weight_overwrite | partial source derived model | [weight_overwrite](#weight-overwrite) |
| `numeric_parse_gap` | numeric_parse_gap | partial source derived model | [numeric_parse_gap](#numeric-parse-gap) |

## Model text


### descriptant

#### Independent first-flag lookup, positional consumption and Opts parsing.

##### Epoch 2026-10-31

Prospective review preceded test edits. Runtime logic unchanged; three sources gain tests. Synthetic witnesses do not validate legal conclusions.

Composition: flag finds first name+next token; positional consumes after nonboolean double-dash; opts constructs defaults and parsed map.

Retained limits: partial syntax, opaque macros; no live corpus, teacher, parser model, production filesystem or frozen gold. Complete semantics and executable approximants remain open.

### approximant

#### Forward model

Independent first-flag lookup, positional consumption and Opts parsing.

flag finds first name+next token; positional consumes after nonboolean double-dash; opts constructs defaults and parsed map.

Not an executable substitute. Percentage approximation is unsupported without a useful metric; future profiles limited to 1/2/5/10% require actual-reference comparison.

### models

## Typed models: Independent first-flag lookup, positional consumption and Opts parsing.

Subject: yom-hadin/src/main.rs, SHA-256 28e5125a8b89752d7ae43bef5e31afb5e2b166ecb2dcb42824ce3f568fdd9ecf. Domain: bounded finite synthetic rules/cases; valid indices and successful allocation unless a section narrows this. Each relation observes implementation, not legal authority. Status: partial source-derived model, finite evidence mapped in tests.md.

### behavior_complement

Malformed weight without '=' cannot succeed; positional cannot retain token immediately consumed after unknown --option.

Operator: stated relation on this source projection. Assumptions: named domain and unchanged dependencies. Evidence: tests.md maps finite observations; other branches remain source review only.

### reverse_reconstruction

Many arg vectors map to same Opts through defaults, ignored arguments and overwritten weights; positional output cannot recover consumed values.

Operator: stated relation on this source projection. Assumptions: named domain and unchanged dependencies. Evidence: tests.md maps finite observations; other branches remain source review only.

### bool_exemption

Only two BOOL_FLAGS avoid consuming following positional token; all other double-dash names consume.

Operator: stated relation on this source projection. Assumptions: named domain and unchanged dependencies. Evidence: tests.md maps finite observations; other branches remain source review only.

### first_occurrence

flag ignores later duplicate option occurrences; final dangling name yields None.

Operator: stated relation on this source projection. Assumptions: named domain and unchanged dependencies. Evidence: tests.md maps finite observations; other branches remain source review only.

### weight_overwrite

Repeated jurisdiction weight key uses BTreeMap insert, preserving last value and sorted canonical output.

Operator: stated relation on this source projection. Assumptions: named domain and unchanged dependencies. Evidence: tests.md maps finite observations; other branches remain source review only.

### numeric_parse_gap

Invalid usize max/depth default; valid f64 NaN is admitted, requiring report domain restriction separately.

Operator: stated relation on this source projection. Assumptions: named domain and unchanged dependencies. Evidence: tests.md maps finite observations; other branches remain source review only.


### tests

#### Checks and evidence

External run label: octopus-wave31-court-2026-10-31; exact commands in native-commands.json, per-source observations in source-test-map.json, numeric exits and named outcomes in raw logs.

19 exact selected native tests twice debug and twice release execute actual linked code on bounded hand-built cases. CLI covers argument helpers only. Full extraction/model initialization, actual jurisdiction loading, protocol disk errors, resource exhaustion and malformed public lattices are unexecuted. Module declarations have compile evidence only.

Three compiled source-behavior mutants: count weight, precedence tie, modal tie; each requires compile success, named assertion failure, exact byte/hash restoration and positive rerun. Legacy fixture interventions count separately. Final observations: external evidence-summary.md.

This node observes: Independent first-flag lookup, positional consumption and Opts parsing.. Unmapped models remain source-derived/prospective, not verified by the whole test count.

Parent source witness map: [source-evidence.md](https://md.groupants.elamur.ai/free/en/mova/yom-hadin/src/main.rs.groupant/#source-evidence). Only the described fragment observation is supported; parent test names do not imply every fragment branch executed.

### invariant-and-cost

## Invariant and cost

### Invariant

Pure argument helpers have no filesystem/model effects; malformed weights return error.

### Cost

O(A*fixed option count+W log W), output strings copied.

Symbolic bounds, not timings. Resource exhaustion is not tested.
