pub enum TpsGrade {
ToyotaStandard,
KaizenRequired,
AndonWarning,
StopTheLine,
}Expand description
TPS-aligned quality grades from Section 9.2 of EDD spec.
Variants§
ToyotaStandard
95-100%: Release OK
KaizenRequired
85-94%: Beta with documented limitations
AndonWarning
70-84%: Significant revision required
StopTheLine
<70% or Critical failure: Block release
Implementations§
Source§impl TpsGrade
impl TpsGrade
Sourcepub fn from_score(score: f64) -> Self
pub fn from_score(score: f64) -> Self
Calculate TPS grade from a compliance score (0.0 to 1.0).
Sourcepub fn from_violations(violations: &[EddViolation], total_checks: usize) -> Self
pub fn from_violations(violations: &[EddViolation], total_checks: usize) -> Self
Calculate TPS grade from violations.
Any critical violation results in StopTheLine regardless of score.
Sourcepub const fn score_range(&self) -> &'static str
pub const fn score_range(&self) -> &'static str
Get the score range for this grade.
Trait Implementations§
Source§impl Ord for TpsGrade
impl Ord for TpsGrade
Source§impl PartialOrd for TpsGrade
impl PartialOrd for TpsGrade
impl Copy for TpsGrade
impl Eq for TpsGrade
impl StructuralPartialEq for TpsGrade
Auto Trait Implementations§
impl Freeze for TpsGrade
impl RefUnwindSafe for TpsGrade
impl Send for TpsGrade
impl Sync for TpsGrade
impl Unpin for TpsGrade
impl UnsafeUnpin for TpsGrade
impl UnwindSafe for TpsGrade
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ValidateIp for Twhere
T: ToString,
impl<T> ValidateIp for Twhere
T: ToString,
Source§fn validate_ipv4(&self) -> bool
fn validate_ipv4(&self) -> bool
Validates whether the given string is an IP V4
Source§fn validate_ipv6(&self) -> bool
fn validate_ipv6(&self) -> bool
Validates whether the given string is an IP V6
Source§fn validate_ip(&self) -> bool
fn validate_ip(&self) -> bool
Validates whether the given string is an IP