[DQ-02] Add epistemic status labels - #2405
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
PR Review SummaryThis PR successfully introduces standard epistemic status metadata across domain scoring, server contract schemas, and mobile UI rendering. Highlights
Key Recommendation
🤖 Reviewed by codereviewbot.ai - Catch bugs before your team does. |
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (59)
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 |
Reviewer's GuideIntroduces a shared epistemic status vocabulary (Observed / Estimated / Associated / Suggested / Unavailable), wires it through key scoring and server contracts, exposes it on web and mobile surfaces for weight, sleep need, today plan, and correlation, and adds schema plus regression coverage to enforce canonical labels end-to-end. File-Level Changes
Assessment against linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
PR Summary by QodoAdd shared epistemic status labels across server contracts and health UI
AI Description
Diagram
High-Level Assessment
Files changed (51)
|
Mobile PreviewScan to open on device:
To test on device:
|
|
Storybook previews for This comment updates automatically on each PR push. |
Code Review by Qodo
Context used✅ Compliance rules (platform):
197 rules✅ Skills:
fix-provider, write-tests, cloudflare 1.
|
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
|
🤖 Review skipped: Repository rate limit exceeded. Free accounts are limited to 2 reviews per 4 hours per repository. Upgrade to a paid plan for unlimited reviews. |
Summary\n- add a shared epistemic-status contract for observed, estimated, and inferred values\n- expose the server-authored status on web and mobile health surfaces\n- add contract and platform regression coverage\n\nCloses #2075
Summary by Sourcery
Introduce a shared epistemic-status vocabulary and propagate server-authored status labels across analytics contracts and UI surfaces for sleep need, weight, correlations, and today plan.
New Features:
Enhancements:
Tests:
Summary by cubic
Adds a shared epistemic status system and surfaces it across server, web, and mobile so users can see if values are Observed, Estimated, Associated, Suggested, or Unavailable. Aligns with DQ-02 (#2075) and versions caches to avoid stale data.
New Features
@dofek/scoring/epistemic-statuswith kinds, labels, andgetEpistemicStatus.epistemic-statusZod contract and wired it into Sleep Need V2, Today Plan, Correlation (v1/v2), and Body Analytics.rawWeightStatus(Observed or null if interpolated) andsmoothedWeightStatus(Estimated).Bug Fixes
epistemicStatus(Today sleep need, Recovery weight, TodayPlanCard, Correlation).MOBILE_QUERY_CACHE_CONTRACT_VERSION = 7; API cache keyssleep-need-metadata-v2,today-plan-evidence-v2,correlation.compute:v2,correlation.computeV2:v2,health-status-evidence-v4.Written for commit e042bab. Summary will update on new commits.