How does WHOOP calculate my period length?

I want to understand what data WHOOP uses to estimate how long my period will last—does it learn from past cycles or just the last one?

WHOOP tracks the total days you log as menstruating—whether that’s through Menstrual Cycle Insights, the Journal, or during setup. If you log in more than one place, the data gets combined. A period is considered complete after at least one day without bleeding. WHOOP uses your six-month average to predict future cycles, so the more consistently you log, the more accurate your insights will be.