DaatQuery: 8-feature market state representation DaatVerdict: KNOWN / MARGINAL / OUT_OF_DISTRIBUTION daat_classify: cosine RETRIEVE → magnitude GATE → local MODEL - Cosine finds nearest explored state (directional match) - Magnitude gate detects out-of-distribution states - Empty explored set → always OUT_OF_DISTRIBUTION 9 tests covering: known state, OOD, empty explored, marginal, result fields. No Unicode in code. All tests pass.
4 lines
125 B
Python
4 lines
125 B
Python
from malkhut.daat.core import DaatQuery, DaatVerdict, daat_classify
|
|
|
|
__all__ = ["DaatQuery", "DaatVerdict", "daat_classify"]
|