mirror of
https://github.com/bitbaum/vitareba.git
synced 2026-12-05 06:48:03 +01:00
Cover the four functions extracted from components in the prior commit: - normalizeCheckinMetric: boundary values (1→0, 5→100), midpoint, fractional rounding - streakMessage: each milestone tier (0/1, 2, 3-6, 7-13, 14-29, 30+) - relativeDate: today, yesterday, N-days-ago cases - sparkLevel: low / mid / high threshold boundaries per SPARKLINE config Test count: 133 → 153 (+20) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>