diff --git a/lib/compute/derivation_engine.dart b/lib/compute/derivation_engine.dart index f73d6696e..0865ae682 100644 --- a/lib/compute/derivation_engine.dart +++ b/lib/compute/derivation_engine.dart @@ -2000,7 +2000,13 @@ import 'vendor_sleep.dart'; // next midnight belongs to the next day only. Band days move through // active minutes when their floor was first frozen out of order; stored day // output only. -const int kAlgoVersion = 141; +// 141 → 142: strain and the quiet level are priced on the median of the prior +// nights' resting HR instead of this morning's (analytics steadyRestingHr). The +// level is stored against each earlier day's own night, so a higher night +// shrank every minute of an ordinary day against it and strain read 0.0; the +// day after a hard session is the usual case. Strain, trimp_net, quiet_hrr and +// the strain curve move; stored history re-scores on the recompute. +const int kAlgoVersion = 142; /// The sibling SHAs this version was derived against, asserted against /// pubspec.yaml in test/db_serve_version_and_reads_test.dart. /// @@ -2196,7 +2202,7 @@ const int kAlgoVersion = 141; // REPIN @ b92686a: analytics main, #113 merge (hmm stager and lutealFlags moved // in from edge, code unchanged), no kAlgoVersion bump: WHOOP output is the // same. -const String kAnalyticsPin = 'b92686a20e4a9a1852d5e43c52d3e3b42f360e7b'; +const String kAnalyticsPin = 'f29472e64719670fe74e31521f4975c34dc113cd'; // Repinned to analytics main's tip, which carries BOTH PR #72 (hrv_freq // Welch gap guard) and PR #73 (overreachingConjunction rhr quantum guard) — // the two independent kAlgoVersion bumps above (93 and 94). Verified both @@ -3130,6 +3136,10 @@ class _BaselineHistoryCache { 'v$kAlgoVersion|n${rhr.length}|rhr${fmt(_median(rhr))}|rmssd${fmt(_median(rmssd))}' '|temp${fmt(_median(temp))}|resp${fmt(_median(resp))}' '${hasDev ? '|dev${_datedFingerprint('ln_rmssd_dev')}' : ''}' + // Strain reads the trailing nights' resting HR itself now, so a moved + // night with the same count and median still moves a day's reference. + // Before `|q`: a quiet-only change is told apart by cutting there. + '|r${_datedFingerprint('rhr')}' '|q${_quietFingerprint()}'; return { 'algo_version': kAlgoVersion, @@ -6628,8 +6638,25 @@ class DerivationEngine { await LocalDb.setCursor(_rescanRetriesCursor, '0'); // Store the new signature so the next tick is a cheap no-op until it // moves. Quiet snapshot before the signature, for the reason above. - await _storeQuietEntries(); - await LocalDb.setCursor('baseline_sig', await _baselineSignature()); + // The levels this pass wrote can differ from the ones its later days + // were priced on (they follow the resting-HR nights now). Keep the + // pre-pass pair so the next tick narrows to the days after them; the + // levels no longer depend on each other, so it settles in one more. + // Same for the nights themselves: a night this pass revised was read + // stale by the days after it. + final post = await _BaselineHistoryCache.load(); + final moved = changedQuietDates( + history.quietWindowEntries(), post.quietWindowEntries()); + final nightsMoved = + history._datedFingerprint('rhr') != post._datedFingerprint('rhr'); + if ((moved != null && moved.isNotEmpty) || nightsMoved) { + await LocalDb.setCursor(_baselineQuietCursor, + jsonEncode(history.quietWindowEntries())); + await LocalDb.setCursor('baseline_sig', sig); + } else { + await _storeQuietEntries(); + await LocalDb.setCursor('baseline_sig', await _baselineSignature()); + } } await LocalDb.refreshComputeFreshness(); return done; @@ -7672,6 +7699,12 @@ class DerivationEngine { ? null : rhrFallbackFromHistory(history.valuesBefore('rhr', day.date, family: _baselineFamily('rhr', daySub.deviceFamily))), + // Only a night's own value is smoothed; a typed or fallback one is + // already steady. + rhrHistory: (scMap?['rhr_nocturnal'] as num?) == null + ? const [] + : history.valuesBefore('rhr', day.date, + family: _baselineFamily('rhr', daySub.deviceFamily)), maxHrUsed: (bundle['max_hr_used'] as num?)?.round(), liveStepsReal: liveSteps.total, liveStepsFromStrap: liveSteps.strap, @@ -9827,6 +9860,7 @@ class DerivationEngine { required int dayCalendarEndSec, required int dataNowSec, double? restingHr, + List rhrHistory = const [], double? dynFloorG, int liveStepsReal = 0, int liveStepsFromStrap = 0, @@ -9858,6 +9892,7 @@ class DerivationEngine { dayCalendarEndSec: dayCalendarEndSec, dataNowSec: dataNowSec, restingHr: restingHr, + rhrHistory: rhrHistory, dynFloorG: dynFloorG, stepSpans: stepSpans, quietHrrHistory: quietHrrHistory, @@ -10605,6 +10640,7 @@ class DerivationEngine { required int dayCalendarEndSec, required int dataNowSec, double? restingHr, + List rhrHistory = const [], double? dynFloorG, List> stepSpans = const [], int tonightSleepOnsetSec = 0, @@ -10678,10 +10714,14 @@ class DerivationEngine { // never scores today (that would subtract today's own living from itself). // Below `quietHrrTraitMinMinutes` wake minutes the day measured that // window, not ordinary living, and contributes nothing. - final quietToday = (rhrForTrimp == null || hrMax == null) + // The level and the day are priced on the SAME slow resting HR, not this + // morning's: a raised night would otherwise shrink every minute against a + // level stored on calmer ones and score an ordinary day 0 (#471). + final rhrStrain = ana.steadyRestingHr(rhrForTrimp, rhrHistory); + final quietToday = (rhrStrain == null || hrMax == null) ? null : ana.dailyQuietWakingHrr(perMin, - restingHr: rhrForTrimp, + restingHr: rhrStrain, maxHr: hrMax, minMinutes: ana.quietHrrTraitMinMinutes); double? strain; @@ -10772,7 +10812,7 @@ class DerivationEngine { // so a quiet afternoon cannot cancel a morning run. net = ana.netTrimpAboveQuiet( perMin, - restingHr: rhrForTrimp, + restingHr: rhrStrain, maxHr: hrMax, quietHrr: quiet.value!.hrr, sex: sexEnum, @@ -12315,6 +12355,7 @@ class DerivationEngine { dayCalendarEndSec: localNextMidnightSecForDayLabel(inp.date), dataNowSec: inp.dataNowSec, restingHr: inp.rhr ?? inp.rhrFallback, + rhrHistory: inp.rhrHistory, dynFloorG: inp.dynFloorG, liveStepsReal: inp.liveStepsReal, liveStepsFromStrap: inp.liveStepsFromStrap, @@ -13078,6 +13119,11 @@ class _DayBlocksInput { /// night of its own ([rhrFallbackFromHistory]). Never used for workout /// detection, which keeps needing a real night. final double? rhrFallback; + + /// Prior nights' resting HR, so strain is scored against the same slow + /// reference the quiet level was measured on ([ana.steadyRestingHr]). Empty + /// when the user typed their own resting HR. + final List rhrHistory; final int? maxHrUsed; final int liveStepsReal; /// Step-counter calibration read on the main isolate; null = uncalibrated. @@ -13165,6 +13211,7 @@ class _DayBlocksInput { this.napExcludeEndSec, required this.rhr, this.rhrFallback, + this.rhrHistory = const [], required this.maxHrUsed, required this.liveStepsReal, this.counterProfile, diff --git a/lib/compute/onehz_pipeline.dart b/lib/compute/onehz_pipeline.dart index 30b98b28e..0f03b57f7 100644 --- a/lib/compute/onehz_pipeline.dart +++ b/lib/compute/onehz_pipeline.dart @@ -1312,6 +1312,11 @@ Map _deriveDayBundle(Map inputJson, // abstains with the baseline grammar rather than pricing being awake at a // population constant. final quiet = personalQuietWakingHrr(d.quietHrrHistory); + // Strain and its curve are priced on the same slow resting HR the quiet level + // was measured on, not this morning's (#471). Only a night's own value is + // smoothed; a typed or fallback one is already steady. + final rhrStrain = + steadyRestingHr(rhrForTrimp, rhrToday == null ? const [] : d.rhrHistory); // ── WHY the activity family is absent, named AT THE GATE THAT CAUSED IT ──── // // These four figures — strain/TRIMP, the zone minutes, the ceiling they were @@ -1459,7 +1464,7 @@ Map _deriveDayBundle(Map inputJson, ) : strainScoreFromSeries( perMin, - restingHr: rhrForTrimp, + restingHr: rhrStrain, maxHr: hrMax, quietHrr: quiet.value!.hrr, sex: sexEnum, @@ -1499,7 +1504,7 @@ Map _deriveDayBundle(Map inputJson, final nightShape = nightHrvShape(nn, nnTimes, coverage: rrCov); final strainCurve = _strainCurve( wakeHr, - restingHr: rhrForTrimp, + restingHr: rhrStrain, maxHr: hrMax, sex: sex, quietHrr: quiet.value?.hrr, diff --git a/pubspec.lock b/pubspec.lock index 712a6c3ea..a4e99d18f 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -961,8 +961,8 @@ packages: dependency: "direct main" description: path: "." - ref: b92686a20e4a9a1852d5e43c52d3e3b42f360e7b - resolved-ref: b92686a20e4a9a1852d5e43c52d3e3b42f360e7b + ref: f29472e64719670fe74e31521f4975c34dc113cd + resolved-ref: f29472e64719670fe74e31521f4975c34dc113cd url: "https://github.com/OpenStrap/analytics.git" source: git version: "1.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 86ca7fdf4..94b1e1167 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -545,7 +545,9 @@ dependencies: # and cosinor policies require kAlgoVersion 124. # analytics main @ #113 merge: hmm stager and lutealFlags moved in from edge. # Logic unchanged, so WHOOP output is unchanged. - ref: b92686a20e4a9a1852d5e43c52d3e3b42f360e7b + # analytics main @ #116 merge (f29472e): steadyRestingHr, strain is priced + # on the median of prior nights' resting HR (#471). + ref: f29472e64719670fe74e31521f4975c34dc113cd # BLE — flutter_blue_plus is the maintained cross-platform GATT client. flutter_blue_plus: ^1.36.8 diff --git a/test/ed2a_substrate_transfer_test.dart b/test/ed2a_substrate_transfer_test.dart index 3409be3cb..85bece4c1 100644 --- a/test/ed2a_substrate_transfer_test.dart +++ b/test/ed2a_substrate_transfer_test.dart @@ -241,7 +241,7 @@ void main() { markTestSkipped('committed golden is UTC; run this test with TZ=UTC'); return; } - expect(kAlgoVersion, 141, reason: 'ED-2b repins analytics; transfer remains exact'); + expect(kAlgoVersion, 142, reason: 'ED-2b repins analytics; transfer remains exact'); final fixture = _fixture(); final baseline = substrateFromDecodedPage(fixture.frames, fixture.rr); final transferred = Substrate.fromTransfer(baseline.toJson()); diff --git a/test/ed2b_algo_version_114_test.dart b/test/ed2b_algo_version_114_test.dart index 9e9623b3f..fff95073e 100644 --- a/test/ed2b_algo_version_114_test.dart +++ b/test/ed2b_algo_version_114_test.dart @@ -6,9 +6,9 @@ import 'package:openstrap_edge/compute/derivation_engine.dart'; void main() { // WHY: finalized days need a new version when the analytics pin changes outputs. test('ED-2b adoption and workout rest repin name their output changes', () { - expect(kAlgoVersion, 141); - // #113 moved code between repos with no output change, so the version holds. - expect(kAnalyticsPin, 'b92686a20e4a9a1852d5e43c52d3e3b42f360e7b'); + expect(kAlgoVersion, 142); + // #116 steadyRestingHr moves strain, so 142. + expect(kAnalyticsPin, 'f29472e64719670fe74e31521f4975c34dc113cd'); final src = File('lib/compute/derivation_engine.dart').readAsStringSync(); final at = src.indexOf('// 121 → 122'); expect(at, isNonNegative); diff --git a/test/fixtures/whoop_freeze/gen4_minus0400.json b/test/fixtures/whoop_freeze/gen4_minus0400.json index 52b47a6f7..710074223 100644 --- a/test/fixtures/whoop_freeze/gen4_minus0400.json +++ b/test/fixtures/whoop_freeze/gen4_minus0400.json @@ -2,7 +2,7 @@ "day_result": [ { "day_id": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-13", "day_confidence": 0.6, @@ -23340,7 +23340,7 @@ "sleep_onset_sec": -17108.0, "skin_temp_ambient_r": null, "active_min": 90.0, - "quiet_hrr": 0.17628907637111685, + "quiet_hrr": 0.15828328328328325, "trimp_net": null, "calories_total": 2297.5125051784576, "dyn_p90": 0.016945539023250016, @@ -25971,11 +25971,11 @@ "readiness": 27.033995461954163, "skipped": 0, "partial": 0, - "payload_sha256": "ca53c8b97edcceae826eb61a9e3e5f2170bc7225b6421b1564faab543a3e3c26" + "payload_sha256": "64fe3933c82e429c2677c76d29f6281b3fd32a9d8dc318d19feabb63dd9d2009" }, { "day_id": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-14", "day_confidence": 0.6, @@ -49169,7 +49169,7 @@ "sleep_onset_sec": -17108.0, "skin_temp_ambient_r": null, "active_min": 240.0, - "quiet_hrr": 0.174452349174085, + "quiet_hrr": 0.1564064064064064, "trimp_net": null, "calories_total": 2297.5125051784576, "dyn_p90": 0.676695219032997, @@ -51623,11 +51623,11 @@ "readiness": 27.03409387728019, "skipped": 0, "partial": 0, - "payload_sha256": "c1dd6c55c295b87280acb73ec149c9bc339f802781ddb27808a4a8a5a7aab11d" + "payload_sha256": "e127edc27a0bef7a7d63a8d36fd46b7c5c6adb6fab85292ee6171d26740c319d" }, { "day_id": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-15", "day_confidence": 0.6, @@ -73415,7 +73415,7 @@ "sleep_onset_sec": -17108.0, "skin_temp_ambient_r": null, "active_min": 40.0, - "quiet_hrr": 0.18057477316419124, + "quiet_hrr": 0.16266266266266272, "trimp_net": null, "calories_total": 2151.991671845124, "dyn_p90": 0.016617360477042792, @@ -75880,7 +75880,7 @@ "readiness": 66.11544177079463, "skipped": 0, "partial": 0, - "payload_sha256": "b26dfedb2cb5058bbb827e87b1510c731e47172292cf1af89744897e6f1f235e" + "payload_sha256": "81da192f0b5325e159007f8786ec71dca6af4772096bdf683e2437cd8c7ef5ed" } ], "metric_series": [ @@ -75992,7 +75992,7 @@ { "date": "2026-07-13", "key": "quiet_hrr", - "value": 0.17628907637111685 + "value": 0.15828328328328325 }, { "date": "2026-07-13", @@ -76202,7 +76202,7 @@ { "date": "2026-07-14", "key": "quiet_hrr", - "value": 0.174452349174085 + "value": 0.1564064064064064 }, { "date": "2026-07-14", @@ -76412,7 +76412,7 @@ { "date": "2026-07-15", "key": "quiet_hrr", - "value": 0.18057477316419124 + "value": 0.16266266266266272 }, { "date": "2026-07-15", @@ -76518,7 +76518,7 @@ "metric_series_version": [ { "date": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen4", "coverage_devices": "", @@ -76526,7 +76526,7 @@ }, { "date": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen4", "coverage_devices": "", @@ -76534,7 +76534,7 @@ }, { "date": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen4", "coverage_devices": "", @@ -76544,13 +76544,13 @@ "wake_day_features": [ { "day_id": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-13", "active_min": 90, "movement_min": 89.0, "strain": null, - "quiet_hrr": 0.17628907637111685, + "quiet_hrr": 0.15828328328328325, "trimp_net": null, "strain_absent": "need_baseline:have=0,need=3", "absent_notes": { @@ -77748,17 +77748,17 @@ "coverage_pct": 100 } }, - "payload_sha256": "71ee86b062051e7d656e7445688187e947001271c4688f1773a40f5e22fdc656" + "payload_sha256": "df44f703663d9b2c6d5ad15db06f1ab194867f98c9a9171f07f46fc2c2baa822" }, { "day_id": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-14", "active_min": 240, "movement_min": 239.0, "strain": null, - "quiet_hrr": 0.174452349174085, + "quiet_hrr": 0.1564064064064064, "trimp_net": null, "strain_absent": "need_baseline:have=1,need=3", "absent_notes": { @@ -78956,17 +78956,17 @@ "coverage_pct": 100 } }, - "payload_sha256": "d6eb01eadb91fa0ca624a9957c16376122c91ffe924eb88e4d481dd92f9d98cd" + "payload_sha256": "8f1288761f9c2dbdc98049ec4ad4f74148e4b6c934b711d436365e3a8d8ec2a5" }, { "day_id": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-15", "active_min": 40, "movement_min": 40.0, "strain": null, - "quiet_hrr": 0.18057477316419124, + "quiet_hrr": 0.16266266266266272, "trimp_net": null, "strain_absent": "need_baseline:have=2,need=3", "absent_notes": { @@ -80068,7 +80068,7 @@ "coverage_pct": 100 } }, - "payload_sha256": "22171a575f5af995a8bb05278b92fb31ebcc21fb880288c3444e9a5868c736f8" + "payload_sha256": "d3cc3296875a247e440157564743ca7e78dd84de270f7e9246f33b5fe5c54220" } ], "activity_suggestions": [ diff --git a/test/fixtures/whoop_freeze/gen4_plus0530.json b/test/fixtures/whoop_freeze/gen4_plus0530.json index 1c6a1bb25..c26c5d812 100644 --- a/test/fixtures/whoop_freeze/gen4_plus0530.json +++ b/test/fixtures/whoop_freeze/gen4_plus0530.json @@ -2,7 +2,7 @@ "day_result": [ { "day_id": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-13", "day_confidence": 0.6, @@ -23340,7 +23340,7 @@ "sleep_onset_sec": -17108.0, "skin_temp_ambient_r": null, "active_min": 90.0, - "quiet_hrr": 0.17628907637111685, + "quiet_hrr": 0.15828328328328325, "trimp_net": null, "calories_total": 2297.5125051784576, "dyn_p90": 0.016945539023250016, @@ -25971,11 +25971,11 @@ "readiness": 27.03382323567632, "skipped": 0, "partial": 0, - "payload_sha256": "40590725f42422665f72f4a3e1e265ac123e1ce6668081de234a0b72425255dd" + "payload_sha256": "20a10f3cc23f648390d73f98e238077ffe726786926cd700d5d7b86500d39fe2" }, { "day_id": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-14", "day_confidence": 0.6, @@ -49169,7 +49169,7 @@ "sleep_onset_sec": -17108.0, "skin_temp_ambient_r": null, "active_min": 240.0, - "quiet_hrr": 0.174452349174085, + "quiet_hrr": 0.1564064064064064, "trimp_net": null, "calories_total": 2297.5125051784576, "dyn_p90": 0.6766952190329969, @@ -51623,11 +51623,11 @@ "readiness": 27.033601802905416, "skipped": 0, "partial": 0, - "payload_sha256": "bbfcfc8d50d3e2923f0c413c21b2a8f3771734dde5087963be625f7cdc38bba7" + "payload_sha256": "28b250a4a82c933d829c0ba22643c9a9eee93739e9f53d93a47923566df4e46b" }, { "day_id": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-15", "day_confidence": 0.6, @@ -73415,7 +73415,7 @@ "sleep_onset_sec": -17108.0, "skin_temp_ambient_r": null, "active_min": 40.0, - "quiet_hrr": 0.18057477316419124, + "quiet_hrr": 0.16266266266266272, "trimp_net": null, "calories_total": 2151.991671845124, "dyn_p90": 0.016617360477042792, @@ -75880,7 +75880,7 @@ "readiness": 66.1155535435143, "skipped": 0, "partial": 0, - "payload_sha256": "f776dd50b4d112cf0b0a42668245a800351569a5760c87970d32f586b9eabec4" + "payload_sha256": "8d6b873f07d43594c34307ed13cb5d2b51d6ffd972c2f5852f49ef51f9442b55" } ], "metric_series": [ @@ -75992,7 +75992,7 @@ { "date": "2026-07-13", "key": "quiet_hrr", - "value": 0.17628907637111685 + "value": 0.15828328328328325 }, { "date": "2026-07-13", @@ -76202,7 +76202,7 @@ { "date": "2026-07-14", "key": "quiet_hrr", - "value": 0.174452349174085 + "value": 0.1564064064064064 }, { "date": "2026-07-14", @@ -76412,7 +76412,7 @@ { "date": "2026-07-15", "key": "quiet_hrr", - "value": 0.18057477316419124 + "value": 0.16266266266266272 }, { "date": "2026-07-15", @@ -76518,7 +76518,7 @@ "metric_series_version": [ { "date": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen4", "coverage_devices": "", @@ -76526,7 +76526,7 @@ }, { "date": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen4", "coverage_devices": "", @@ -76534,7 +76534,7 @@ }, { "date": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen4", "coverage_devices": "", @@ -76544,13 +76544,13 @@ "wake_day_features": [ { "day_id": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-13", "active_min": 90, "movement_min": 89.0, "strain": null, - "quiet_hrr": 0.17628907637111685, + "quiet_hrr": 0.15828328328328325, "trimp_net": null, "strain_absent": "need_baseline:have=0,need=3", "absent_notes": { @@ -77748,17 +77748,17 @@ "coverage_pct": 100 } }, - "payload_sha256": "58b1d9e3ba64842e66a12760b20bd06ee0c5904b723ea186179a7989e1854a18" + "payload_sha256": "513230fc092255b7960f42466db27a249a3b387eb375aac803390bc5e22c893d" }, { "day_id": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-14", "active_min": 240, "movement_min": 239.0, "strain": null, - "quiet_hrr": 0.174452349174085, + "quiet_hrr": 0.1564064064064064, "trimp_net": null, "strain_absent": "need_baseline:have=1,need=3", "absent_notes": { @@ -78956,17 +78956,17 @@ "coverage_pct": 100 } }, - "payload_sha256": "0879832c0db18e0913c6c122d013240aad34443a61d73f73a2be9fab0b01b543" + "payload_sha256": "f179c4f05d26444b8b7f2da130d2152de22293474dbae42beef68d1eb9f88e47" }, { "day_id": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-15", "active_min": 40, "movement_min": 40.0, "strain": null, - "quiet_hrr": 0.18057477316419124, + "quiet_hrr": 0.16266266266266272, "trimp_net": null, "strain_absent": "need_baseline:have=2,need=3", "absent_notes": { @@ -80068,7 +80068,7 @@ "coverage_pct": 100 } }, - "payload_sha256": "7f899d62d3192cc2ee04ab3bfa2e7f596503c1056ca52013bf71e008192129e1" + "payload_sha256": "e63bd5956a2fc7d09f67a6a587ef77330801c88a4663329bf9bf4b00cbf668ac" } ], "activity_suggestions": [ diff --git a/test/fixtures/whoop_freeze/gen4_utc.json b/test/fixtures/whoop_freeze/gen4_utc.json index 2edc528d1..a131ef3f6 100644 --- a/test/fixtures/whoop_freeze/gen4_utc.json +++ b/test/fixtures/whoop_freeze/gen4_utc.json @@ -2,7 +2,7 @@ "day_result": [ { "day_id": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-13", "day_confidence": 0.6, @@ -23340,7 +23340,7 @@ "sleep_onset_sec": -17108.0, "skin_temp_ambient_r": null, "active_min": 90.0, - "quiet_hrr": 0.17628907637111685, + "quiet_hrr": 0.15828328328328325, "trimp_net": null, "calories_total": 2297.5125051784576, "dyn_p90": 0.016945539023250016, @@ -25971,11 +25971,11 @@ "readiness": 27.03355259577805, "skipped": 0, "partial": 0, - "payload_sha256": "21fc0beec514dbbf9ee10a075d002e1badb8453a0d522208705edf1b84665f12" + "payload_sha256": "43b59ecdead81e912a5670d395a17d500e453f5bec2a4fb6dc110cb52851889b" }, { "day_id": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-14", "day_confidence": 0.6, @@ -49169,7 +49169,7 @@ "sleep_onset_sec": -17108.0, "skin_temp_ambient_r": null, "active_min": 239.0, - "quiet_hrr": 0.174452349174085, + "quiet_hrr": 0.1564064064064064, "trimp_net": null, "calories_total": 2297.5125051784576, "dyn_p90": 0.6766952190329969, @@ -51623,11 +51623,11 @@ "readiness": 27.033651010089166, "skipped": 0, "partial": 0, - "payload_sha256": "e904a3b4492034722efd43259b84705e6e8e38c35eac5792bbadb318867c0a94" + "payload_sha256": "a8a2186f57839a977a1be898fcfe0e78e155cba5d18ab213c8da0f66eae2479e" }, { "day_id": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-15", "day_confidence": 0.6, @@ -73415,7 +73415,7 @@ "sleep_onset_sec": -17108.0, "skin_temp_ambient_r": null, "active_min": 40.0, - "quiet_hrr": 0.18057477316419124, + "quiet_hrr": 0.16266266266266272, "trimp_net": null, "calories_total": 2151.991671845124, "dyn_p90": 0.016617360477042792, @@ -75880,7 +75880,7 @@ "readiness": 66.11559080104756, "skipped": 0, "partial": 0, - "payload_sha256": "ab94837f5112ee5ba9d87e2717101b1f6c74572e44ff94af946a8c85db68b350" + "payload_sha256": "cab61717d7c9e6290729776a75971e4c70c3d67817a4a5a19fd8b649ce0c1edb" } ], "metric_series": [ @@ -75992,7 +75992,7 @@ { "date": "2026-07-13", "key": "quiet_hrr", - "value": 0.17628907637111685 + "value": 0.15828328328328325 }, { "date": "2026-07-13", @@ -76202,7 +76202,7 @@ { "date": "2026-07-14", "key": "quiet_hrr", - "value": 0.174452349174085 + "value": 0.1564064064064064 }, { "date": "2026-07-14", @@ -76412,7 +76412,7 @@ { "date": "2026-07-15", "key": "quiet_hrr", - "value": 0.18057477316419124 + "value": 0.16266266266266272 }, { "date": "2026-07-15", @@ -76518,7 +76518,7 @@ "metric_series_version": [ { "date": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen4", "coverage_devices": "", @@ -76526,7 +76526,7 @@ }, { "date": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen4", "coverage_devices": "", @@ -76534,7 +76534,7 @@ }, { "date": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen4", "coverage_devices": "", @@ -76544,13 +76544,13 @@ "wake_day_features": [ { "day_id": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-13", "active_min": 90, "movement_min": 89.0, "strain": null, - "quiet_hrr": 0.17628907637111685, + "quiet_hrr": 0.15828328328328325, "trimp_net": null, "strain_absent": "need_baseline:have=0,need=3", "absent_notes": { @@ -77748,17 +77748,17 @@ "coverage_pct": 100 } }, - "payload_sha256": "8baa2bc692acdc0bec7e901c87901c3b2191ad0a2b8fccff766cbffb19a52ff2" + "payload_sha256": "b1218eb3da50e23524c8ecb5dc163260b249d8c41c41f5a20e92204daa8c2a5e" }, { "day_id": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-14", "active_min": 239, "movement_min": 239.0, "strain": null, - "quiet_hrr": 0.174452349174085, + "quiet_hrr": 0.1564064064064064, "trimp_net": null, "strain_absent": "need_baseline:have=1,need=3", "absent_notes": { @@ -78956,17 +78956,17 @@ "coverage_pct": 100 } }, - "payload_sha256": "c40c0d917c17b6694168ebc03b9d519780f183029fa7cbbdc2c6365c68b04b68" + "payload_sha256": "e81a72c36e312ef9fa5ae1c6762db8ad900f3cf2fbe965ebcb9214b90cf2bd1b" }, { "day_id": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-15", "active_min": 40, "movement_min": 40.0, "strain": null, - "quiet_hrr": 0.18057477316419124, + "quiet_hrr": 0.16266266266266272, "trimp_net": null, "strain_absent": "need_baseline:have=2,need=3", "absent_notes": { @@ -80068,7 +80068,7 @@ "coverage_pct": 100 } }, - "payload_sha256": "690159606eb8efdc3e6970d814684ec5ef5aec59e997d39548a024f3318615ae" + "payload_sha256": "4cfccb9461ec764a7bad44be481af8d5fc02ce81582d6ccc3d71711e80591505" } ], "activity_suggestions": [ diff --git a/test/fixtures/whoop_freeze/gen5_minus0400.json b/test/fixtures/whoop_freeze/gen5_minus0400.json index 5d643c849..707ebd60a 100644 --- a/test/fixtures/whoop_freeze/gen5_minus0400.json +++ b/test/fixtures/whoop_freeze/gen5_minus0400.json @@ -2,7 +2,7 @@ "day_result": [ { "day_id": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-13", "day_confidence": 0.6, @@ -23340,7 +23340,7 @@ "midsleep_sec": -3589.0, "sleep_onset_sec": -17108.0, "active_min": 90.0, - "quiet_hrr": 0.17186959065025606, + "quiet_hrr": 0.1542306754450134, "trimp_net": null, "calories_total": 1707.6018200286808, "steps": 18240.0, @@ -26149,11 +26149,11 @@ "readiness": 72.95885235383324, "skipped": 0, "partial": 0, - "payload_sha256": "46200de3608f2312e63928e2453df65351a0517da4b08012f0a7fde6d9bb9627" + "payload_sha256": "37285e4de340e9f9eb2e049861a90b3f884c45f794f3fe84f12d5edcf74a966b" }, { "day_id": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-14", "day_confidence": 0.6, @@ -49347,7 +49347,7 @@ "midsleep_sec": -3589.0, "sleep_onset_sec": -17108.0, "active_min": 240.0, - "quiet_hrr": 0.17007890935571285, + "quiet_hrr": 0.152401853206535, "trimp_net": null, "calories_total": 1707.6018200286808, "steps": 17640.0, @@ -51974,11 +51974,11 @@ "readiness": 72.95885235383324, "skipped": 0, "partial": 0, - "payload_sha256": "8b35eb86423179d0b932ca618de31fb31686b2b78d1695f32a950f8a13a6e68e" + "payload_sha256": "38567bc9d078ed34755e22b971f13496e68ba32e2647006f42c87be7fe8e5903" }, { "day_id": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-15", "day_confidence": 0.6, @@ -73760,7 +73760,7 @@ "midsleep_sec": -3589.0, "sleep_onset_sec": -17108.0, "active_min": 40.0, - "quiet_hrr": 0.17604784700419027, + "quiet_hrr": 0.16034063260340634, "trimp_net": null, "calories_total": 1595.2893200286808, "steps": 17640.0, @@ -76393,7 +76393,7 @@ "readiness": 61.79377627786914, "skipped": 0, "partial": 0, - "payload_sha256": "1c32269741b6eb242d9957504b0192c15ca5e284e30dd5fb9cf31672ac8fc521" + "payload_sha256": "096fc8b2eeeec9ae38e5a1001983cf0e23d35f7da6e47c1e3710b79312f0ea77" } ], "metric_series": [ @@ -76505,7 +76505,7 @@ { "date": "2026-07-13", "key": "quiet_hrr", - "value": 0.17186959065025606 + "value": 0.1542306754450134 }, { "date": "2026-07-13", @@ -76715,7 +76715,7 @@ { "date": "2026-07-14", "key": "quiet_hrr", - "value": 0.17007890935571285 + "value": 0.152401853206535 }, { "date": "2026-07-14", @@ -76925,7 +76925,7 @@ { "date": "2026-07-15", "key": "quiet_hrr", - "value": 0.17604784700419027 + "value": 0.16034063260340634 }, { "date": "2026-07-15", @@ -77031,7 +77031,7 @@ "metric_series_version": [ { "date": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen5", "coverage_devices": "", @@ -77039,7 +77039,7 @@ }, { "date": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen5", "coverage_devices": "", @@ -77047,7 +77047,7 @@ }, { "date": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen5", "coverage_devices": "", @@ -77057,13 +77057,13 @@ "wake_day_features": [ { "day_id": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-13", "active_min": 90, "movement_min": 89.0, "strain": null, - "quiet_hrr": 0.17186959065025606, + "quiet_hrr": 0.1542306754450134, "trimp_net": null, "strain_absent": "need_baseline:have=0,need=3", "absent_notes": { @@ -78261,17 +78261,17 @@ "coverage_pct": 100 } }, - "payload_sha256": "6c453477fe90243d117212c8c0cc449cbaa4f177d9b8bf1f84dcda62aba97aa0" + "payload_sha256": "c1b80f438da816f329c4d907d4c17a5d808c466167a457c63293b1038b4e2ceb" }, { "day_id": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-14", "active_min": 240, "movement_min": 239.0, "strain": null, - "quiet_hrr": 0.17007890935571285, + "quiet_hrr": 0.152401853206535, "trimp_net": null, "strain_absent": "need_baseline:have=1,need=3", "absent_notes": { @@ -79469,17 +79469,17 @@ "coverage_pct": 100 } }, - "payload_sha256": "125b45d7ed6bad55ad01e772afaa6ceaeab94ae51019d5c9aae442a6579c9f82" + "payload_sha256": "213884ceb8619cfc12b589c91510e7a3cbb4339e0857cc587fc560f60c34bfdd" }, { "day_id": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-15", "active_min": 40, "movement_min": 40.0, "strain": null, - "quiet_hrr": 0.17604784700419027, + "quiet_hrr": 0.16034063260340634, "trimp_net": null, "strain_absent": "need_baseline:have=2,need=3", "absent_notes": { @@ -80581,7 +80581,7 @@ "coverage_pct": 100 } }, - "payload_sha256": "9c4b8f06d9f900a0cc26bb8f98a7cf5c4e6d5b8b405dca9b4281818d8373a2f5" + "payload_sha256": "466375848686bf67b9993fc0093c39f43a6bcd73c0772e230365d22bd9397a22" } ], "activity_suggestions": [ diff --git a/test/fixtures/whoop_freeze/gen5_plus0530.json b/test/fixtures/whoop_freeze/gen5_plus0530.json index 0164fdae8..5279dd766 100644 --- a/test/fixtures/whoop_freeze/gen5_plus0530.json +++ b/test/fixtures/whoop_freeze/gen5_plus0530.json @@ -2,7 +2,7 @@ "day_result": [ { "day_id": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-13", "day_confidence": 0.6, @@ -23340,7 +23340,7 @@ "midsleep_sec": -3589.0, "sleep_onset_sec": -17108.0, "active_min": 90.0, - "quiet_hrr": 0.17186959065025606, + "quiet_hrr": 0.1542306754450134, "trimp_net": null, "calories_total": 1707.6018200286808, "steps": 18240.0, @@ -26149,11 +26149,11 @@ "readiness": 72.95885235383324, "skipped": 0, "partial": 0, - "payload_sha256": "eebfc8fec557bec9bbb9a48eecb8e064d7dddcefc408aef82729823c871a35eb" + "payload_sha256": "603629f3a119994192f243a215da7f80383c1413961bb4a41fc5988162fbf303" }, { "day_id": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-14", "day_confidence": 0.6, @@ -49347,7 +49347,7 @@ "midsleep_sec": -3589.0, "sleep_onset_sec": -17108.0, "active_min": 240.0, - "quiet_hrr": 0.17007890935571285, + "quiet_hrr": 0.152401853206535, "trimp_net": null, "calories_total": 1707.6018200286808, "steps": 17640.0, @@ -51974,11 +51974,11 @@ "readiness": 72.95885235383324, "skipped": 0, "partial": 0, - "payload_sha256": "a23aebb7b9e7488bc740c1bfbf85602f80dcd72c569bd75d8100e30edd9e831f" + "payload_sha256": "7cbd4ee79a1cb9a5317dac01db833bcb7eef25115fdd489ad2c5fc3b1b240e33" }, { "day_id": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-15", "day_confidence": 0.6, @@ -73760,7 +73760,7 @@ "midsleep_sec": -3589.0, "sleep_onset_sec": -17108.0, "active_min": 40.0, - "quiet_hrr": 0.17604784700419027, + "quiet_hrr": 0.16034063260340634, "trimp_net": null, "calories_total": 1595.2893200286808, "steps": 17640.0, @@ -76393,7 +76393,7 @@ "readiness": 61.79377627786914, "skipped": 0, "partial": 0, - "payload_sha256": "f61efdaff5b9717980ecb90f24b4ef02b5b02833932eac94955a1148491d9bb8" + "payload_sha256": "979436ef45798c2f8d8bdf119a687187d7bed33a986cd6d8657c5315035dbced" } ], "metric_series": [ @@ -76505,7 +76505,7 @@ { "date": "2026-07-13", "key": "quiet_hrr", - "value": 0.17186959065025606 + "value": 0.1542306754450134 }, { "date": "2026-07-13", @@ -76715,7 +76715,7 @@ { "date": "2026-07-14", "key": "quiet_hrr", - "value": 0.17007890935571285 + "value": 0.152401853206535 }, { "date": "2026-07-14", @@ -76925,7 +76925,7 @@ { "date": "2026-07-15", "key": "quiet_hrr", - "value": 0.17604784700419027 + "value": 0.16034063260340634 }, { "date": "2026-07-15", @@ -77031,7 +77031,7 @@ "metric_series_version": [ { "date": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen5", "coverage_devices": "", @@ -77039,7 +77039,7 @@ }, { "date": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen5", "coverage_devices": "", @@ -77047,7 +77047,7 @@ }, { "date": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen5", "coverage_devices": "", @@ -77057,13 +77057,13 @@ "wake_day_features": [ { "day_id": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-13", "active_min": 90, "movement_min": 89.0, "strain": null, - "quiet_hrr": 0.17186959065025606, + "quiet_hrr": 0.1542306754450134, "trimp_net": null, "strain_absent": "need_baseline:have=0,need=3", "absent_notes": { @@ -78261,17 +78261,17 @@ "coverage_pct": 100 } }, - "payload_sha256": "7b83681e48b9a2e460865a26433361c1bc9d1c20455c2b9f4fb6f81e1b326942" + "payload_sha256": "58cc241389aeebd883457d847fac6417d623418803e419ca15eb5683e5976c1c" }, { "day_id": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-14", "active_min": 240, "movement_min": 239.0, "strain": null, - "quiet_hrr": 0.17007890935571285, + "quiet_hrr": 0.152401853206535, "trimp_net": null, "strain_absent": "need_baseline:have=1,need=3", "absent_notes": { @@ -79469,17 +79469,17 @@ "coverage_pct": 100 } }, - "payload_sha256": "e2dcd0e86b1073f35f1438a745ad59e319a97de9fda137a49ca0bc8c3ab9c954" + "payload_sha256": "0ce1bf107d7cdaf92cfd712b5f378c61e6da40b6e995ee050d62ec332c30180f" }, { "day_id": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-15", "active_min": 40, "movement_min": 40.0, "strain": null, - "quiet_hrr": 0.17604784700419027, + "quiet_hrr": 0.16034063260340634, "trimp_net": null, "strain_absent": "need_baseline:have=2,need=3", "absent_notes": { @@ -80581,7 +80581,7 @@ "coverage_pct": 100 } }, - "payload_sha256": "9d0438042a295a539094afef3f422dc026a2c05a2989e332edc99b4445f50296" + "payload_sha256": "f7fc8c4483d6065982497e458b130c9fc4e962d841e11bc465d760921e6a3dae" } ], "activity_suggestions": [ diff --git a/test/fixtures/whoop_freeze/gen5_utc.json b/test/fixtures/whoop_freeze/gen5_utc.json index 6ec72d80d..1653a9d50 100644 --- a/test/fixtures/whoop_freeze/gen5_utc.json +++ b/test/fixtures/whoop_freeze/gen5_utc.json @@ -2,7 +2,7 @@ "day_result": [ { "day_id": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-13", "day_confidence": 0.6, @@ -23340,7 +23340,7 @@ "midsleep_sec": -3589.0, "sleep_onset_sec": -17108.0, "active_min": 90.0, - "quiet_hrr": 0.17186959065025606, + "quiet_hrr": 0.1542306754450134, "trimp_net": null, "calories_total": 1707.6018200286808, "steps": 18240.0, @@ -26149,11 +26149,11 @@ "readiness": 72.95885235383324, "skipped": 0, "partial": 0, - "payload_sha256": "ad994cb036ea4f2cef8531ee95d01c3d0949675007e9c01c4c74b3bf0a159bf5" + "payload_sha256": "99f38c7ba9e843952bed48a70939251556c34c27f15fb9781c24079650854283" }, { "day_id": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-14", "day_confidence": 0.6, @@ -49347,7 +49347,7 @@ "midsleep_sec": -3589.0, "sleep_onset_sec": -17108.0, "active_min": 239.0, - "quiet_hrr": 0.17007890935571285, + "quiet_hrr": 0.152401853206535, "trimp_net": null, "calories_total": 1707.6018200286808, "steps": 17640.0, @@ -51974,11 +51974,11 @@ "readiness": 72.95885235383324, "skipped": 0, "partial": 0, - "payload_sha256": "9360e749e2049a6135340ff3ea22aceea44d082e5053d845c388729457ae8f28" + "payload_sha256": "2a1a813d333e2a9e3158d1d7b7a6b8fed3971cc677f4fa4e3aa020ce6343be14" }, { "day_id": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "payload_json": { "date": "2026-07-15", "day_confidence": 0.6, @@ -73760,7 +73760,7 @@ "midsleep_sec": -3589.0, "sleep_onset_sec": -17108.0, "active_min": 40.0, - "quiet_hrr": 0.17604784700419027, + "quiet_hrr": 0.16034063260340634, "trimp_net": null, "calories_total": 1595.2893200286808, "steps": 17640.0, @@ -76393,7 +76393,7 @@ "readiness": 61.79377627786914, "skipped": 0, "partial": 0, - "payload_sha256": "bc84ce1dd9fcfe1a52cddc1b9588835e58935c9edb78dc86a0d5d409957055d7" + "payload_sha256": "b10d6a3499a5e8e31be8bd4e16d911e5b3392d699ecf36e6c732506cb3738520" } ], "metric_series": [ @@ -76505,7 +76505,7 @@ { "date": "2026-07-13", "key": "quiet_hrr", - "value": 0.17186959065025606 + "value": 0.1542306754450134 }, { "date": "2026-07-13", @@ -76715,7 +76715,7 @@ { "date": "2026-07-14", "key": "quiet_hrr", - "value": 0.17007890935571285 + "value": 0.152401853206535 }, { "date": "2026-07-14", @@ -76925,7 +76925,7 @@ { "date": "2026-07-15", "key": "quiet_hrr", - "value": 0.17604784700419027 + "value": 0.16034063260340634 }, { "date": "2026-07-15", @@ -77031,7 +77031,7 @@ "metric_series_version": [ { "date": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen5", "coverage_devices": "", @@ -77039,7 +77039,7 @@ }, { "date": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen5", "coverage_devices": "", @@ -77047,7 +77047,7 @@ }, { "date": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "source": "band", "device_family": "gen5", "coverage_devices": "", @@ -77057,13 +77057,13 @@ "wake_day_features": [ { "day_id": "2026-07-13", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-13", "active_min": 90, "movement_min": 89.0, "strain": null, - "quiet_hrr": 0.17186959065025606, + "quiet_hrr": 0.1542306754450134, "trimp_net": null, "strain_absent": "need_baseline:have=0,need=3", "absent_notes": { @@ -78261,17 +78261,17 @@ "coverage_pct": 100 } }, - "payload_sha256": "77057f4175cb24ea9fce5b59fa37ea8fab2442df13394c393d0ad0ef699484d9" + "payload_sha256": "43bbb58435da884d54c6dbd27a63596cfc7a456c62f139a3ac73ee0e0c4d677d" }, { "day_id": "2026-07-14", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-14", "active_min": 239, "movement_min": 239.0, "strain": null, - "quiet_hrr": 0.17007890935571285, + "quiet_hrr": 0.152401853206535, "trimp_net": null, "strain_absent": "need_baseline:have=1,need=3", "absent_notes": { @@ -79469,17 +79469,17 @@ "coverage_pct": 100 } }, - "payload_sha256": "cfc60d107d9a1fd81788706171c84fc41901a764e2103f61ddc2cce5c9557be7" + "payload_sha256": "21c8f59b40a68cb5cc2f18d6a22157945abe6a5dd6fb9e7761af4cf48c45c9fe" }, { "day_id": "2026-07-15", - "algo_version": 141, + "algo_version": 142, "payload_json": { "day_id": "2026-07-15", "active_min": 40, "movement_min": 40.0, "strain": null, - "quiet_hrr": 0.17604784700419027, + "quiet_hrr": 0.16034063260340634, "trimp_net": null, "strain_absent": "need_baseline:have=2,need=3", "absent_notes": { @@ -80581,7 +80581,7 @@ "coverage_pct": 100 } }, - "payload_sha256": "0d78d1b0c4a0da9ecc6efe4d35a23530830dab89a6b105c5b91740ef163d32ec" + "payload_sha256": "cad222f69dd7bd6f79171f4bf5147dfde52903e59115fd1da08153556175ef4d" } ], "activity_suggestions": [