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

Saturate fat errror inadvertently triggered #9305

Closed
aleene opened this issue Nov 13, 2023 · 1 comment · Fixed by #9463
Closed

Saturate fat errror inadvertently triggered #9305

aleene opened this issue Nov 13, 2023 · 1 comment · Fixed by #9463
Assignees
Labels
🧽 Data quality - Nutrition 🧽 Data quality https://wiki.openfoodfacts.org/Quality

Comments

@aleene
Copy link
Contributor

aleene commented Nov 13, 2023

What

When a product has a saturated fat entry, but not a fat entry (empty or dash), the error Nutrition Saturated Fat greater than Fat is triggered.

Steps to reproduce the behavior

See https://nl.openfoodfacts.org/product/2255174002390/goud-en-eerlijk-volkoren-jumbo

Expected behavior

This should not produce an error.

@CharlesNepote
Copy link
Member

Good catch @aleene.

4000+ products have the corresponding error.

But many of these products has a saturated fat = 0.

2300+ products have Nutrition Saturated Fat greater than Fat and a saturated fat <> 0.

And 640+ of them don't have any photo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧽 Data quality - Nutrition 🧽 Data quality https://wiki.openfoodfacts.org/Quality
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants