pub struct ComparabilityKey {
pub experiment_id: ExperimentId,
pub dataset_asset_id: DatasetAssetId,
pub dataset_version: String,
pub dataset_content_hash: ContentHash,
pub evaluation_protocol_version: EvaluationProtocolVersion,
pub metric_pack: PluginRef,
pub reward_policy: PluginRef,
pub fitness: FitnessSpec,
pub run_config_hash: ContentHash,
pub genome_schema_version: u32,
pub feagi_core_version: String,
pub backend: BackendKind,
}Expand description
Everything that must match for two evaluations to be ranked against each other.
Two evaluations are comparable exactly when their keys are equal (==).
Fields§
§experiment_id: ExperimentIdExperiment the genome was evaluated in.
dataset_asset_id: DatasetAssetIdDataset asset scored against.
dataset_version: StringDataset version string.
dataset_content_hash: ContentHashContent hash binding the evaluation to exact dataset bytes and labels.
evaluation_protocol_version: EvaluationProtocolVersionEvaluation protocol semantics version.
metric_pack: PluginRefMetric pack that computed the metrics.
reward_policy: PluginRefReward policy used during training.
fitness: FitnessSpecFitness metric, split, and objective.
run_config_hash: ContentHashHash of the run settings (sample caps, class remap, bindings, burst frequency).
genome_schema_version: u32Genome schema version the genome was authored under.
feagi_core_version: Stringfeagi-core version of the runtime that ran the protocol.
backend: BackendKindExecution backend.
Trait Implementations§
Source§impl Clone for ComparabilityKey
impl Clone for ComparabilityKey
Source§impl Debug for ComparabilityKey
impl Debug for ComparabilityKey
Source§impl<'de> Deserialize<'de> for ComparabilityKey
impl<'de> Deserialize<'de> for ComparabilityKey
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
impl Eq for ComparabilityKey
Source§impl PartialEq for ComparabilityKey
impl PartialEq for ComparabilityKey
Source§impl Serialize for ComparabilityKey
impl Serialize for ComparabilityKey
impl StructuralPartialEq for ComparabilityKey
Auto Trait Implementations§
impl Freeze for ComparabilityKey
impl RefUnwindSafe for ComparabilityKey
impl Send for ComparabilityKey
impl Sync for ComparabilityKey
impl Unpin for ComparabilityKey
impl UnsafeUnpin for ComparabilityKey
impl UnwindSafe for ComparabilityKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more