mova-nightingale-judge
The groupant beside tools/nightingale/src/judge.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 | Forward approximant |
| Ast | partial | syntax.json |
| Composition | partial | Composition |
| Cost | partial | Cost |
| Descriptant | present | Descriptant |
| Invariant | partial | Invariant |
| Tests | finite 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.
| relation | type | label | where |
|---|---|---|---|
| Behavior complement | behavior complement | partial source derived model | Behavior complement |
| Reverse reconstruction | reverse reconstruction | partial source derived model | Reverse reconstruction |
Model text
Descriptant
Evidence and verdicts of words and phrases against alternatives (shares with the hand list's weights), the dependency method for long phrases, the substitution test and the etymology-free loan signals. Source: tools/nightingale/src/judge.rs.
Forward approximant
evidence: forms -> form or bigram count or chain, variety-shifted; judge: listed loan or alternative -> alternatives, shares, weighted shares, verdict natural/marked/rare/unknown; long phrases with a parser -> weakest dependency pattern; signals: orthography LLR, foreign tag share, English dictionary and frequency, rising trend; candidate at two.
Invariant
A listed loan keeps its raw count and examples (only its weight changes); unknown below min_evidence; a verdict is a function of the counts and the policy.
Cost
O(phrase length) lookups per phrase.
Composition
Parent: nightingale.
Behavior complement
Never bans a word; never asks anyone. Evidence status: source-derived model with finite checks, not a proof.
Reverse reconstruction
The judgement JSON carries every count, share and weight it used.
Tests
Checks
tests/model.rs: collocation, listed loan penalised but retrievable; english.rs frames. These are finite fixtures and measurements; not a proof.
History
2026-11-06 Ā· document
Epoch 2026-11-06
First model, written with the source (the Nightingale: one per language under the Eel; a standard naturalness model with variety deltas).
Provenance
This page in Markdown ā https://md.groupants.elamur.ai/free/en/mova/tools/nightingale/src/judge.rs.groupant/