Function write_summary_csv
pub fn write_summary_csv<W: Write>(
rows: &[SummaryRow],
w: &mut W,
code_maat_compat: bool,
) -> Result<()>Expand description
code-maat’s summary emits statistic,value; CodeLore uses the
slightly clearer metric,value. Under --code-maat-compat, emit the
legacy header so downstream tooling (code-maat-targeted dashboards)
keeps parsing.