fix(tracking): review 7 - rescan on cleanup, non-finite Health values

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
saphidandClaude Sonnet 5.5 committed 2026-09-29 20:29:56 +10:00
1 parent 4937caf310
commit 8fb00b263c
3 files changed
+32 -3

No files matched your search

+1 -1
View File
@@ -139,7 +139,7 @@ def read_health(path, start, end):
try:
when = parse_time(element.get("startDate") or "")
value = round(float(element.get("value") or ""))
except ValueError:
except (ValueError, OverflowError):
continue
if start <= when <= end:
samples.append((when, value))