Repository navigation
Upgrade weight algorithms to industry standards (MacroFactor-level) - #95
Merged
Merged
Conversation
EWMA (Exponentially Weighted Moving Average): - Replace simple 7-day average with EWMA (α=0.1) - Today: 10% weight, yesterday: 9%, etc. (≈20-day equivalent) - Dips immediately reflected, bloating naturally decays - Used by MacroFactor, Hacker's Diet, scientific literature TDEE calculation fixes: - Use actual DATE ranges instead of entry counts - Compare last 14 days trend vs previous 14 days trend - Align calorie data with same 28-day window as weight trend - Use EWMA trend values for accurate weekly loss calculation Expected weight line improvements: - Use average of days 7-14 as baseline (after water weight) - Avoids inflated trajectory from initial water loss - Falls back to first weight if not enough data yet Updated info sheet with accurate algorithm explanations
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automatically created PR for branch claude/optimize-resource-usage-njJv8