pub struct MatrixRunReport {
pub cells: Vec<MatrixCellResult>,
}Expand description
Accumulated results for one matrix run.
The report is evidence produced by a runner invocation. Gaps remain visible as cells, while fidelity counts only pass and fail cells so declared gaps do not inflate or reduce the score.
Fields§
§cells: Vec<MatrixCellResult>Matrix cells produced by the run.
Implementations§
Source§impl MatrixRunReport
impl MatrixRunReport
Sourcepub fn pass_count(&self) -> usize
pub fn pass_count(&self) -> usize
Number of passing cells.
Sourcepub fn fail_count(&self) -> usize
pub fn fail_count(&self) -> usize
Number of failing cells.
Sourcepub fn language_fidelity(&self, language: &Symbol) -> Option<f32>
pub fn language_fidelity(&self, language: &Symbol) -> Option<f32>
Fidelity for one language: passes divided by passes plus failures,
ignoring declared gaps. Returns None when no pass-or-fail cells exist.
Sourcepub fn conformance_card_fields(
&self,
cx: &mut Cx,
language: &Symbol,
) -> Result<Vec<(Symbol, Value)>>
pub fn conformance_card_fields( &self, cx: &mut Cx, language: &Symbol, ) -> Result<Vec<(Symbol, Value)>>
Produces Card fields for one language’s browseable conformance surface.
These fields answer how much of a language profile is backed by current matrix evidence for agents and humans browsing the Card.
Sourcepub fn unscored_conformance_card_fields(
cx: &mut Cx,
) -> Result<Vec<(Symbol, Value)>>
pub fn unscored_conformance_card_fields( cx: &mut Cx, ) -> Result<Vec<(Symbol, Value)>>
Produces zero-count conformance Card fields with unscored fidelity.
Sourcepub fn publish_claims(&self, cx: &mut Cx) -> Result<()>
pub fn publish_claims(&self, cx: &mut Cx) -> Result<()>
Writes one evidence claim per cell into the claim store.
Trait Implementations§
Source§impl Clone for MatrixRunReport
impl Clone for MatrixRunReport
Source§fn clone(&self) -> MatrixRunReport
fn clone(&self) -> MatrixRunReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MatrixRunReport
impl Debug for MatrixRunReport
impl Eq for MatrixRunReport
Source§impl PartialEq for MatrixRunReport
impl PartialEq for MatrixRunReport
Source§fn eq(&self, other: &MatrixRunReport) -> bool
fn eq(&self, other: &MatrixRunReport) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MatrixRunReport
Auto Trait Implementations§
impl Freeze for MatrixRunReport
impl RefUnwindSafe for MatrixRunReport
impl Send for MatrixRunReport
impl Sync for MatrixRunReport
impl Unpin for MatrixRunReport
impl UnsafeUnpin for MatrixRunReport
impl UnwindSafe for MatrixRunReport
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
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§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.