Skip to main content

run_team_composition

Function run_team_composition 

pub fn run_team_composition(
    db: &FactsDb,
    opts: &Options,
) -> Result<Vec<TeamCompositionRow>>
Expand description

Run the team-composition analysis.

Returns one row per author plus a __summary__ row. Rows are sorted by tenure_days DESC, commits DESC, author ASC; the summary row is appended last.

§Errors

Returns CodeLoreError::Analysis on SQL or row-mapping failures.