attuned-infer
Fast, transparent inference of human state axes from natural language.
This crate provides declared, bounded, and subordinate inference - all estimates are auditable, confidence-bounded, and always overridable by self-report.
Design Principles
- Declared: Every inference includes its source and reasoning
- Bounded: Inferred values have capped confidence (default 0.7)
- Subordinate: Self-report always overrides inference
- Fast: Sub-millisecond inference for real-time use
Architecture
[Message] ──→ [LinguisticFeatures] ──→ [AxisEstimate]
~100μs │
▼
[History] ──→ [DeltaAnalysis] ──────→ [BayesianUpdater] ──→ [StateEstimate]
~500μs │
▼
[Self-Report] ─────────────────────→ [Override (σ² → 0)]
Example
use ;
let engine = default;
// Infer state from a message
let state = engine.infer;
// All estimates include source and confidence
if let Some = state.get