1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//! # 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
//!
//! 1. **Declared**: Every inference includes its source and reasoning
//! 2. **Bounded**: Inferred values have capped confidence (default 0.7)
//! 3. **Subordinate**: Self-report always overrides inference
//! 4. **Fast**: Sub-millisecond inference for real-time use
//!
//! ## Architecture
//!
//! ```text
//! [Message] ──→ [LinguisticFeatures] ──→ [AxisEstimate]
//! ~100μs │
//! ▼
//! [History] ──→ [DeltaAnalysis] ──────→ [BayesianUpdater] ──→ [StateEstimate]
//! ~500μs │
//! ▼
//! [Self-Report] ─────────────────────→ [Override (σ² → 0)]
//! ```
//!
//! ## Example
//!
//! ```rust
//! use attuned_infer::{InferenceEngine, InferredState};
//!
//! let engine = InferenceEngine::default();
//!
//! // Infer state from a message
//! let state = engine.infer("I need help ASAP, this is urgent!!!");
//!
//! // All estimates include source and confidence
//! if let Some(urgency) = state.get("urgency_sensitivity") {
//! println!("urgency: {:.2} (confidence: {:.2}, source: {:?})",
//! urgency.value, urgency.confidence, urgency.source);
//! }
//! ```
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;