mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
The readiness and coincident-deviation composites passed historyDays = windowDays (a constant) into deriveCoverage, pinning historyFraction to 1 so a 7-day and a 30-day blend reported identical confidence. Pass the real distinct-history-days backing the composite (the depth of the best-supported present contributor) so confidence tracks actual depth. The readiness provenance source was derived only from RHR/HRV/respiratory, so a blend backed solely by sleep + mood could mislabel as DAY. Fold the present sleep + mood provenance in so the source chip matches what actually backed the headline. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>