---
title: "wordgraph-test-build — Mova code model"
description: "Mova code model of wordgraph/tests/build.rs: components with their labels, obernants and the model text."
url: "https://groupants.elamur.ai/free/en/mova/wordgraph/tests/build.rs.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/wordgraph/tests/build.rs.groupant/>

# wordgraph-test-build

The groupant beside wordgraph/tests/build.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
- **status:** partial source bound model
- **source:** [`wordgraph/tests/build.rs`](https://github.com/ElamurAI/mova-free/blob/main/wordgraph/tests/build.rs)
- **repository folder:** [`wordgraph/tests/build.rs.groupant`](https://github.com/ElamurAI/mova-free/tree/main/wordgraph/tests/build.rs.groupant)

> **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` |
| **Composition** | partial | [Composition](#composition) |
| **Cost** | partial | [Cost](#cost) |
| **Descriptant** | present | [Descriptant](#descriptant) |
| **Invariant** | partial | [Invariant](#invariant) |
| **Tests** | executed bounded 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.

| relation | 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) |

## Model text


### Descriptant

End-to-end check on a synthetic corpus of 2 × 3000 sentences (four noun–verb pairs at 90 %, two isa classes, a
frequent out-of-dictionary name): two builds byte-identical, reversed pass order identical, every list within its
bound, the expected top subjects, isa(dog, pet), the registry line, the hint, and the negative control.

### Approximant

signal(G) = mean PMI of the 4 true nsubj pairs − mean PMI of the 12 false ones. Asserts signal(real) > 1 bit and
|signal(shuffled)| < 0.3 bit.

### Invariant

The synthetic corpus is a pure function of its seeds (splitmix64), so the test is deterministic; each run uses a
fresh directory under the cargo target tmp dir.

### Cost

About 20 ms (2026-11-06).

### Composition

Drives `pass::run`, `compile::build` and `Graph` as a user would.

### Tests

This file is the test.

### Behavior complement

Does not check real-corpus quality, memory, or the CLI; does not clean its temporary directories.

### Reverse reconstruction

Not applicable: a check, not a transformation.

## Provenance

- **source SHA-256:** `1d9b5af89ae06e91…`
- **repository commit:** `c24d02b4c83b`
