Skip to content

Personal Baseline Calibration - #3

Open
SaribAzim wants to merge 3 commits into
mainfrom
feat/sarib-baseline-calibration
Open

Personal Baseline Calibration#3
SaribAzim wants to merge 3 commits into
mainfrom
feat/sarib-baseline-calibration

Conversation

@SaribAzim

Copy link
Copy Markdown
Collaborator

Adds a new baseline.py module implementing personal fatigue baseline calibration, as scoped in the design document (section 3.3). During the first 45 seconds of a session, the baseline is estimated from scores seen so far, with readings flagged as provisional. After the calibration window closes, the baseline locks and stays fixed for the rest of the session. Falls back to a conservative population default if too little calibration data is available. Includes 8 unit tests covering the calibration window, locking behavior, and edge cases. This is scoped to a single logical change per your earlier feedback, session.py integration for recovery ETA will follow as a separate PR.

@SaribAzim
SaribAzim requested a review from Khubaib8281 July 27, 2026 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant