pub struct CollateralPoint {
pub dose: f64,
pub on_target_effect: f64,
pub collateral: f64,
pub cross_feature: f64,
}Expand description
One dose sample on a collateral-damage curve (gam#2234 E2, the intrinsic Rust-owned counterpart of the model-in-the-loop KL frontier): the on-target effect and the off-target collateral of a single steering intervention, measured in the fitted dictionary’s own representation, with no LLM in the loop.
Fields§
§dose: f64The chart-coordinate dose applied to the target atom’s steered axis (radians / fraction-of-period, per the atom’s manifold).
on_target_effect: f64RMS-over-rows on-target effect: ‖proj_{T_k} Δ‖, the energy the
intervention deposits into the TARGET atom’s own local decode-tangent
frame T_k = ∂g_k/∂t at each row’s fitted operating point. This is the
intended landing — how loudly the knob turned the feature it names.
collateral: f64RMS-over-rows collateral: ‖Δ − proj_{T_k} Δ‖, the energy the SAME
intervention deposits OUTSIDE the target atom’s own local frame — the total
damage. The on-manifold move is a chord of atom k’s decoder curve, so its
off-target component is only the second-order sagitta (≈ 0, growing with
dose-curvature); a fixed flat direction is off the rotating target frame at
most rows, so its off-target energy is immediate. This is the direct
generalization of the single-move SteerPlan::off_manifold_norm guard to
a swept intervention.
cross_feature: f64RMS-over-rows CROSS-FEATURE leakage: sqrt(Σ_{j∈others} ‖proj_{T_j} Δ‖²),
the part of the move that lands on OTHER named atoms’ frames — the
interpretable “steering feature k spuriously moved feature j” damage, a
component of the total collateral.
Trait Implementations§
Source§impl Clone for CollateralPoint
impl Clone for CollateralPoint
Source§fn clone(&self) -> CollateralPoint
fn clone(&self) -> CollateralPoint
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CollateralPoint
impl Debug for CollateralPoint
Source§impl PartialEq for CollateralPoint
impl PartialEq for CollateralPoint
Source§impl Serialize for CollateralPoint
impl Serialize for CollateralPoint
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for CollateralPoint
Auto Trait Implementations§
impl Freeze for CollateralPoint
impl RefUnwindSafe for CollateralPoint
impl Send for CollateralPoint
impl Sync for CollateralPoint
impl Unpin for CollateralPoint
impl UnsafeUnpin for CollateralPoint
impl UnwindSafe for CollateralPoint
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.