pub struct PortableRefitReplayOutcomeV3 {Show 17 fields
pub schema_version: u32,
pub outcome_id: String,
pub run_id: RunId,
pub source_package_fingerprint: String,
pub source_refit_outcome_fingerprint: String,
pub replay_request_id: String,
pub replay_request_fingerprint: String,
pub input_data_identities: Vec<ReplayDataIdentity>,
pub bundle_id: BundleId,
pub plan_id: String,
pub phase: Phase,
pub outputs: Vec<BoundTrainingOutput>,
pub explanations: Vec<ExplanationBlock>,
pub lineage: Vec<LineageRecord>,
pub warnings: Vec<String>,
pub diagnostics: BTreeMap<String, Value>,
pub outcome_fingerprint: String,
}Expand description
V3 replay evidence. This remains separate from TrainingReplayOutcome,
whose source reference proves an original CV/SELECT training outcome.
Fields§
§schema_version: u32§outcome_id: String§run_id: RunId§source_package_fingerprint: String§source_refit_outcome_fingerprint: String§replay_request_id: String§replay_request_fingerprint: String§input_data_identities: Vec<ReplayDataIdentity>§bundle_id: BundleId§plan_id: String§phase: Phase§outputs: Vec<BoundTrainingOutput>§explanations: Vec<ExplanationBlock>§lineage: Vec<LineageRecord>§warnings: Vec<String>§diagnostics: BTreeMap<String, Value>§outcome_fingerprint: StringImplementations§
Source§impl PortableRefitReplayOutcomeV3
impl PortableRefitReplayOutcomeV3
pub fn compute_fingerprint(&self) -> Result<String, DagMlError>
Sourcepub fn from_json_for_package(
json: &str,
package: &PortableRefitPackageV3,
request: &TrainingReplayRequest,
) -> Result<PortableRefitReplayOutcomeV3, DagMlError>
pub fn from_json_for_package( json: &str, package: &PortableRefitPackageV3, request: &TrainingReplayRequest, ) -> Result<PortableRefitReplayOutcomeV3, DagMlError>
Parse replay evidence only in the presence of the exact V3 child and replay request it claims to describe. A standalone deserializer would make both source fingerprints self-attested.
pub fn validate_against( &self, package: &PortableRefitPackageV3, request: &TrainingReplayRequest, ) -> Result<(), DagMlError>
Trait Implementations§
Source§impl Clone for PortableRefitReplayOutcomeV3
impl Clone for PortableRefitReplayOutcomeV3
Source§fn clone(&self) -> PortableRefitReplayOutcomeV3
fn clone(&self) -> PortableRefitReplayOutcomeV3
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 PortableRefitReplayOutcomeV3
impl Debug for PortableRefitReplayOutcomeV3
Source§impl<'de> Deserialize<'de> for PortableRefitReplayOutcomeV3
impl<'de> Deserialize<'de> for PortableRefitReplayOutcomeV3
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PortableRefitReplayOutcomeV3, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PortableRefitReplayOutcomeV3, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PortableRefitReplayOutcomeV3
impl Serialize for PortableRefitReplayOutcomeV3
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PortableRefitReplayOutcomeV3
Auto Trait Implementations§
impl Freeze for PortableRefitReplayOutcomeV3
impl RefUnwindSafe for PortableRefitReplayOutcomeV3
impl Send for PortableRefitReplayOutcomeV3
impl Sync for PortableRefitReplayOutcomeV3
impl Unpin for PortableRefitReplayOutcomeV3
impl UnsafeUnpin for PortableRefitReplayOutcomeV3
impl UnwindSafe for PortableRefitReplayOutcomeV3
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