Struct CoordinationNeedsRow
pub struct CoordinationNeedsRow {
pub path: String,
pub authors: u32,
pub fragmentation: f64,
pub interleave: f64,
pub cochange_entropy: f64,
pub tier: String,
pub health_band: String,
pub total_commits: u32,
}Expand description
Per-file coordination-needs row.
Fields§
§path: StringFile path (rename-aware via the lineage CTE).
Distinct active-window authors (≥1 commit in the trailing window).
fragmentation: f64HHI complement over all knowledge holders: 1 − Σ k_norm².
Zero = single owner; near 1 = evenly distributed knowledge.
interleave: f64Author-switch fraction between chronologically adjacent commits: 0 if fewer than 2 commits touch the file.
cochange_entropy: f64Per-file co-change graph entropy contribution (EASE 2025, arXiv 2504.18511); 0.0 for files with no co-change edges in the window.
tier: StringTriage tier: single | low | medium | high.
health_band: StringComposite code-health band at HEAD: red | yellow | green |
unknown (when no complexity metrics exist for the file).
total_commits: u32Total commits touching this path (the interleave denominator’s
n, and the sample size behind tier) — lets a consumer judge
whether e.g. a tier: "high" classification comes from a thin
sample (a file can hit interleave = 1.0 off as few as 2 commits).
Trait Implementations§
§impl Clone for CoordinationNeedsRow
impl Clone for CoordinationNeedsRow
§fn clone(&self) -> CoordinationNeedsRow
fn clone(&self) -> CoordinationNeedsRow
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more§impl Debug for CoordinationNeedsRow
impl Debug for CoordinationNeedsRow
§impl<'de> Deserialize<'de> for CoordinationNeedsRow
impl<'de> Deserialize<'de> for CoordinationNeedsRow
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
§impl Serialize for CoordinationNeedsRow
impl Serialize for CoordinationNeedsRow
Auto Trait Implementations§
impl Freeze for CoordinationNeedsRow
impl RefUnwindSafe for CoordinationNeedsRow
impl Send for CoordinationNeedsRow
impl Sync for CoordinationNeedsRow
impl Unpin for CoordinationNeedsRow
impl UnsafeUnpin for CoordinationNeedsRow
impl UnwindSafe for CoordinationNeedsRow
Blanket Implementations§
impl<T> Allocation for T
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more