pub struct P4 {Show 15 fields
pub verdict: Verdict,
pub why: String,
pub cases: usize,
pub of: usize,
pub runs: usize,
pub checks: usize,
pub seeds: (usize, usize),
pub usd: f64,
pub applying: usize,
pub fit: String,
pub labels: u32,
pub baseline: Option<Arm>,
pub p4a: Option<Part>,
pub p4b: Option<Part>,
pub p4c: Option<Part>,
}Fields§
§verdict: Verdict§why: String§cases: usizeCases with runs, of the cases the qrels name; runs and graded checks read.
of: usize§runs: usize§checks: usize§seeds: (usize, usize)Fewest and most runs (seeds) per case.
usd: f64What a check’s model call cost, on average: the same call under every policy.
applying: usizeOf the checks, those that apply a lesson: P4a tests nothing without one, as every policy decides nothing there.
fit: StringThe store’s posterior P4b draws from (select/policy.rs Fit::key, empty for the prior) and the
labels it read.
labels: u32§baseline: Option<Arm>§p4a: Option<Part>P4a, P4b and P4c (module doc); None until the evaluation is complete. verdict is theirs by
the rules v2’s default rule: PASS when P4a and P4c pass and P4b passes or is NOT TESTED, FAIL
when one of them fails, NOT TESTED otherwise.
p4b: Option<Part>§p4c: Option<Part>Trait Implementations§
impl StructuralPartialEq for P4
Auto Trait Implementations§
impl Freeze for P4
impl RefUnwindSafe for P4
impl Send for P4
impl Sync for P4
impl Unpin for P4
impl UnsafeUnpin for P4
impl UnwindSafe for P4
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