#[non_exhaustive]pub struct TrajectoryReplayRow {Show 16 fields
pub step: u64,
pub action: String,
pub patched: bool,
pub avg_err: Option<f64>,
pub goal: Option<String>,
pub l2_decision: Option<L2DecisionRecord>,
pub l2_gate_state: L2GateState,
pub l2_alpha: f64,
pub l2_expert_weights: BTreeMap<String, f64>,
pub l2_beta: f64,
pub l2_lyapunov_potential: f64,
pub l2_lyapunov_veto: bool,
pub l2_meta_cache_hit: bool,
pub l2_dayan_residual: f64,
pub l2_applied_policy: L2Policy,
pub l2_pending_policy: L2Policy,
}Available on crate feature
std only.Expand description
One parsed trajectory row with the fields shown in replay summaries.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.step: u64Kernel step number recorded in the row.
action: StringAction recorded for the step.
patched: boolWhether the step recorded an accepted patch.
avg_err: Option<f64>Average prediction error reported for the step.
goal: Option<String>Goal associated with the step, when present in the file.
l2_decision: Option<L2DecisionRecord>L2 arm-selection record, when present in the file.
l2_gate_state: L2GateStateCurrent L2 gate state.
l2_alpha: f64L2 policy learning-rate parameter.
l2_expert_weights: BTreeMap<String, f64>Current weights assigned to L2 experts.
l2_beta: f64L2 policy regularization parameter.
l2_lyapunov_potential: f64Current Lyapunov stability potential.
l2_lyapunov_veto: boolWhether the stability monitor vetoed an L2 change.
l2_meta_cache_hit: boolWhether the most recent L2 lookup hit the meta-cache.
l2_dayan_residual: f64Residual used by the L2 Dayan stability calculation.
l2_applied_policy: L2PolicyL2 policy currently applied at the control boundary.
l2_pending_policy: L2PolicyL2 policy proposed but not yet applied.
Trait Implementations§
Source§impl Clone for TrajectoryReplayRow
impl Clone for TrajectoryReplayRow
Source§impl Debug for TrajectoryReplayRow
impl Debug for TrajectoryReplayRow
Auto Trait Implementations§
impl Forget for TrajectoryReplayRow
impl Freeze for TrajectoryReplayRow
impl Move for TrajectoryReplayRow
impl RefUnwindSafe for TrajectoryReplayRow
impl Send for TrajectoryReplayRow
impl Sync for TrajectoryReplayRow
impl Unpin for TrajectoryReplayRow
impl UnsafeUnpin for TrajectoryReplayRowwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, f64> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, f64)>>: UnsafeUnpin,
impl UnwindSafe for TrajectoryReplayRow
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