pub enum QualificationError {
Schema,
Incomplete(&'static str),
NotAdmitted,
Config(String),
LabelsNotIndependent {
producer: ModelRef,
},
UndeclaredSystem,
CalibrationVoid {
calibration: String,
reason: String,
},
Slice(String),
Supersedes(String),
ConfigChanged {
frozen: EvaluatorConfigId,
found: EvaluatorConfigId,
},
Report {
role: &'static str,
reason: String,
},
}Expand description
Why a qualification step refused.
Variants§
Schema
Incomplete(&'static str)
NotAdmitted
No admission record for this dataset, or one for another dataset (spec 023, I-1): refused as qualification input.
Config(String)
The configuration is not the one frozen, or cannot be frozen.
LabelsNotIndependent
A frozen model labeled the data or shares a labeler’s family.
UndeclaredSystem
The admission did not judge independence against this model.
CalibrationVoid
A calibration lacks lineage, or was fitted on or with final-test data: the qualification is void (spec 004, 3.6.4).
Slice(String)
A slice without a frozen minimum, or a minimum for no slice.
Supersedes(String)
A replacement qualification reuses the old final test (3.3.3).
ConfigChanged
A report under another configuration than the frozen one: a new qualification is required; this result is not the frozen one.
Report
A report that is not of the frozen dataset, split, cases or bindings, a role missing or repeated, or a detail not bound to it.
Trait Implementations§
Source§impl Clone for QualificationError
impl Clone for QualificationError
Source§impl Debug for QualificationError
impl Debug for QualificationError
Source§impl Display for QualificationError
impl Display for QualificationError
impl Eq for QualificationError
Source§impl Error for QualificationError
impl Error for QualificationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()