pub struct BacktestReport {
pub total_cases: usize,
pub total_profiles: usize,
pub samples: Vec<BacktestSample>,
pub disagreements: Vec<BacktestDisagreement>,
pub profile_metrics: BTreeMap<String, ProfileMetrics>,
}Expand description
Aggregate output for profile backtesting over historical HARs.
Fields§
§total_cases: usizeNumber of cases in the input corpus.
total_profiles: usizeNumber of profiles replayed for each case.
samples: Vec<BacktestSample>Flattened case x profile matrix of results.
disagreements: Vec<BacktestDisagreement>Cases where profile predictions diverged.
profile_metrics: BTreeMap<String, ProfileMetrics>Aggregate metrics per profile (optional; computed on demand).
Trait Implementations§
Source§impl Clone for BacktestReport
impl Clone for BacktestReport
Source§fn clone(&self) -> BacktestReport
fn clone(&self) -> BacktestReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BacktestReport
impl Debug for BacktestReport
Source§impl<'de> Deserialize<'de> for BacktestReport
impl<'de> Deserialize<'de> for BacktestReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BacktestReport
impl PartialEq for BacktestReport
Source§impl Serialize for BacktestReport
impl Serialize for BacktestReport
impl StructuralPartialEq for BacktestReport
Auto Trait Implementations§
impl Freeze for BacktestReport
impl RefUnwindSafe for BacktestReport
impl Send for BacktestReport
impl Sync for BacktestReport
impl Unpin for BacktestReport
impl UnsafeUnpin for BacktestReport
impl UnwindSafe for BacktestReport
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