From db4af70c6031c237425c6ec8319122d42fcb7d6a Mon Sep 17 00:00:00 2001 From: ruinivist Date: Tue, 10 Feb 2026 22:28:48 +0000 Subject: [PATCH] fix: repeated rows in predictions --- internal/core/engine.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/core/engine.go b/internal/core/engine.go index 8f19577..c5006aa 100644 --- a/internal/core/engine.go +++ b/internal/core/engine.go @@ -54,6 +54,7 @@ func GetStatsForTZs(tzs []string) ([]Prediction, error) { Country: country.Name, Probability: float64(country.Population) / float64(totalPop), }) + seenCountry[country.Name] = struct{}{} } }