pub struct DecisionReplayReport {Show 15 fields
pub cumulative_reward: f64,
pub approximate_regret: f64,
pub baseline_cumulative_reward: f64,
pub reward_over_baseline: f64,
pub per_arm_pulls: Vec<u64>,
pub pending: usize,
pub completed: usize,
pub expired: usize,
pub missing_feedback: usize,
pub duplicate_feedback: usize,
pub rejected: usize,
pub generation_transitions: usize,
pub drift_events: usize,
pub feedback_latency: Option<FeedbackLatencySummary>,
pub deterministic_replay_digest: String,
}Available on crate feature
bandit only.Expand description
Replay result. Regret is only accumulated for records that provide an
optimal_reward; baseline comparison only uses records that provide a
baseline_reward.
Fields§
§cumulative_reward: f64§approximate_regret: f64§baseline_cumulative_reward: f64§reward_over_baseline: f64§per_arm_pulls: Vec<u64>§pending: usize§completed: usize§expired: usize§missing_feedback: usize§duplicate_feedback: usize§rejected: usize§generation_transitions: usize§drift_events: usize§feedback_latency: Option<FeedbackLatencySummary>§deterministic_replay_digest: StringStable, non-cryptographic FNV-1a digest of accepted replay facts.
Trait Implementations§
Source§impl Clone for DecisionReplayReport
impl Clone for DecisionReplayReport
Source§fn clone(&self) -> DecisionReplayReport
fn clone(&self) -> DecisionReplayReport
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 DecisionReplayReport
impl Debug for DecisionReplayReport
Source§impl PartialEq for DecisionReplayReport
impl PartialEq for DecisionReplayReport
impl StructuralPartialEq for DecisionReplayReport
Auto Trait Implementations§
impl Freeze for DecisionReplayReport
impl RefUnwindSafe for DecisionReplayReport
impl Send for DecisionReplayReport
impl Sync for DecisionReplayReport
impl Unpin for DecisionReplayReport
impl UnsafeUnpin for DecisionReplayReport
impl UnwindSafe for DecisionReplayReport
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