pub struct TemplateProbes {
pub outcomes: BTreeMap<String, u64>,
pub scored_vs_historical: u64,
pub bps_vs_historical_total: i64,
pub pairs_vs_same_state: u64,
pub bps_vs_same_state_total: f64,
pub notional_usd: f64,
pub weighted_bps_usd: f64,
}Fields§
§outcomes: BTreeMap<String, u64>filled, reverted_*, unattributed, unsimulatable — the keys the run metrics
count, so report and log reconcile.
scored_vs_historical: u64Probes with a recorded template-vs-historical change.
bps_vs_historical_total: i64Sum of the recorded output_bps, which the writer clamps.
pairs_vs_same_state: u64Probes where both the template and the same-state original filled — the like-for-like.
bps_vs_same_state_total: f64Computed here, unclamped: a ratio of two same-state simulations of one hop is structurally bounded where a market ratio would not be.
notional_usd: f64Dollars behind scored_vs_historical, and those probes’ bps weighted by them. Zero when
the range priced no mint the probes traded.
weighted_bps_usd: f64Trait Implementations§
Source§impl Clone for TemplateProbes
impl Clone for TemplateProbes
Source§impl Default for TemplateProbes
impl Default for TemplateProbes
Auto Trait Implementations§
impl Freeze for TemplateProbes
impl RefUnwindSafe for TemplateProbes
impl Send for TemplateProbes
impl Sync for TemplateProbes
impl Unpin for TemplateProbes
impl UnsafeUnpin for TemplateProbes
impl UnwindSafe for TemplateProbes
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