Data quality: Difference between revisions

From Open Food Facts wiki
(Initial page)
 
 
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Some important things to know:
Data quality at Open Food Facts is guided by '''3 main principles''':
* Quality does not make sense for itself.
* Quality does not make sense for itself: quality depends on usages.
* Quality depends on usages.
* We always try to favor ease of use and ease of collection. Data quality control, data verification and data fix should never be an obstacle to data gathering.
* No database at all can pretend to zero-default.
* No database at all can pretend to be zero-defect. With more than 2,900,000 products, there are quality concerns. Data quality is done on a "best effort" basis. The effort on data quality includes measuring quality, setting objectives, publishing them and implementing them.
* With more than 1 200 000 products, there are quality concerns: our goal is to lower the impacts of the issues.
These principles and our high level objectives are described in the following short document, which you should read at first if you want to go further:


== Data quality: how to help? ==
https://link.openfoodfacts.org/data-quality  


=== Nutri-Score quality ===
== Measures ==
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:
We have started an initiative to measure and publish continuously some data quality stats. We have created a specific page dedicated to [[data quality stats]].
* [https://world.openfoodfacts.org/nutrition-grade/e/label/nutriscore-grade-a Nutri-Score printed A but calculated E]
 
* [https://world.openfoodfacts.org/nutrition-grade/d/label/nutriscore-grade-a Nutri-Score printed A but calculated D]
== How to help? ==
* [https://world.openfoodfacts.org/nutrition-grade/c/label/nutriscore-grade-a Nutri-Score printed A but calculated C]
Anyone can help to improve the data quality.
* [https://world.openfoodfacts.org/nutrition-grade/a/label/nutriscore-grade-e Nutri-Score printed E but calculated A]
 
* [https://world.openfoodfacts.org/nutrition-grade/b/label/nutriscore-grade-e Nutri-Score printed E but calculated B]
=== 1. Adding photos ===
* [https://world.openfoodfacts.org/nutrition-grade/c/label/nutriscore-grade-e Nutri-Score printed E but calculated C]
Photos allow other contributors to verify and, if necessary, fix the issues. As a contributor, this is the first step to improve data quality.
* [https://world.openfoodfacts.org/nutrition-grade/a/label/nutriscore-grade-d Nutri-Score printed D but calculated A]
 
* [https://world.openfoodfacts.org/nutrition-grade/b/label/nutriscore-grade-d Nutri-Score printed D but calculated B]
=== 2. Fixing a product issue ===
* [https://world.openfoodfacts.org/nutrition-grade/c/label/nutriscore-grade-d Nutri-Score printed D but calculated C]
As in Wikipedia, anyone can edit at Open Food Facts. If you see an error, don't hesitate to fix it! If you're afraid or hesitating, you can ask your questions on [https://forum.openfoodfacts.org the forum] or in our [https://slack.openfoodfacts.org/ Slack space].
* [https://world.openfoodfacts.org/nutrition-grade/e/label/nutriscore-grade-b Nutri-Score printed B but calculated E]
 
* [https://world.openfoodfacts.org/nutrition-grade/d/label/nutriscore-grade-b Nutri-Score printed B but calculated D]
=== 3. Report an issue related to many products or related to data quality ===
* [https://world.openfoodfacts.org/nutrition-grade/c/label/nutriscore-grade-b Nutri-Score printed B but calculated C]
Sometimes you can discover issues related to many products or related to data quality.
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)
* You can report the issue on [https://forum.openfoodfacts.org the forum] or in our [https://slack.openfoodfacts.org/ Slack space].
* the label is correct but our calculation doesn't provide the same result:
* You can also directly [https://github.com/openfoodfacts/openfoodfacts-server/issues/new/choose report the issue directly on our bug reporting tool].
** 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.
=== 4. Help improve data quality with specific missions ===
* it can be a software issue (quite rare but possible)
If you want to further, you can check [[Data quality missions|specific missions related to data quality]]. Some missions are fast and easy to achieve.
 
=== 5. Joining the effort to improve data quality ===
We organize a public monthly meeting dedicated to data quality. It takes place every first Tuesday of the month at 6pm CET, see [[Events|Open Food Facts' events]] to find the next meetings in our community calendar.
 
If you have '''technical skills''', you can also do your part for data quality. Head over to [https://github.com/openfoodfacts/openfoodfacts-server/issues/5538 our tracking issue on GitHub]
 
== Tools ==
[to be completed]
=== Prevention ===
==== Prevention - Encouraging good API implementation ====
* Documentation and API tutorial for 3rd party quality controls
* Private channels with 3rd party apps for moderation
==== Prevention - Quality warnings ====
==== Website ====
==== Official mobile app ====
 
==== Prevention - Edit rules ====
* We silently discard/rewrite some edits in specific conditions when we have no other solutions
 
=== Data quality measurement ===
See [[data quality stats]].
 
==== Quality facets ====
[to be described]
 
==== Quality knowledge panel ====
* A knowledge panel showing all the potential data quality issues related to the product.
 
==== Nutri-Patrol ====
* [[Nutri-Patrol]]
 
=== Data quality daily ===
[https://mirabelle.openfoodfacts.org/-/data-quality-daily/subscribe Data quality daily] is a daily email suggesting you 3 Open Food Facts products to fix.
 
* this is ''your'' mission, these 3 products are not sent to other users
* these products should be fixable (photos)
* products' popularity is taken into account (number of scans last year): your fixes have a higher impact
* you also get nice daily stats about data quality, including a contributors' board.
 
Don't hesitate to [https://mirabelle.openfoodfacts.org/-/data-quality-daily/subscribe register], you can unsubscribe at any time.
 
=== Power User Script ===
[https://github.com/openfoodfacts/power-user-script Power User Script] is a user script for your browser, to empower Open Food Facts  contribution. It offers many enhancements for contributors, and many features dedicated to data quality.
 
 
=== Where do the errors come from? ===
Thanks to Mirabelle tool, we have created the list of contributors errors' count: https://mirabelle.openfoodfacts.org/_memory/errors_from
 
We can monitor this list from time to time, to prevent some bad data from apps or users.
 
== Reference / documentation ==
 
=== Quality facets ===
There are more than 180 data quality facets. You can consult the [[List of data quality errors (generated)|list of data quality errors]].
 
=== Data quality issues which can't be fixed ===
Some data quality issues can't be fixed due to different reasons. See the dedicated page: [[Data quality issues which can't be fixed]].
[[Category:Quality]]
[[Category:Data quality]]
 
== Get in touch ==
{{Box
| 1    =  Slack channel
| 2    =  [https://openfoodfacts.slack.com/messages/C03H290LF/ #quality-data]
}}

Latest revision as of 13:51, 19 August 2024

Data quality at Open Food Facts is guided by 3 main principles:

  • Quality does not make sense for itself: quality depends on usages.
  • We always try to favor ease of use and ease of collection. Data quality control, data verification and data fix should never be an obstacle to data gathering.
  • No database at all can pretend to be zero-defect. With more than 2,900,000 products, there are quality concerns. Data quality is done on a "best effort" basis. The effort on data quality includes measuring quality, setting objectives, publishing them and implementing them.

These principles and our high level objectives are described in the following short document, which you should read at first if you want to go further:

https://link.openfoodfacts.org/data-quality

Measures

We have started an initiative to measure and publish continuously some data quality stats. We have created a specific page dedicated to data quality stats.

How to help?

Anyone can help to improve the data quality.

1. Adding photos

Photos allow other contributors to verify and, if necessary, fix the issues. As a contributor, this is the first step to improve data quality.

2. Fixing a product issue

As in Wikipedia, anyone can edit at Open Food Facts. If you see an error, don't hesitate to fix it! If you're afraid or hesitating, you can ask your questions on the forum or in our Slack space.

3. Report an issue related to many products or related to data quality

Sometimes you can discover issues related to many products or related to data quality.

4. Help improve data quality with specific missions

If you want to further, you can check specific missions related to data quality. Some missions are fast and easy to achieve.

5. Joining the effort to improve data quality

We organize a public monthly meeting dedicated to data quality. It takes place every first Tuesday of the month at 6pm CET, see Open Food Facts' events to find the next meetings in our community calendar.

If you have technical skills, you can also do your part for data quality. Head over to our tracking issue on GitHub

Tools

[to be completed]

Prevention

Prevention - Encouraging good API implementation

  • Documentation and API tutorial for 3rd party quality controls
  • Private channels with 3rd party apps for moderation

Prevention - Quality warnings

Website

Official mobile app

Prevention - Edit rules

  • We silently discard/rewrite some edits in specific conditions when we have no other solutions

Data quality measurement

See data quality stats.

Quality facets

[to be described]

Quality knowledge panel

  • A knowledge panel showing all the potential data quality issues related to the product.

Nutri-Patrol

Data quality daily

Data quality daily is a daily email suggesting you 3 Open Food Facts products to fix.

  • this is your mission, these 3 products are not sent to other users
  • these products should be fixable (photos)
  • products' popularity is taken into account (number of scans last year): your fixes have a higher impact
  • you also get nice daily stats about data quality, including a contributors' board.

Don't hesitate to register, you can unsubscribe at any time.

Power User Script

Power User Script is a user script for your browser, to empower Open Food Facts contribution. It offers many enhancements for contributors, and many features dedicated to data quality.


Where do the errors come from?

Thanks to Mirabelle tool, we have created the list of contributors errors' count: https://mirabelle.openfoodfacts.org/_memory/errors_from

We can monitor this list from time to time, to prevent some bad data from apps or users.

Reference / documentation

Quality facets

There are more than 180 data quality facets. You can consult the list of data quality errors.

Data quality issues which can't be fixed

Some data quality issues can't be fixed due to different reasons. See the dedicated page: Data quality issues which can't be fixed.

Get in touch

Slack channel