pub struct CaseRunReport {
pub repetition: usize,
pub status: RunStatus,
pub passed: bool,
pub assertions: Vec<AssertionResult>,
pub judge: Option<JudgeVerdict>,
pub tool_calls: usize,
pub latency_ms: u64,
pub cost_usd: f64,
pub total_tokens: u64,
}Expand description
One case repetition, fully graded.
Fields§
§repetition: usizeThe 0-based repetition index.
status: RunStatusHow the run terminated.
passed: boolThe case-run verdict: run completed, every assertion passed, and the judge (when configured) passed.
assertions: Vec<AssertionResult>Every assertion verdict, with evidence.
judge: Option<JudgeVerdict>The judge’s verdict, when a judge is configured.
tool_calls: usizeNumber of journaled tool calls.
latency_ms: u64Wall latency of the run in milliseconds.
cost_usd: f64Total journaled cost of the run in USD.
total_tokens: u64Total tokens reported by the run’s model calls.
Trait Implementations§
Source§impl Clone for CaseRunReport
impl Clone for CaseRunReport
Source§fn clone(&self) -> CaseRunReport
fn clone(&self) -> CaseRunReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CaseRunReport
impl Debug for CaseRunReport
Source§impl<'de> Deserialize<'de> for CaseRunReport
impl<'de> Deserialize<'de> for CaseRunReport
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
Source§impl PartialEq for CaseRunReport
impl PartialEq for CaseRunReport
Source§impl Serialize for CaseRunReport
impl Serialize for CaseRunReport
impl StructuralPartialEq for CaseRunReport
Auto Trait Implementations§
impl Freeze for CaseRunReport
impl RefUnwindSafe for CaseRunReport
impl Send for CaseRunReport
impl Sync for CaseRunReport
impl Unpin for CaseRunReport
impl UnsafeUnpin for CaseRunReport
impl UnwindSafe for CaseRunReport
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