pub enum DecisionRole {
Acting,
Shadow,
}Expand description
The role a DecisionEvent played in its run (R0.10 wave 2, the runtime
digital twin).
Additive to the R0.8 contract: absent from the wire when None, so every
pre-twin decision — all of which were made by the policy whose action
executed — keeps its exact shape. The twin is the first emitter that
records two decisions at one decision point (the shadow pair), which is
what makes the marker necessary: without it, off-policy evaluation cannot
tell the decision that bound the world from the one that merely scored
the same features.
Variants§
Acting
The decision whose selected action executed (the floor’s, in a twin shadow run).
Shadow
A candidate policy’s decision over the same features, journaled for off-policy evidence but never executed. Well-posed evidence requires the shadow’s true propensity; a shadow exploring by seeded draw is a stochastic policy with known propensities by construction.
Trait Implementations§
Source§impl Clone for DecisionRole
impl Clone for DecisionRole
Source§fn clone(&self) -> DecisionRole
fn clone(&self) -> DecisionRole
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more