Skip to main content

_diffctx/config/
analytics.rs

1use once_cell::sync::Lazy;
2
3pub struct AnalyticsConfig {
4    pub hotspot_degree_weight: f64,
5}
6
7impl Default for AnalyticsConfig {
8    fn default() -> Self {
9        Self {
10            hotspot_degree_weight: 0.5,
11        }
12    }
13}
14
15pub static ANALYTICS: Lazy<AnalyticsConfig> = Lazy::new(AnalyticsConfig::default);