Repository navigation
Follow-ups to CodeRabbit notes on #567 and #541 - #568
Conversation
The HRV catalogue blurb named the 5-minute-window mean, but nights derived before algo 110 with their raw pruned keep the older estimator's value. The blurb now names RMSSD during sleep, and the method sheet says older nights keep the value they were first given. A refused Oura command write said the ring had to be nearby and free of other apps, which the refusal does not establish. It now says the command could not be sent and asks for a retry (new key devicesOuraWriteRefused, translated in all six locales).
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis copy-only follow-up clarifies the HRV method and historical-value behavior in user-facing documentation, and distinguishes refused Oura writes from generic ring connectivity failures with localized messaging. Derived outputs and algorithm versioning are unchanged; the full suite passes except for the pre-existing health_workout_export_delete_gate_test failure. Sequence diagram for refused Oura sync write messagingsequenceDiagram
participant User
participant DevicesScreen
participant OuraSync
User->>DevicesScreen: _syncRing(c, family)
DevicesScreen->>OuraSync: sync ring
OuraSync-->>DevicesScreen: OuraSyncCategory.writeRefused
DevicesScreen-->>User: devicesOuraWriteRefused
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 3 minutes. View limit detailsLimit details: You’ve used all 4 included reviews currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (9)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
User description
Follow-ups for the CodeRabbit minor notes left on #567 (v110) and #541 (Oura sync).
Copy only: no derived-output change, no kAlgoVersion bump. Full suite passes apart from the pre-existing health_workout_export_delete_gate_test failure.
🤖 Generated with Claude Code
Summary by Sourcery
Clarify HRV descriptions and distinguish refused Oura writes from general ring connectivity failures.
Bug Fixes:
Enhancements:
PR Type
Enhancement
Description
Updates the HRV catalogue blurb to describe RMSSD of beat-to-beat intervals during sleep.
Clarifies in the HRV method sheet that older nights retain values from earlier calculation methods.
Adds a specific error message (
devicesOuraWriteRefused) for Oura ring write refusals, replacing a generic connectivity error.Updates translations across six locales for the new error message and HRV blurb.
Explicit callouts: No analytics output changes occurred, and
kAlgoVersionwas not bumped. The PR changes error message behavior but adds no new tests undertest/.File Walkthrough
1 files
Map Oura write refusal to specific error message7 files
Update HRV catalogue descriptionUpdate German translations for HRV and Oura errorsUpdate English translations for HRV and Oura errorsUpdate Spanish translations for HRV and Oura errorsUpdate French translations for HRV and Oura errorsUpdate Hindi translations for HRV and Oura errorsUpdate Chinese translations for HRV and Oura errors1 files
Clarify legacy HRV value retention in method spec