pub enum AdmissionError {
Show 13 variants
Schema,
Dataset(DatasetError),
Synthetic,
WrongDataset,
Incomplete(&'static str),
PrivacyDecisionMissing,
LabelsNotIndependent {
producer: ModelRef,
},
Adapter,
DuplicateMapping {
from: String,
},
MissingLabels {
declared: u64,
manifest: u64,
},
SplitCount {
split: &'static str,
},
Slice {
name: String,
},
Exposure {
case: String,
},
}Expand description
Why a dataset was not admitted.
Variants§
Schema
Dataset(DatasetError)
The manifest itself is refused (spec 004, 3.5.1).
Synthetic
Synthetic or generated data is never independent evidence of semantic quality (R-04).
WrongDataset
The record admits another manifest.
Incomplete(&'static str)
A required statement is empty.
PrivacyDecisionMissing
Derived from real user data without the owner’s privacy decision.
LabelsNotIndependent
A label producer is a system under test or of the same family.
Adapter
The mapping names another adapter than the manifest.
DuplicateMapping
A source label is mapped twice.
MissingLabels
Unmapped plus unlabeled cases differ from the manifest’s missing labels: some case was dropped or invented.
SplitCount
A split count differs from the manifest’s.
Slice
A slice is declared twice, is not a manifest subgroup, or its size differs from the manifest’s.
Exposure
An exposed case is not a final-test case of the manifest, or is listed twice.
Trait Implementations§
Source§impl Clone for AdmissionError
impl Clone for AdmissionError
Source§impl Debug for AdmissionError
impl Debug for AdmissionError
Source§impl Display for AdmissionError
impl Display for AdmissionError
impl Eq for AdmissionError
Source§impl Error for AdmissionError
impl Error for AdmissionError
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()