Repository navigation
hr fallback: don't skip first sample after a hole as run start - #119
Conversation
Reviewer's GuideImplementationResume the scan at the first sample after a recording hole so it can become the start of a low-HR run.
TestsAdd a regression test confirming the first sample after a recording hole is preserved as the run onset.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
the run scan broke at a recording hole with j on the first sample after it, then did i = j + 1, so that sample was never tried as a run start. onset landed one sample late (1 to 5 min on slow-cadence devices), or the run was lost if it was a single sample. now resumes at j after a hole break. test added.
Summary by Sourcery
Correct heart-rate fallback run scanning so it evaluates the first sample after a recording gap as a possible run start.
Bug Fixes:
Tests:
Summary by CodeRabbit