Adds a `trit_signal()` method to `Confidence` that maps a scalar confidence score to a ternary trit value: - >= 0.65 → Affirm (high confidence — act) - 0.35..0.65 → Tend (uncertain — defer to human review) - < 0.35 → Reject (low confidence — discard / retry) The Tend state is the key addition: it provides an explicit "I need more data" signal rather than forcing a binary yes/no when confidence is genuinely ambiguous. This maps naturally to EU AI Act Article 14 human oversight requirements. This is a purely additive change: - `Confidence(f32)` and all existing API surface are unchanged - `trit_signal()` is gated behind `features = ["ternlang"]` - Dependency: `ternlang-core = "0.3"` (crates.io), optional - No breaking changes, no existing tests affected |
||
|---|---|---|
| .. | ||
| .claude-flow | ||
| crates | ||
| data | ||
| docs | ||
| examples | ||
| patches/ruvector-crv | ||
| Cargo.lock | ||
| Cargo.toml | ||