teacher-live-tests
The groupant beside teacher/tests/live.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 | partial | invariant-and-cost |
| descriptant | present | descriptant |
| invariant | partial | invariant-and-cost |
| tests | bounded or representation | 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 |
ignored_reachability | ignored_reachability | partial source derived model | ignored_reachability |
cleanup_prefix | cleanup_prefix | partial source derived model | cleanup_prefix |
model_environment | model_environment | partial source derived model | model_environment |
marker_information_loss | marker_information_loss | partial source derived model | marker_information_loss |
Model text
descriptant
teacher-live-tests
Epoch 2026-10-31
Prospective inspection identified this relation before additions: Ignored test resolves MOVA_TEACHER_MODEL, asks once with medium effort in a PID-derived temp path, unwraps result string, compares trim(result) with MOVA_TEACHER_OK, prints metadata, then removes the directory. Every unwrap failure prevents later effects.
The production implementation is unchanged; only selected inline tests are appended. Source-bound syntax is generated twice and compared. Native checks exercise bounded helpers; entry orchestration, teacher calls, models and corpora remain source-derived. Partial syntax is not semantic proof. Preserve failure prefixes and ambiguity when refining this model.
approximant
Forward relation
Ignored test resolves MOVA_TEACHER_MODEL, asks once with medium effort in a PID-derived temp path, unwraps result string, compares trim(result) with MOVA_TEACHER_OK, prints metadata, then removes the directory. Every unwrap failure prevents later effects.
Composition
Independent live diagnostic of mova_teacher; no caller edge to cycle or twin.
catalog
Typed observations: teacher-live-tests
Subject: teacher/tests/live.rs, SHA-256 4e7b2faef824448b23534bf455ab2a00bb3f6f1ee7a6870e1855bee5e7d3ccc7. Domain: bounded source inputs, declared filesystem/environment state and normal allocations. Each view is a partial source-derived relation, not a universal proof. Observation is one helper call or the explicitly described trace. Checks are in tests.md; unexecuted effects remain gaps.
behavior_complement
Ordinary harness scheduling excludes this ignored body; no ask occurs absent explicit ignored-test execution. An executed successful assertion excludes a different trimmed marker, not nondeterministic teacher behavior.
Scope: the bound source interval and stated assumptions. Evidence: source inspection plus the checks explicitly named in tests.md; no finite check establishes all inputs.
reverse_reconstruction
Passing result admits every trim-preimage of MOVA_TEACHER_OK and arbitrary provider/model/usage values. Metadata cannot reconstruct timing, transport or exact whitespace.
Scope: the bound source interval and stated assumptions. Evidence: source inspection plus the checks explicitly named in tests.md; no finite check establishes all inputs.
ignored_reachability
Default scheduling excludes #[ignore]; override changes reachability. This batch never changes that boundary.
Scope: the bound source interval and stated assumptions. Evidence: source inspection plus the checks explicitly named in tests.md; no finite check establishes all inputs.
cleanup_prefix
Cleanup follows ask, string unwrap, equality and printing. Earlier panic may leave artifacts; no finally cleanup.
Scope: the bound source interval and stated assumptions. Evidence: source inspection plus the checks explicitly named in tests.md; no finite check establishes all inputs.
model_environment
Compatible model selections follow mova_teacher::model(MOVA_TEACHER_MODEL); that external helper is not duplicated.
Scope: the bound source interval and stated assumptions. Evidence: source inspection plus the checks explicitly named in tests.md; no finite check establishes all inputs.
marker_information_loss
trim discards surrounding Unicode whitespace; equality says nothing about provenance or usage correctness.
Scope: the bound source interval and stated assumptions. Evidence: source inspection plus the checks explicitly named in tests.md; no finite check establishes all inputs.
tests
Checks and limits
Representation only: #[ignore] and ask call preserved in paired syntax. authenticated_teacher_smoke is NEVER invoked.
Exact native outcomes and command metadata are retained in the external wave33 cycle receipt bundle. Selected names run twice in debug and release; syntax is independently regenerated twice. Compiled mutations and source restoration receipts distinguish behavior changes from assertion-only controls. These claims are finalized in evidence.md. No live teacher, real model/corpus, benchmark CLI or lesson-learning CLI is run.
evidence
Wave33 evidence โ 2026-10-31
Across this nine-source slice, 14 exact native names passed twice in debug and twice in release (56 runs); sorted target-qualified outcomes agree. Six compiled behavior controls fail named assertions and exact restored bytes pass again. One exploratory parser-count control failed by unwrap panic; it was restored and replaced by a form-column assertion control. No assertion-only control is counted.
Nine syntax projections were generated twice and byte compared. Production source prefixes match the base exactly; four files append only formatted cfg(test) blocks. Local groupants validation reports valid=true, zero diagnostics. Counts: nine source roots, ten scoped children, 114 typed views.
See tests.md for this source's precise executed or representation-only coverage. Native evidence does not apply to ignored live teacher or lesson execution. No teacher/API, model/corpus, learning or benchmark CLI was run. Receipts retain numeric statuses, exact names, log/source hashes, original backups, unique mutation replacements and restoration assertions. The external bundle is named octopus-wave33-cycle-2026-10-31.
invariant-and-cost
Invariant and cost
Ordinary test invocation excludes this ignored body. Conditional success requires trimmed marker; provider/model/usage are printed without assertions.
External teacher dominates; trim O(result bytes), cleanup O(temp entries). No live measurement.
No executable percentage surrogate is claimed: effects, categorical acceptance and report text have no justified approximate metric here. Future profiles require a useful metric, zero case, reference and evidence at caps 1/2/5/10%.
This page in Markdown โ https://md.groupants.elamur.ai/free/en/mova/teacher/tests/live.rs.groupant/