pub fn group_thousands(n: i64) -> StringExpand description
Groups an integer into thousands with commas (2820484 → 2,820,484) for human-facing counts
(corpus document totals, fleet throughput) that can reach millions. Agents get the raw number;
only the rendered HTML is grouped.