Skip to content

Personal Baseline Calibration - #3

Merged
Khubaib8281 merged 3 commits into
mainfrom
feat/sarib-baseline-calibration
Jul 28, 2026
Merged

Personal Baseline Calibration#3
Khubaib8281 merged 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

@Khubaib8281 Khubaib8281 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm approving this PR, and I appreciate the PR structure, test coverage and workflow. keep following this workflow.

@Khubaib8281
Khubaib8281 merged commit 1ceeeb5 into main Jul 28, 2026
1 check passed
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.

2 participants