Data quality missions: Difference between revisions
No edit summary |
|||
Line 137: | Line 137: | ||
*in [https://app.slack.com/client/T02KVRT1Q/CT2N423PA/thread/GCUD53J5R-1586349162.333800?cdn_fallback=2 #bot-image-alerts] channel, annotate the product with a "checked" icon to tell others that the product has been moved | *in [https://app.slack.com/client/T02KVRT1Q/CT2N423PA/thread/GCUD53J5R-1586349162.333800?cdn_fallback=2 #bot-image-alerts] channel, annotate the product with a "checked" icon to tell others that the product has been moved | ||
[[Category:Data quality]] | [[Category:Data quality]] | ||
[[Category:Nutri-Score]] |
Latest revision as of 10:50, 21 August 2024
Nutrition values issues
Open Food Facts identifies some issues related to nutrition values. Some of them are very easy to solve:
- Energy value in kcal greater than in kJ
- Nutrition Salt is higher than 100g per 100g
- Carbohydrate is higher than 100g per 100g
- Fat is higher than 100g per 100g
Nutri-Score quality
Some products now have Nutri-Score printed on the front of pack. Some differs from our Nutri-Score calculation. We should take care about that:
- Nutri-Score printed A but calculated E - June 3rd 2024: 79 products
- Nutri-Score printed A but calculated D - June 3rd 2024: 90 products
- Nutri-Score printed A but calculated C - June 3rd 2024: 611 products
- Nutri-Score printed E but calculated A - June 3rd 2024: 9 products
- Nutri-Score printed E but calculated B - June 3rd 2024: 34 products
- Nutri-Score printed E but calculated C - June 3rd 2024: 40 products
- Nutri-Score printed D but calculated A - June 3rd 2024: 4 products
- Nutri-Score printed D but calculated B - June 3rd 2024: 46 products
- Nutri-Score printed D but calculated C - June 3rd 2024: 308 products
- Nutri-Score printed B but calculated E - June 3rd 2024: 153 products
- Nutri-Score printed B but calculated D - June 3rd 2024: 166 products
- Nutri-Score printed B but calculated C - June 3rd 2024: 1169 products
There are many reasons why it can differ:
- the label in Open Food Facts does not represent the label printed on the package (easy to solve)
- the label is correct, but our calculation doesn't provide the same result:
- check the category,
- then check the nutrition facts: the issue is sometimes the lack of "fibers" information or the lack of "Fruits, vegetables, nuts and rapeseed, walnut and olive oils" percentage.
- it can be a software issue (quite rare but possible).
Issue | Rationale | How to fix |
---|---|---|
The Nutri-Score displayed by the producer is different from the Nutri-Score Open Food Facts computes | The label in Open Food Facts does not represent the label printed on the package | Change the Nutri-Score label or labels to what's actually on pack. If there is a special 2 Nutri-Score logo, please use en:Nutri-Score A/B |
The Nutri-Score displayed by the producer is different from the Nutri-Score Open Food Facts computes | The category is wrong | Change the category and see if it's modifying the Nutri-Score |
The Nutri-Score displayed by the producer is different from the Nutri-Score Open Food Facts computes | The nutrition facts are wrong |
|
The Nutri-Score displayed by the producer is different from the Nutri-Score Open Food Facts computes | The ingredients are not filled, or filled with mistakes, or not properly detected | Extract and save the ingredients. Fix any mistakes in the ingredients list. Ask in the #taxonomy channel that someone taxonomizes the ingredient, or do it yourself. |
Two different Nutriscores as labels
These are easy to fix: just watch the last pictures and delete the Nutri-Score that don't fit.
- Users have filled both Nutriscore A and E > 1 product
- Users have filled both Nutriscore A and D 0 product
- Users have filled both Nutriscore A and C 1 product
- Users have filled both Nutriscore A and B -- 2024-06-31: 347 products =>
- Users have filled both Nutriscore B and E 2 products
- Users have filled both Nutriscore B and D -- 2024-05-31: 14 products => 0
- Users have filled both Nutriscore B and C -- 2024-06-31: 157 products =>
- Users have filled both Nutriscore C and E -- 2024-05-31: 21 products => 0
- Users have filled both Nutriscore C and D -- 2024-06-31: 70 products =>
- Users have filled both Nutriscore D and E -- 2024-05-31: 56 products => 0
Special cases
- The Nutri-Score actually changed. Please copy paste the URL below or in Folksonomy Engine if you have access
- There is a 2 Nutri-Score logo. Please use our special values:
en:Nutri-Score A/B en:Nutri-Score A/C en:Nutri-Score A/D en:Nutri-Score A/E en:Nutri-Score B/C en:Nutri-Score B/D en:Nutri-Score B/E en:Nutri-Score C/D en:Nutri-Score C/E en:Nutri-Score D/E
Intersections to check regularly
Categories
Every product has an exclusive entry in tha categories taxonomy.
Leaf exclusives
Each product should belong to a single leaf, This allows us to assign a single Nutriscore and Ecoscore to a product. Two leaves can have the same parent node (are on the same branch). These are then part of the same set and in some cases opposites.
Branch exclusives
The taxonomy is designed in such a way that each branch is unique and contains its own specific products. This hold for each node.
- top nodes
- intermediary nodes
- https://world.openfoodfacts.org/category/sweet%20snacks/category/salted%20snacks
- https://world.openfoodfacts.org/category/non-alcoholic-beverages/category/alcoholic-beverages
- https://world.openfoodfacts.org/category/fruits/category/vegetables
- https://world.openfoodfacts.org/category/seeds/category/dairies
- https://world.openfoodfacts.org/category/meats/category/seafood
- https://world.openfoodfacts.org/category/poultries/category/fishes
- https://world.openfoodfacts.org/category/baked-goods/category/confectioneries
- https://world.openfoodfacts.org/category/Spices/category/herbs
- https://world.openfoodfacts.org/category/oils/category/vinegars
- https://world.openfoodfacts.org/category/short-grain-rices/category/long-grain-rices
- https://world.openfoodfacts.org/category/white-breads/category/whole-wheat-bread
- https://world.openfoodfacts.org/category/whole-milks/category/Skimmed-milks
- https://world.openfoodfacts.org/category/Hard%20cheeses/category/Soft%20cheeses
- https://world.openfoodfacts.org/category/pasteurized-cheeses/category/unpasteurised-cheeses
Labels & Categories
- https://world.openfoodfacts.org/label/organic/category/fishes
- https://world.openfoodfacts.org/label/pgi/origin/united-states
- https://world.openfoodfacts.org/category/balsamic-vinegars/category/red-wine-vinegars
- Fish should never be organic (to be converted in a request)
Dealing with the consequences of an old Android bug
"Loading…" (or the equivalent in other languages) replaced the product name. 99% of phones have been updated with the fix, but we still have some unfixed products.
It should be noted that it's pointless to "fix" it by normal editing of the product, as it will just get put back the way it was, as seen here. A Slack report exists, here.
Non-Food Products
Some people are adding products which are not food: beauty products, books, pet food, etc. These products have to be moved to Open Food Facts side projects. Our AI (artificial intelligence) already identifies many cases. These cases are published in the #bot-image-alerts channel on our slack space.
How to move these products?
- identify a product in the #bot-image-alerts channel
- clic on the link after "edit:"
- if you have the rights to so, you will see "If the barcode is not correct, please correct it here"
- enter "obf" to move beauty products to Open Beauty Facts
- enter "opff" to move products to Open Pet Food Facts
- enter "opf" to move products to Open Product Facts
- save (if "A product already exists with the new code" message appear, move it manually, and delete it)
- in #bot-image-alerts channel, annotate the product with a "checked" icon to tell others that the product has been moved