simonoppowa / OpenNutriTracker

🍴 OpenNutriTracker is a free and open source calorie tracker with a focus on simplicity and privacy.
https://simonoppowa.github.io/OpenNutriTracker-Website/
GNU General Public License v3.0
371 stars 54 forks source link

Bug Report: Incorrect TDEE #53

Closed Syvokobylenko closed 8 months ago

Syvokobylenko commented 8 months ago

Version: v0.6.11 (apk from release)

Activity: Sedentary Goal: Lose Weight Weight: 85.0 KG Height: 175 cm Age:28 Gender: Male

Calculated Kcal: 2179 (should be 1679) Changing the goal just adds 500/1000 to it.

Suggestion: Add your own daily kcal as a goal or substract 500kcal from each level (I'll try to find the issue and make a commit myself) Other than that, the app works perfectly.

Syvokobylenko commented 8 months ago

tdee_calc.dart seems to be at fault, adding extra 500 for some reason

Syvokobylenko commented 8 months ago

I looked up the formula, and it checks out. Weird, most online calculators use a different formula then.