Function run_code_familiarity
pub fn run_code_familiarity(
db: &FactsDb,
opts: &Options,
) -> Result<Vec<CodeFamiliarityRow>>Expand description
Run the code-familiarity analysis.
Returns a single-element Vec with the repo-scope familiarity row, or an
empty Vec when the knowledge_shares table has no rows (e.g. the repo
has no recognized source files and complexity_metrics is empty).
§Errors
Returns crate::CodeLoreError::Analysis on SQL or row-mapping failures.