Skip to content

docs: document health score calculation and weights (#717)#741

Merged
Baskarayelu merged 1 commit into
Remitwise-Org:mainfrom
primexk5:docs/reporting-health-score
Jun 18, 2026
Merged

docs: document health score calculation and weights (#717)#741
Baskarayelu merged 1 commit into
Remitwise-Org:mainfrom
primexk5:docs/reporting-health-score

Conversation

@primexk5

Copy link
Copy Markdown
Contributor

Description

Documents the calculate_health_score logic and component weights to make the algorithm fully auditable for reviewers and integrators.

Changes

  • Added docs/HEALTH_SCORE.md: Details component weights (Savings 0-40, Bills 0-40, Insurance 0-20), clamping behavior, and missing report handling, plus worked examples.
  • Inline Rust Docs: Added summaries to calculate_health_score and HealthScore.
  • README Updates: Cross-linked the new documentation from the root and reporting READMEs.

@primexk5

Copy link
Copy Markdown
Contributor Author

Heads-up: the failing checks come from pre-existing compile errors in reporting/src/tests.rs that already exist on the base branch (93ad812) — not from this PR, which only adds documentation (markdown + /// doc comments, no compiled code). cargo doc -p reporting --no-deps builds clean. Happy to rebase on a newer main if these have since been fixed upstream.

@Baskarayelu

Copy link
Copy Markdown
Contributor

nice, the HEALTH_SCORE.md walkthrough of the savings/bills/insurance weighting finally makes that score auditable from the outside. merging 📚

@Baskarayelu Baskarayelu merged commit 8b11c52 into Remitwise-Org:main Jun 18, 2026
2 of 6 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.

2 participants