pub struct EnrichmentConfig {
pub git_min_commit_count: usize,
pub git_min_co_change_count: usize,
pub perf_min_coupling_degree: usize,
pub perf_min_symbol_count: usize,
pub insight_confidence: f64,
pub dedup_similarity_threshold: f64,
}Expand description
Enrichment pipeline configuration for controlling insight generation thresholds.
Fields§
§git_min_commit_count: usizeMinimum commit count for a file to generate a high-activity insight.
git_min_co_change_count: usizeMinimum co-change count for a file pair to generate a coupling insight.
perf_min_coupling_degree: usizeMinimum coupling degree for a node to generate a high-coupling insight.
perf_min_symbol_count: usizeMinimum symbol count for a file to generate a complexity insight.
insight_confidence: f64Default confidence for auto-generated insights.
dedup_similarity_threshold: f64Cosine similarity threshold for deduplicating insights.
Trait Implementations§
Source§impl Clone for EnrichmentConfig
impl Clone for EnrichmentConfig
Source§fn clone(&self) -> EnrichmentConfig
fn clone(&self) -> EnrichmentConfig
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 EnrichmentConfig
impl Debug for EnrichmentConfig
Source§impl Default for EnrichmentConfig
impl Default for EnrichmentConfig
Source§impl<'de> Deserialize<'de> for EnrichmentConfigwhere
EnrichmentConfig: Default,
impl<'de> Deserialize<'de> for EnrichmentConfigwhere
EnrichmentConfig: Default,
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
Auto Trait Implementations§
impl Freeze for EnrichmentConfig
impl RefUnwindSafe for EnrichmentConfig
impl Send for EnrichmentConfig
impl Sync for EnrichmentConfig
impl Unpin for EnrichmentConfig
impl UnsafeUnpin for EnrichmentConfig
impl UnwindSafe for EnrichmentConfig
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