pub struct AdmissionRecord {
pub schema: String,
pub dataset: DatasetId,
pub source: AdmissionSource,
pub license: LicenseTerms,
pub privacy: PrivacyBasis,
pub labeling: LabelingMethod,
pub systems_under_test: Vec<ModelRef>,
pub task_mapping: TaskMapping,
pub splits: SplitAssignment,
pub population: Population,
pub exposure: Exposure,
pub review: OwnerReview,
}Expand description
The record that admits one dataset manifest as qualification input (spec 023, 3.1). The owner writes and reviews it before any case is evaluated; Rustev checks that it is complete and agrees with the manifest, never that its statements are true. Its digest is the admission identity a qualification and every claim name. It holds no binary64 number: an agreement statistic is a Decimal string. The record and the data stay with the host, outside this repository (spec 023, 6.4).
Fields§
§schema: String§dataset: DatasetIdThe admitted manifest’s identity.
source: AdmissionSource§license: LicenseTerms§privacy: PrivacyBasis§labeling: LabelingMethod§systems_under_test: Vec<ModelRef>The models whose quality this dataset may qualify. Label independence is judged against them (3.1.4).
task_mapping: TaskMapping§splits: SplitAssignment§population: Population§exposure: Exposure§review: OwnerReviewTrait Implementations§
Source§impl Clone for AdmissionRecord
impl Clone for AdmissionRecord
Source§impl Debug for AdmissionRecord
impl Debug for AdmissionRecord
Source§impl<'de> Deserialize<'de> for AdmissionRecord
impl<'de> Deserialize<'de> for AdmissionRecord
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 Document for AdmissionRecord
impl Document for AdmissionRecord
Source§const SCHEMA: &'static str = DATASET_ADMISSION
const SCHEMA: &'static str = DATASET_ADMISSION
The schema string this document carries (spec 002, 3.2.1).
Source§const LIMITS: ParseLimits = REPLAY_V1
const LIMITS: ParseLimits = REPLAY_V1
The limit set its bytes are scanned against (spec 002, 3.2.5).
Source§fn parse(bytes: &[u8]) -> Result<Self, DocumentError>
fn parse(bytes: &[u8]) -> Result<Self, DocumentError>
Scan, deserialize and check the schema string.
Source§fn record_canonical(&self) -> Result<Vec<u8>, CanonicalError>where
Self: PartialEq,
fn record_canonical(&self) -> Result<Vec<u8>, CanonicalError>where
Self: PartialEq,
The record canonical bytes (spec 004, 5.6): the canonical bytes, with
finite fractional numbers written in shortest round-trip form.
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.impl Eq for AdmissionRecord
Source§impl Identified for AdmissionRecord
impl Identified for AdmissionRecord
type Id = ContentDigest
Source§impl PartialEq for AdmissionRecord
impl PartialEq for AdmissionRecord
Source§impl Serialize for AdmissionRecord
impl Serialize for AdmissionRecord
impl StructuralPartialEq for AdmissionRecord
Auto Trait Implementations§
impl Freeze for AdmissionRecord
impl RefUnwindSafe for AdmissionRecord
impl Send for AdmissionRecord
impl Sync for AdmissionRecord
impl Unpin for AdmissionRecord
impl UnsafeUnpin for AdmissionRecord
impl UnwindSafe for AdmissionRecord
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