pub struct Routing {
pub scores: Vec<SkillRoute>,
pub confidence: f32,
pub margin: f32,
pub novelty: f32,
pub is_novel: bool,
pub calibrated: bool,
}Expand description
The full routing decision for one prompt.
Fields§
§scores: Vec<SkillRoute>best-first
confidence: f32winner’s calibrated confidence (0 without calibration)
margin: f32leader margin in 1/(1+err) units
novelty: f32novelty ensemble score ∈ [0,1] (NaN without calibration)
is_novel: boolOOD verdict: calibrated θ when present, else E_min > fallback_tau
calibrated: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Routing
impl RefUnwindSafe for Routing
impl Send for Routing
impl Sync for Routing
impl Unpin for Routing
impl UnsafeUnpin for Routing
impl UnwindSafe for Routing
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