Limit percent max of some ingredients (e.g. aroma, ferments) (needed for milk estimate for Nutri-Score) #5369
Closed
Labels
✨ Feature
Features or enhancements to Open Food Facts server
🥗🔍 Ingredients analysis
https://wiki.openfoodfacts.org/Ingredients_Extraction_and_Analysis
🚦 Nutri-Score
What
We currently estimate % min and max for each ingredient in the ingredient list. And those % can be used for the Nutri-Score (e.g. to see if a product has more than 80% milk and should not be considered a beverage), for the Eco-Score etc.
For something like "Milk, ferments", we get this result:
https://world.openfoodfacts.org/cgi/test_ingredients_analysis.pl?ingredients_text=Milk%2C+ferments&type=add&action=process&submit=Envoyer
Milk -> en:milk - vegan: no - vegetarian: yes - percent_min: 50 - percent_max: 100
ferments -> en:ferment - vegan: maybe - vegetarian: maybe - percent_min: 0 - percent_max: 50
In practice, we could consider that some ingredients are never above 5% (unless they are the first and sole ingredients, like a bottle of ferments or a bottle of aroma).
And in this case, we could determine that this product is at least 95% milk, instead of at least 50% milk.
Part of
The text was updated successfully, but these errors were encountered: