Skip to main content

Module mock

Module mock 

Source
Expand description

In-memory mock decision engine implementation for testing. MockEngine — Phase 1 placeholder for a real model.

It returns deterministic but plausibly-shaped answers so we can test the full HTTP/gRPC/CLI path without loading any weights. Drop in the candle or GGUF engine in Phase 2 and the server is unchanged.

Structs§

MockEngine
A mock that returns distributions seeded from (id, instructions). Always satisfies sum-to-1 and confidence-in-range so the validator passes.