Data quality missions

From Open Food Facts wiki
Revision as of 12:03, 13 September 2024 by Teolemon (talk | contribs) (→‎Removing "Null values")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Nutrition values issues

Open Food Facts identifies some issues related to nutrition values. Some of them are very easy to solve:

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:

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.

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.

Labels & Categories

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.

Removing "Null values"

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