#[non_exhaustive]pub struct TrialSummary {
pub trials: u32,
pub k: u32,
pub pass_at_k: f64,
pub pass_hat_k: f64,
}Expand description
pass@k and pass^k over the test cases (--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.trials: u32Most trials of any test case.
k: u32§pass_at_k: f64Mean over the cases of the unbiased pass@k.
pass_hat_k: f64Mean over the cases of the unbiased pass^k.
Trait Implementations§
Source§impl Clone for TrialSummary
impl Clone for TrialSummary
Source§impl Debug for TrialSummary
impl Debug for TrialSummary
Source§impl Default for TrialSummary
impl Default for TrialSummary
Source§impl<'de> Deserialize<'de> for TrialSummary
impl<'de> Deserialize<'de> for TrialSummary
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 TrialSummary
impl PartialEq for TrialSummary
Source§impl Serialize for TrialSummary
impl Serialize for TrialSummary
impl StructuralPartialEq for TrialSummary
Auto Trait Implementations§
impl Forget for TrialSummary
impl Freeze for TrialSummary
impl Move for TrialSummary
impl RefUnwindSafe for TrialSummary
impl Send for TrialSummary
impl Sync for TrialSummary
impl Unpin for TrialSummary
impl UnsafeUnpin for TrialSummary
impl UnwindSafe for TrialSummary
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