pub struct QualificationRecord {Show 15 fields
pub schema: String,
pub task: String,
pub dataset: DatasetId,
pub admission: ContentDigest,
pub config: EvaluatorConfigId,
pub candidate: CandidateBinding,
pub rules_baseline: ArtifactId,
pub exact_baseline: ExactBaseline,
pub calibrations: Vec<CalibrationId>,
pub min_final_test: u64,
pub min_slice: BTreeMap<String, u64>,
pub analysis: Vec<String>,
pub previous: Option<ContentDigest>,
pub supersedes: Option<ContentDigest>,
pub frozen_on: String,
}Expand description
What a qualification fixes before the final test (spec 023, 3.3.1). Its digest is the frozen identity. It holds no binary64 number.
Fields§
§schema: String§task: StringThe task qualified, as the host names it.
dataset: DatasetId§admission: ContentDigestThe admission record’s digest.
config: EvaluatorConfigIdThe evaluator configuration: gates, thresholds and minimum coverage are its own (spec 004, 3.5.8).
candidate: CandidateBinding§rules_baseline: ArtifactIdThe rules backend’s binding (spec 005).
exact_baseline: ExactBaseline§calibrations: Vec<CalibrationId>Calibration artifacts the calibrated candidate binds; empty when none.
min_final_test: u64The sample-size target: final-test cases, exposed ones excluded, below which every headline figure is unknown.
min_slice: BTreeMap<String, u64>The minimum size of each declared slice (spec 023, 6.2).
analysis: Vec<String>The metrics to be reported, each declared by the configuration.
previous: Option<ContentDigest>The previous qualified result for the same task, for regression.
supersedes: Option<ContentDigest>The qualification this one replaces after a change (3.3.3).
frozen_on: StringTrait Implementations§
Source§impl Clone for QualificationRecord
impl Clone for QualificationRecord
Source§impl Debug for QualificationRecord
impl Debug for QualificationRecord
Source§impl<'de> Deserialize<'de> for QualificationRecord
impl<'de> Deserialize<'de> for QualificationRecord
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>,
Source§impl Document for QualificationRecord
impl Document for QualificationRecord
Source§const SCHEMA: &'static str = QUALIFICATION
const SCHEMA: &'static str = QUALIFICATION
Source§const LIMITS: ParseLimits = REPLAY_V1
const LIMITS: ParseLimits = REPLAY_V1
Source§fn parse(bytes: &[u8]) -> Result<Self, DocumentError>
fn parse(bytes: &[u8]) -> Result<Self, DocumentError>
Source§fn record_canonical(&self) -> Result<Vec<u8>, CanonicalError>where
Self: PartialEq,
fn record_canonical(&self) -> Result<Vec<u8>, CanonicalError>where
Self: PartialEq,
Source§fn record_digest(&self) -> Result<ContentDigest, CanonicalError>where
Self: PartialEq,
fn record_digest(&self) -> Result<ContentDigest, CanonicalError>where
Self: PartialEq,
sha256(SCHEMA || 0x00 || record canonical bytes) (spec 004, 3.1.6).
Equal to the identity of an identified document.