pub struct ImplementedScore {
pub passed: u8,
pub ran: u8,
pub declared: usize,
}Expand description
A QA score carrying the denominator it was measured against.
dogfood-0.63.0, issue #2394 finding 12: apr validate printed
✓ VALID 3/100 points for a healthy model. Read literally that is a 3%
model waved through. It is not: most of the checklist is Skip("Not implemented") stubs that never ran — measured on
qwen2.5-coder-0.5b-instruct.apr, 4 of the 26 declared checks actually
ran. “100” was never the denominator anything was measured against. A
score is meaningless without the number of checks that produced it, so the
two travel together and Display refuses to print one without the other.
Fields§
§passed: u8Checks that ran and passed.
ran: u8Checks that ran at all (Pass / Fail / Warn — not Skip).
declared: usizeChecks declared by the checklist, run or not.
Implementations§
Source§impl ImplementedScore
impl ImplementedScore
Sourcepub fn not_implemented(&self) -> usize
pub fn not_implemented(&self) -> usize
Checks the checklist declares but has not implemented.
Trait Implementations§
Source§impl Clone for ImplementedScore
impl Clone for ImplementedScore
Source§fn clone(&self) -> ImplementedScore
fn clone(&self) -> ImplementedScore
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ImplementedScore
Source§impl Debug for ImplementedScore
impl Debug for ImplementedScore
Source§impl Display for ImplementedScore
impl Display for ImplementedScore
impl Eq for ImplementedScore
Source§impl PartialEq for ImplementedScore
impl PartialEq for ImplementedScore
impl StructuralPartialEq for ImplementedScore
Auto Trait Implementations§
impl Freeze for ImplementedScore
impl RefUnwindSafe for ImplementedScore
impl Send for ImplementedScore
impl Sync for ImplementedScore
impl Unpin for ImplementedScore
impl UnsafeUnpin for ImplementedScore
impl UnwindSafe for ImplementedScore
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more