pub enum DecisionSource {
Override,
TestsPassed,
Dimensions,
Ambiguous,
LlmClassifier,
FallOpen,
}Expand description
What produced a decision — for stats and explainability.
Each is stamped by the component that knows it, so a turn’s final label names
whoever actually decided it. Ambiguous is the exception:
the signal scorer records it on its way out, and whichever classifier resolves
the turn overwrites it.
Variants§
Override
Hard override (critical severity or context compaction).
TestsPassed
Settled run: recent tests passed with recent production and no error.
Dimensions
Scorer crossed confidence_threshold.
Ambiguous
Scorer was not confident, so the signals did not decide this turn.
LlmClassifier
An LLM classifier behind the signals decided the turn.
FallOpen
Nothing resolved the turn, so it landed on the picker’s default tier.
Implementations§
Trait Implementations§
Source§impl Clone for DecisionSource
impl Clone for DecisionSource
Source§fn clone(&self) -> DecisionSource
fn clone(&self) -> DecisionSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecisionSource
impl Debug for DecisionSource
Source§impl PartialEq for DecisionSource
impl PartialEq for DecisionSource
impl Copy for DecisionSource
impl Eq for DecisionSource
impl StructuralPartialEq for DecisionSource
Auto Trait Implementations§
impl Freeze for DecisionSource
impl RefUnwindSafe for DecisionSource
impl Send for DecisionSource
impl Sync for DecisionSource
impl Unpin for DecisionSource
impl UnsafeUnpin for DecisionSource
impl UnwindSafe for DecisionSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more