Detect a possible missing period and ask, never correct it silently #13
Labels
No Label
P0
P1
P2
release-blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Privacy-Period-Tracker#13
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Given the history 29, 28, 30, 29, 61, 29, the 61-day interval is probably a forgotten entry — but it might be a genuinely long cycle, and §14 is explicit that the app must ask rather than decide:
With Add missing period and No, this is correct. If the user confirms the long interval, keep it and let the model learn from it with appropriate uncertainty.
Build:
Never secretly modify health history (§14). Detection produces a question and a weight, never an inserted record and never a deleted one.
The UI for the question is Batch 03; this issue is the detection, the flag and the weighting, exercised through tests.
Verify: the §51 outlier history 29, 29, 28, 30, 45, 29 flags the 45 as questionable, keeps it in the data, and produces a forecast within 28–30 days; and a user whose cycles genuinely run 40–45 does not have a 45 flagged at all.