pub struct Evidence {
pub runs: usize,
pub sessions_read: usize,
pub model: String,
pub tool_calls: u64,
pub tool_errors: u64,
pub tool_error_rate: Option<f64>,
pub ended_on_failed_call: usize,
pub ended_on_failed_call_rate: Option<f64>,
pub compactions: u64,
pub stop_causes: Vec<(String, usize)>,
pub findings: Vec<String>,
}Expand description
Everything the diagnostician is allowed to be handed about a corpus.
Numbers and findings. There is no field for a transcript excerpt, no constructor that takes one, and that absence is the safety property — see the module docs.
Fields§
§runs: usize§sessions_read: usize§model: String§tool_calls: u64§tool_errors: u64§tool_error_rate: Option<f64>§ended_on_failed_call: usize§ended_on_failed_call_rate: Option<f64>§compactions: u64§stop_causes: Vec<(String, usize)>§findings: Vec<String>What doctor said, verbatim — machine-authored text, not third-party.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Evidence
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnsafeUnpin for Evidence
impl UnwindSafe for Evidence
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