fix: calorie balance uses per-day TDEE from SMA trend weight + workout kcal

Balance is now intake minus estimated expenditure rather than intake
minus calorie goal. TDEE computed per day using that day's SMA trend
weight (Mifflin-St Jeor BMR × NEAT multiplier) plus tracked workout
calories, so a -500 kcal cut shows ~-500 on the balance card.
This commit is contained in:
2026-04-08 16:56:10 +02:00
parent 111fa91427
commit 340b4f6023
3 changed files with 94 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "homepage",
"version": "1.14.0",
"version": "1.14.1",
"private": true,
"type": "module",
"scripts": {