Skip to main content

knowledge_factor_from_familiarity

Function knowledge_factor_from_familiarity 

pub fn knowledge_factor_from_familiarity(
    familiarity_pct: f64,
    islands_pct: f64,
) -> FactorTile
Expand description

Build the Knowledge factor tile from code_familiarity output.

Headline = 0.5 × familiarity_pct + 0.5 × (100 − islands_pct). Returns None when rows is empty.

§Parameters

  • familiarity_pct: percentage of active SLOC known by current team.
  • islands_pct: percentage of SLOC in knowledge islands (single-expert or departed-expert files). Both from run_code_familiarity.