Open nus-pe-bot opened 6 months ago
The menstrual cycle varies greatly from person to person and there are numerous factors affecting the cycle length for instance, stress, medication, and underlying health conditions. During pregnancy, menstruation typically ceases entirely, and leading up to menopause, cycles may become irregular before eventually stopping altogether. Due to this variability and the individual nature of each person's body, establishing strict minimum and maximum cycle lengths can be challenging.
Users are meant to key in period lengths chronologically, and not in random sequences.
--
After keying in random dates, the next cycle prediction is generated, and has an extreme value of 213 days. I'm not a doctor nor female, so I don't know if that is even possible.
Perhaps consider having a cap on the min and max values, or signal to the user something is severely wrong with them.
[original: nus-cs2113-AY2324S2/pe-interim#419] [original labels: type.FeatureFlaw severity.Medium]