pub struct EnhancedInjectionConfig {
pub multi_stage_schemes_enabled: bool,
pub scheme_probability: f64,
pub correlated_injection_enabled: bool,
pub temporal_clustering_enabled: bool,
pub period_end_multiplier: f64,
pub near_miss_enabled: bool,
pub near_miss_proportion: f64,
pub approval_thresholds: Vec<Decimal>,
pub difficulty_classification_enabled: bool,
pub context_aware_enabled: bool,
pub behavioral_baseline_config: BehavioralBaselineConfig,
pub fraud_behavioral_bias: FraudBehavioralBiasConfig,
}Expand description
Enhanced injection configuration for v0.3.0+ features.
Fields§
§multi_stage_schemes_enabled: boolEnable multi-stage fraud scheme generation.
scheme_probability: f64Probability of starting a new scheme per perpetrator per year.
Enable correlated anomaly injection.
temporal_clustering_enabled: boolEnable temporal clustering (period-end spikes).
period_end_multiplier: f64Period-end anomaly rate multiplier.
near_miss_enabled: boolEnable near-miss generation.
near_miss_proportion: f64Proportion of anomalies that are near-misses.
approval_thresholds: Vec<Decimal>Approval thresholds for threshold-proximity near-misses.
difficulty_classification_enabled: boolEnable detection difficulty classification.
context_aware_enabled: boolEnable context-aware injection.
behavioral_baseline_config: BehavioralBaselineConfigBehavioral baseline configuration.
fraud_behavioral_bias: FraudBehavioralBiasConfigBehavioral bias applied to fraud entries so canonical forensic signals (weekend posting, round-dollar amounts, off-hours posting, post-close adjustments) show measurable lift on fraud vs legitimate populations. Defaults enable all four biases.
Trait Implementations§
Source§impl Clone for EnhancedInjectionConfig
impl Clone for EnhancedInjectionConfig
Source§fn clone(&self) -> EnhancedInjectionConfig
fn clone(&self) -> EnhancedInjectionConfig
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 EnhancedInjectionConfig
impl Debug for EnhancedInjectionConfig
Source§impl Default for EnhancedInjectionConfig
impl Default for EnhancedInjectionConfig
Source§fn default() -> EnhancedInjectionConfig
fn default() -> EnhancedInjectionConfig
Auto Trait Implementations§
impl Freeze for EnhancedInjectionConfig
impl RefUnwindSafe for EnhancedInjectionConfig
impl Send for EnhancedInjectionConfig
impl Sync for EnhancedInjectionConfig
impl Unpin for EnhancedInjectionConfig
impl UnsafeUnpin for EnhancedInjectionConfig
impl UnwindSafe for EnhancedInjectionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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<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.