Skip to main content

Module mock

Module mock 

Source
Expand description

The deterministic mock decision model.

Distributions are a pure function of (model id, canonical question serialization, state, row index): blake3-drawn uniforms, normalized, with the largest component corrected so the sum meets the producer tolerance (D5) exactly. Determinism is the point — contract tests, golden vectors, and the wire-overhead floor all pin exact bytes.

Test hook: a question whose instructions contain the literal [abstain] is answered with an abstention, so null-probability paths are exercisable on demand.

Structs§

MockDecisionModel
The deterministic mock.

Constants§

STUB_MODEL_ALIAS
The alias listed by GET /v1/models (and accepted, like every string, on requests).
STUB_MODEL_VERSION
The resolved model id the stub reports on every response. Alias resolution is part of the serving contract: any requested alias resolves to this versioned id.