pub struct JitHistory {
pub prior_changes: u32,
pub prior_distinct_authors: u32,
pub prior_bug_fix_commits: u32,
pub prior_security_fix_commits: u32,
pub file_risk_max: f64,
pub file_risk_mean: f64,
pub new_files: u32,
}vcs-git only.Expand description
Priors of the touched files, measured from history before the scored
commit (Kamei NDEV/NUC plus the #328 file composite).
Fields§
§prior_changes: u32Σ prior in-window commits over the touched files (NUC).
Largest distinct-prior-author count among the touched files — a
lower-bound proxy for Kamei NDEV (a true cross-file union of
author identities is not available from the per-file index, which
exposes counts, not identity sets). Reported as a feature; it does
not feed the composite score.
prior_bug_fix_commits: u32Σ prior bug-fix commits over the touched files.
prior_security_fix_commits: u32Σ prior security-fix commits over the touched files.
file_risk_max: f64Max composite file-level risk_score over the touched files.
file_risk_mean: f64Mean composite file-level risk_score over the touched files.
new_files: u32Touched files absent from history before this commit (new files; their priors are all zero, by definition).
Trait Implementations§
Source§impl Clone for JitHistory
impl Clone for JitHistory
Source§fn clone(&self) -> JitHistory
fn clone(&self) -> JitHistory
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more