Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nutrition fact checks (dart package) #784

Open
monsieurtanuki opened this issue Aug 12, 2023 · 0 comments
Open

Nutrition fact checks (dart package) #784

monsieurtanuki opened this issue Aug 12, 2023 · 0 comments

Comments

@monsieurtanuki
Copy link
Contributor

cf. @g123k's openfoodfacts/smooth-app#4446

Currently, we don't check what is in the nutrition screen, whereas on the website we have multiple checks.

  • Ensure the relation between kJ / kCal is correct
  • Energy should not exceed 3800 kJ (?)
  • Generally speaking, all items shouldn't exceed 100g if it's per 100g (e.g. Fat, Carbohydrates, ...)
  • Saturated fat should not exceed fat
  • Sugars should not exceed carbohydrates
  • Compute sodium / salt
@monsieurtanuki monsieurtanuki self-assigned this Aug 14, 2023
@monsieurtanuki monsieurtanuki removed their assignment Sep 5, 2023
@teolemon teolemon changed the title Nutrition fact checks Nutrition fact checks (dart package) Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

2 participants