pub struct ConfidenceCalculator {
pub test_weight: f64,
pub execution_time_weight: f64,
pub code_complexity_weight: f64,
}Expand description
Calculates confidence score for a pattern based on execution evidence.
Fields§
§test_weight: f64§execution_time_weight: f64§code_complexity_weight: f64Implementations§
Trait Implementations§
Source§impl Debug for ConfidenceCalculator
impl Debug for ConfidenceCalculator
Auto Trait Implementations§
impl Freeze for ConfidenceCalculator
impl RefUnwindSafe for ConfidenceCalculator
impl Send for ConfidenceCalculator
impl Sync for ConfidenceCalculator
impl Unpin for ConfidenceCalculator
impl UnsafeUnpin for ConfidenceCalculator
impl UnwindSafe for ConfidenceCalculator
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