Versions in this module Expand all Collapse all v1 v1.1.0 Aug 25, 2025 Changes in this version type Candidate + IsProfile bool v1.0.0 Aug 21, 2025 Changes in this version + func DetectPeakProductivityWithHalfHours(halfHourCounts map[float64]int, _ int) (start, end float64, count int) + type Candidate struct + Confidence float64 + EveningActivity int + LunchConfidence float64 + LunchDipStrength float64 + LunchEndUTC float64 + LunchLocalTime float64 + LunchReasonable bool + LunchStartUTC float64 + Offset float64 + PeakTimeReasonable bool + ScoringDetails []string + SleepMidLocal float64 + SleepReasonable bool + Timezone string + WorkHoursReasonable bool + WorkStartLocal int + func EvaluateCandidates(username string, hourCounts map[int]int, halfHourCounts map[float64]int, ...) []Candidate + type GlobalLunchPattern struct + Confidence float64 + DropPercent float64 + EndUTC float64 + StartUTC float64