Skip to main content

trustformers_debug/streaming_debugger/
scoringweights_traits.rs

1//! # ScoringWeights - Trait Implementations
2//!
3//! This module contains trait implementations for `ScoringWeights`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use super::types::*;
12
13impl Default for ScoringWeights {
14    fn default() -> Self {
15        Self {
16            recency_weight: 0.3,
17            severity_weight: 0.4,
18            frequency_weight: 0.1,
19            user_attention_weight: 0.1,
20            system_impact_weight: 0.1,
21        }
22    }
23}