pub type DelayedContextualDecision = PendingDecision<Vec<f64>, usize>;Available on crate feature
bandit only.Expand description
LinUCB-oriented decision facts; the generic ledger remains algorithm-free.
Aliased Type§
pub struct DelayedContextualDecision {
pub id: DecisionId,
pub context: Vec<f64>,
pub action: usize,
pub created_at: u64,
pub expires_at: u64,
pub model_generation: u64,
}Fields§
§id: DecisionIdUnique identifier.
context: Vec<f64>Context presented to the decision policy.
action: usizeSelected action.
created_at: u64Caller-supplied decision timestamp.
expires_at: u64Last timestamp at which feedback is accepted, inclusively.
model_generation: u64Model generation that produced the action.