pub fn compute_timeline_weeks(
timestamps: &[u64],
weeks: usize,
now: u64,
) -> Vec<usize>
Expand description
Bucket commit timestamps into week bins (7-day windows) ending at now
.
Returns weeks
bins, oldest -> newest (counts.len() == weeks).