#[non_exhaustive]pub struct Summary {
pub total: usize,
pub passed: usize,
pub failed: usize,
pub errors: usize,
pub pass_rate: f64,
pub duration_ms: u64,
pub usage: Usage,
pub judge_usage: Usage,
pub latency_ms: LatencySummary,
pub metrics: IndexMap<String, MetricSummary>,
pub trials: Option<TrialSummary>,
pub gate: GateResult,
}Expand description
Suite-level numbers.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.total: usize§passed: usize§failed: usize§errors: usize§pass_rate: f64passed / total (1 when there are no tests).
duration_ms: u64Wall time of the whole evaluation.
usage: Usage§judge_usage: UsageTokens the judge workflows used (not part of usage).
latency_ms: LatencySummary§metrics: IndexMap<String, MetricSummary>§trials: Option<TrialSummary>pass@k / pass^k (with more than one trial or a pass_hat_k gate).
gate: GateResultImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Summary
impl<'de> Deserialize<'de> for Summary
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
impl StructuralPartialEq for Summary
Auto Trait Implementations§
impl Forget for Summary
impl Freeze for Summary
impl Move for Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnsafeUnpin for Summary
impl UnwindSafe for Summary
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