Skip to content

Add decision rules and backend recommendation layer#66

Merged
shchukins merged 2 commits into
mainfrom
feature/auto-sync-mvp
May 2, 2026
Merged

Add decision rules and backend recommendation layer#66
shchukins merged 2 commits into
mainfrom
feature/auto-sync-mvp

Conversation

@shchukins
Copy link
Copy Markdown
Owner

Decision layer v1

Implemented deterministic readiness → recommendation mapping.

Done

  • documented decision rules v1
  • added backend recommendation layer
  • readiness API now returns:
    • recommendation
    • reason
  • added rule-based mapping:
    • < 40 → recovery
    • 40–60 → endurance
    • 60–75 → moderate
    • >= 75 → high intensity possible
  • kept logic deterministic and explainable
  • updated docs/tests

Example

{
  "recommendation": "endurance",
  "reason": "Readiness score is 55.7/100. Freshness is available at 52.7/100. Recovery is available at 60.1/100. Recommendation is endurance."
}

Closes #46
Closes #47

@shchukins shchukins merged commit 2685ec6 into main May 2, 2026
2 checks 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.

1 participant