pub struct StabilityOptions {
pub change_frequency_weight: f32,
pub bugfix_ratio_weight: f32,
pub recent_activity_weight: f32,
pub author_concentration_weight: f32,
pub churn_weight: f32,
pub now_timestamp: u64,
pub recent_window_secs: u64,
}Expand description
Options for stability analysis.
Fields§
§change_frequency_weight: f32Weight for change frequency factor (default 0.25).
bugfix_ratio_weight: f32Weight for bugfix ratio factor (default 0.25).
recent_activity_weight: f32Weight for recent activity factor (default 0.20).
Weight for author concentration factor (default 0.15).
churn_weight: f32Weight for churn factor (default 0.15).
now_timestamp: u64Timestamp considered “now” for recency calculations (0 = use current time).
recent_window_secs: u64Window (in seconds) for “recent” activity (default: 30 days).
Trait Implementations§
Source§impl Clone for StabilityOptions
impl Clone for StabilityOptions
Source§fn clone(&self) -> StabilityOptions
fn clone(&self) -> StabilityOptions
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 StabilityOptions
impl Debug for StabilityOptions
Auto Trait Implementations§
impl Freeze for StabilityOptions
impl RefUnwindSafe for StabilityOptions
impl Send for StabilityOptions
impl Sync for StabilityOptions
impl Unpin for StabilityOptions
impl UnsafeUnpin for StabilityOptions
impl UnwindSafe for StabilityOptions
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