pub struct EvidenceReport {
pub source: String,
pub measurement: String,
pub value: Value,
pub threshold: Option<f64>,
pub floor: Option<f64>,
pub passes_threshold: Option<bool>,
pub below_floor: Option<bool>,
pub reliability_percentile: u8,
pub provenance: ProvenanceReport,
}Expand description
Evidence report with threshold comparison information.
Wraps Evidence with computed threshold and floor comparisons.
Fields§
§source: StringSource identifier (e.g., “arc-agi-3”, “metr-80pct-time-horizon”).
measurement: StringMeasurement identifier within the source.
value: ValueMeasurement value (fraction, hours, or other).
threshold: Option<f64>Threshold value for this source (if known).
floor: Option<f64>Floor value for this source (if known).
passes_threshold: Option<bool>Whether value passes threshold.
below_floor: Option<bool>Whether value is below floor.
reliability_percentile: u8Reliability percentile of the measurement.
provenance: ProvenanceReportProvenance metadata for the measurement.
Trait Implementations§
Source§impl Clone for EvidenceReport
impl Clone for EvidenceReport
Source§fn clone(&self) -> EvidenceReport
fn clone(&self) -> EvidenceReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EvidenceReport
impl Debug for EvidenceReport
Source§impl<'de> Deserialize<'de> for EvidenceReport
impl<'de> Deserialize<'de> for EvidenceReport
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
Source§impl JsonSchema for EvidenceReport
impl JsonSchema for EvidenceReport
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for EvidenceReport
impl RefUnwindSafe for EvidenceReport
impl Send for EvidenceReport
impl Sync for EvidenceReport
impl Unpin for EvidenceReport
impl UnsafeUnpin for EvidenceReport
impl UnwindSafe for EvidenceReport
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