pub struct ConcentrationConfig {
pub enabled: bool,
pub source_conditional_rarity: Option<SourceConditionalRarityPassConfig>,
pub trading_partner_pool: Option<TradingPartnerPoolPassConfig>,
pub account_pair_substitution: Option<AccountPairSubstitutionPassConfig>,
pub source_blanking: Option<SourceBlankingPassConfig>,
pub consolidation_outlier: Option<ConsolidationOutlierPassConfig>,
}Expand description
Top-level configuration for the post-generation concentration pipeline.
Each sub-field is Option<_>; presence enables the corresponding pass.
enabled = false (default) disables the pipeline regardless of sub-fields,
matching the parent proposal’s “opt-in” guidance.
Fields§
§enabled: boolMaster switch. false (default) → pipeline is no-op.
source_conditional_rarity: Option<SourceConditionalRarityPassConfig>Phase 1: source-conditional rarity tagger (wraps shipped SOTA-12).
If also anomaly_injection.source_conditional_rarity_rate is set, this
field wins.
trading_partner_pool: Option<TradingPartnerPoolPassConfig>Phase 1: trading-partner pool resizing (closes SOTA-11.1 / #142).
account_pair_substitution: Option<AccountPairSubstitutionPassConfig>Phase 2: account-pair substitution against a corpus-derived PMF (closes SOTA-8.1 / #141). Defers to Phase 2 when wired.
source_blanking: Option<SourceBlankingPassConfig>Phase 1.5: blank-source post-process (closes SOTA-7 / #132). Nulls
sap_source_code on a configurable fraction of JEs to match the
corpus’s ~21% blank-source rate. Runs LAST in the pipeline so
earlier passes (SourceConditionalRarityPass,
AccountPairSubstitutionPass) see full source coverage.
consolidation_outlier: Option<ConsolidationOutlierPassConfig>v5.30 B2 (#154) — heavy-tail consolidation outlier emission.
Reshapes a small fraction of JEs (~0.001 typical) into
multi-100-line postings touching bridge / suspense / clearing
accounts. Lifts the synthetic relational_score p99/max
percentiles toward the corpus’s heavy tail without distorting
the median. Honors anomaly_injection.consolidation_outlier_rate
as a back-compat alias — if both are set, this DSL field wins.
Trait Implementations§
Source§impl Clone for ConcentrationConfig
impl Clone for ConcentrationConfig
Source§fn clone(&self) -> ConcentrationConfig
fn clone(&self) -> ConcentrationConfig
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 ConcentrationConfig
impl Debug for ConcentrationConfig
Source§impl Default for ConcentrationConfig
impl Default for ConcentrationConfig
Source§fn default() -> ConcentrationConfig
fn default() -> ConcentrationConfig
Source§impl<'de> Deserialize<'de> for ConcentrationConfig
impl<'de> Deserialize<'de> for ConcentrationConfig
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>,
Auto Trait Implementations§
impl Freeze for ConcentrationConfig
impl RefUnwindSafe for ConcentrationConfig
impl Send for ConcentrationConfig
impl Sync for ConcentrationConfig
impl Unpin for ConcentrationConfig
impl UnsafeUnpin for ConcentrationConfig
impl UnwindSafe for ConcentrationConfig
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.