pub struct ExecutionBundle {Show 18 fields
pub bundle_id: BundleId,
pub schema_version: u32,
pub plan_id: String,
pub graph_fingerprint: String,
pub campaign_fingerprint: String,
pub controller_fingerprint: String,
pub selected_variant_id: Option<VariantId>,
pub selections: BTreeMap<String, SelectionDecision>,
pub refit_artifacts: Vec<RefitArtifactRecord>,
pub prediction_requirements: Vec<BundlePredictionRequirement>,
pub prediction_caches: Vec<BundlePredictionCacheRecord>,
pub methods_hpo_resume_state: Option<MethodsHpoResumeState>,
pub conformal_calibration: Option<ConformalCalibrationRef>,
pub raw_artifact_payloads: BTreeMap<ArtifactId, Vec<u8>>,
pub scores: Option<ScoreSet>,
pub data_requirements: Vec<BundleDataRequirement>,
pub unsafe_flags: BTreeSet<String>,
pub metadata: BTreeMap<String, Value>,
}Fields§
§bundle_id: BundleId§schema_version: u32§plan_id: String§graph_fingerprint: String§campaign_fingerprint: String§controller_fingerprint: String§selected_variant_id: Option<VariantId>§selections: BTreeMap<String, SelectionDecision>§refit_artifacts: Vec<RefitArtifactRecord>§prediction_requirements: Vec<BundlePredictionRequirement>§prediction_caches: Vec<BundlePredictionCacheRecord>§methods_hpo_resume_state: Option<MethodsHpoResumeState>§conformal_calibration: Option<ConformalCalibrationRef>Typed reference to the outcome-owned conformal state. Keeping only a reference here prevents stale duplicate quantiles in a replay package.
raw_artifact_payloads: BTreeMap<ArtifactId, Vec<u8>>§scores: Option<ScoreSet>Native, cross-language score record for this run (per (node, partition, fold, level)).
Scores are scalars derived from y_true, safe for every partition — distinct from the
Validation-only prediction_caches. Optional + additive (legacy bundles have None).
data_requirements: Vec<BundleDataRequirement>§unsafe_flags: BTreeSet<String>§metadata: BTreeMap<String, Value>Implementations§
Source§impl ExecutionBundle
impl ExecutionBundle
Sourcepub fn from_json(json: &str) -> Result<ExecutionBundle, DagMlError>
pub fn from_json(json: &str) -> Result<ExecutionBundle, DagMlError>
Parse the published object-only bundle JSON representation and validate it.
pub fn validate(&self) -> Result<(), DagMlError>
pub fn validate_against_plan( &self, plan: &ExecutionPlan, ) -> Result<(), DagMlError>
pub fn validate_replay_envelopes( &self, envelopes: &BTreeMap<String, ExternalDataPlanEnvelope>, ) -> Result<(), DagMlError>
Trait Implementations§
Source§impl Clone for ExecutionBundle
impl Clone for ExecutionBundle
Source§fn clone(&self) -> ExecutionBundle
fn clone(&self) -> ExecutionBundle
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 ExecutionBundle
impl Debug for ExecutionBundle
Source§impl<'de> Deserialize<'de> for ExecutionBundle
impl<'de> Deserialize<'de> for ExecutionBundle
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecutionBundle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecutionBundle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExecutionBundle
impl PartialEq for ExecutionBundle
Source§impl Serialize for ExecutionBundle
impl Serialize for ExecutionBundle
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 ExecutionBundle
Auto Trait Implementations§
impl Freeze for ExecutionBundle
impl RefUnwindSafe for ExecutionBundle
impl Send for ExecutionBundle
impl Sync for ExecutionBundle
impl Unpin for ExecutionBundle
impl UnsafeUnpin for ExecutionBundle
impl UnwindSafe for ExecutionBundle
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