#[non_exhaustive]pub struct CaseSummary {
pub id: String,
pub trials: u32,
pub passed: u32,
pub pass_rate: f64,
pub pass_at_k: f64,
pub pass_hat_k: f64,
pub mean_score: f64,
}Expand description
One test case over its trials.
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.id: String§trials: u32§passed: u32§pass_rate: f64passed / trials.
pass_at_k: f641 - C(n-c, k) / C(n, k): at least one of k trials passes.
pass_hat_k: f64C(c, k) / C(n, k): all k trials pass.
mean_score: f64Trait Implementations§
Source§impl Clone for CaseSummary
impl Clone for CaseSummary
Source§impl Debug for CaseSummary
impl Debug for CaseSummary
Source§impl Default for CaseSummary
impl Default for CaseSummary
Source§impl<'de> Deserialize<'de> for CaseSummary
impl<'de> Deserialize<'de> for CaseSummary
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 CaseSummary
impl PartialEq for CaseSummary
Source§impl Serialize for CaseSummary
impl Serialize for CaseSummary
impl StructuralPartialEq for CaseSummary
Auto Trait Implementations§
impl Forget for CaseSummary
impl Freeze for CaseSummary
impl Move for CaseSummary
impl RefUnwindSafe for CaseSummary
impl Send for CaseSummary
impl Sync for CaseSummary
impl Unpin for CaseSummary
impl UnsafeUnpin for CaseSummary
impl UnwindSafe for CaseSummary
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