pub struct UncertaintySourceBreakdown {
pub query: f64,
pub db_state: f64,
pub result_set: f64,
pub primary: String,
}Expand description
Per-source uncertainty score contributions.
Allows agents to understand why uncertainty is high and which dimension to address first — rather than treating it as a single opaque number.
Fields§
§query: f64Contribution from query signals (ambiguous terms, generic query). Range [0.0, 1.0]; reduce by narrowing or adding domain terms.
db_state: f64Contribution from workspace/DB state (unannotated, clean-room). Range [0.0, 1.0]; reduce by annotating commits or running task-close.
result_set: f64Contribution from result-set quality (low count, missing layers, sparse index). Range [0.0, 1.0]; reduce by broadening the query or checking index coverage.
primary: StringWhich source dominates: “query” | “db_state” | “result_set” | “none”.
Trait Implementations§
Source§impl Clone for UncertaintySourceBreakdown
impl Clone for UncertaintySourceBreakdown
Source§impl Debug for UncertaintySourceBreakdown
impl Debug for UncertaintySourceBreakdown
Source§impl<'de> Deserialize<'de> for UncertaintySourceBreakdown
impl<'de> Deserialize<'de> for UncertaintySourceBreakdown
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UncertaintySourceBreakdown
impl RefUnwindSafe for UncertaintySourceBreakdown
impl Send for UncertaintySourceBreakdown
impl Sync for UncertaintySourceBreakdown
impl Unpin for UncertaintySourceBreakdown
impl UnsafeUnpin for UncertaintySourceBreakdown
impl UnwindSafe for UncertaintySourceBreakdown
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