pub struct EvaluationRequest {
pub dataset_version: String,
pub target_metric: String,
pub thresholds: EvaluationThresholds,
pub replay_evidence: Vec<JournalSnapshot>,
}Expand description
What an evaluator is asked to do: run candidate over the declared
evidence and produce the journaled CandidateEvaluation.
Wire-complete: the server’s evaluate route accepts it as the request
body.
Fields§
§dataset_version: StringThe dataset version both reports must name.
target_metric: StringThe metric the promotion gate reads.
thresholds: EvaluationThresholdsThe comparison thresholds.
replay_evidence: Vec<JournalSnapshot>The recorded run journals to re-drive with the candidate applied (the replay half’s evidence), already integrity-loadable.
Trait Implementations§
Source§impl Clone for EvaluationRequest
impl Clone for EvaluationRequest
Source§impl Debug for EvaluationRequest
impl Debug for EvaluationRequest
Source§impl<'de> Deserialize<'de> for EvaluationRequest
impl<'de> Deserialize<'de> for EvaluationRequest
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
Auto Trait Implementations§
impl Freeze for EvaluationRequest
impl RefUnwindSafe for EvaluationRequest
impl Send for EvaluationRequest
impl Sync for EvaluationRequest
impl Unpin for EvaluationRequest
impl UnsafeUnpin for EvaluationRequest
impl UnwindSafe for EvaluationRequest
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