pub struct EvidenceQuality {
pub proof_has_commit: bool,
pub proof_has_tests: bool,
pub proof_has_files: bool,
pub proof_has_manual_validation: bool,
pub closure_summary_present: bool,
pub touched_symbols_annotated: bool,
pub evidence_quality_score: f64,
}Expand description
Per-field evidence quality breakdown for the task closure.
Fields§
§proof_has_commit: boolAt least one existing ledger entry carries a commit: tag (from annotate-commit).
proof_has_tests: bool--validated was passed OR evidence text mentions “test” / “spec” / “spec”.
proof_has_files: boolChanged files were resolved (touched_symbols_count > 0).
proof_has_manual_validation: bool--validated flag was explicitly set.
closure_summary_present: bool--proof was supplied with non-default text.
touched_symbols_annotated: boolAt least one symbol was annotated (entries written > 0).
evidence_quality_score: f64Fraction of the six boolean fields that are true, rounded to 2 d.p.
Implementations§
Trait Implementations§
Source§impl Clone for EvidenceQuality
impl Clone for EvidenceQuality
Source§impl Debug for EvidenceQuality
impl Debug for EvidenceQuality
Source§impl<'de> Deserialize<'de> for EvidenceQuality
impl<'de> Deserialize<'de> for EvidenceQuality
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
Auto Trait Implementations§
impl Freeze for EvidenceQuality
impl RefUnwindSafe for EvidenceQuality
impl Send for EvidenceQuality
impl Sync for EvidenceQuality
impl Unpin for EvidenceQuality
impl UnsafeUnpin for EvidenceQuality
impl UnwindSafe for EvidenceQuality
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