mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-12 14:16:12 +00:00
calculateCompliance and buildTimelineForWindow built the cadence engine's context field by field and left out endedAt, so a dose slot after End course counted as missed in the streak and the timeline while the rate left it out. Both now take the context from one builder, endedAt is required on ComplianceMedicationContext and CadenceEngineContext, and the course anchor guard holds every builder of either type to naming it. Refs #1280