Skip to content

Scale scan: muscle rate, ideal weight, Low/Standard/High ratings - #79

Merged
dandwhelan merged 2 commits into
mainfrom
ccr-0619853e-huk7gu
Oct 3, 2026
Merged

dandwhelan merged 2 commits into
mainfrom
ccr-0619853e-huk7gu

Conversation

@dandwhelan

Copy link
Copy Markdown
Owner
  • New scales/standards.py: derives muscle rate % and ideal weight (Fitdays formulas: women (h−70)×0.6, men BMI 22) and rates each field + per-limb muscle/fat as Low/Standard/High, calibrated against real Fitdays app labels.
  • /api/scale/frames adds these to the scan extras; the scan readout shows the new rows and coloured rating chips.
  • Tests in tests/test_scale_standards.py use Dan's and Helen's actual scans.

WHR and target weight are not included: the WHR output offset in the vendor engine is unverified, and the target-weight formula couldn't be pinned down from two samples.

🤖 Generated with Claude Code

https://claude.ai/code/session_01McfHNjGf9nQw9SxVCLt2uE


Generated by Claude Code

…target weight

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01McfHNjGf9nQw9SxVCLt2uE
@dandwhelan
dandwhelan marked this pull request as ready for review October 3, 2026 07:11
@dandwhelan
dandwhelan merged commit 0843dd3 into main Oct 3, 2026
0 of 4 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