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

Exclude from Nutrition value very high for category - Salt products that have been checked recently #9647

Open
CharlesNepote opened this issue Jan 12, 2024 · 0 comments
Labels
🧽 Data quality https://wiki.openfoodfacts.org/Quality 🧂 Salt

Comments

@CharlesNepote
Copy link
Member

A huge number of products do enter in the "Data quality warning" > Nutrition value very high for category - XXXX.

Eg. https://world.openfoodfacts.org/data-quality-warning/nutrition-value-very-high-for-category-salt represent 44,000 products as of 2024-01.

But many (the majority?) of these products are perfectly OK. One of their nutrients is just exceeded the mean.

But some of this product do really have an issue. How to identify and fix them?

  1. For fat, carbs, fibers and proteins, the issue can be revealed by recomputing energy and comparing it to the one entered by the user (this is already done by the data quality error: Energy value in kcal does not match value computed from other nutrients).
  2. But some issues are harder to identify: saturated fat, sugars, and mostly salt -- because the latter has no link at all with the energy.

Possible solution

If the product has been checked by someone recently, it should be excluded from the warning Nutrition value very high for category - XXXX. See the documentation related to "Photos and data check": https://wiki.openfoodfacts.org/Data_fields#Photos_and_data_check

Ideally it should work this way:

  • read the last_checked_t
  • if salt has not been modified since last_checked_t, exclude it from Nutrition value very high for category - Salt warning. It could work not just for salt.

This way, experimented user could check salt issues in popular products.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧽 Data quality https://wiki.openfoodfacts.org/Quality 🧂 Salt
Projects
Status: To discuss and validate
Status: To do
Development

No branches or pull requests

1 participant