Eco-Score - Agribalyse coverage

From Open Food Facts wiki
Jump to navigation Jump to search

Introduction

The main factor for computing the Eco-Score of a product is the measure of its environmental impact in the Agribalyse database from ADEME (French national environmental agency).

Agribalyse contains data for 2500 categories of products (CIQUAL categories, different from the Open Food Facts categories).

This page:

  • tracks the % of products in the Open Food Facts database that we can associate with an Agribalyse category
  • defines a plan to improve that %

Metrics

The /categories-properties shows the products that have associated Agribalyse properties.

FR products 2020-07-22
All-products 697812 - 100%
Categories-known 362464 - 52%
Agribalyse-food-code-known 106549 - 15%
Agribalyse-proxy-food-code-known 1431 - 0%
Agribalyse-known 107913 - 15%
Top 10k FR products 2020-07-22
All-products 9798 - 100%
Categories-known 9759 - 100%
Agribalyse-food-code-known 3696 - 38%
Agribalyse-proxy-food-code-known 110 - 1%
Agribalyse-known 3801 - 39%

Facets can be combined, for instance to see the categories of products for which we don't have an Agribalyse association.

Plan to improve the Agribalyse coverage

Initial matching of Agribalyse categories to OFF categories - April-June 2020

As part of the Data4Good program, volunteers have added all the Agribalyse categories inside the OFF categories taxonomy.

When there was an exact match (the Agribalyse category exists in OFF), the agribalyse_food_code:en property was added to the existing category.

Unfortunately, in many cases, the Agribalyse categories differ from the OFF categories, in which case the Agribalyse categories have been added to the OFF taxonomy. In that case, the categories are empty and do not have products yet.

Implementation of products coverage metrics - May-July 2020

In order to measure the coverage (% of products with an associated Agribalyse category), we are computing a new /categories-properties facets that shows which products have an associated Agribalyse category.

Adding Agribalyse proxy categories in the OFF taxonomy

There are many cases where the Agribalyse categories are much more specific than the OFF categories, while that specificity is not needed to estimate environmental impacts.

This is because the Agribalyse categories are in fact the CIQUAL categories (the French national database for nutrition). For instance, many categories specify if something is flavoured, sugared, un-sugared, or with artificial sweeteners (e.g. yogurts). That distinction is very important for nutrition, but has often little or no impact on environmental impacts.

For example, CIQUAL define 4 categories for drinkable yogurts:

Boisson lactée, lait fermenté ou yaourt à boire, aromatisé, sucré
Boisson lactée, lait fermenté ou yaourt à boire, nature, sucré
Boisson lactée, lait fermenté ou yaourt à boire, nature, sucré, au L Casei
Boisson lactée, lait fermenté ou yaourt à boire, aux fruits, sucré

But those 4 categories in Agribalyse have the same or mostly the same environmental impact.

In that case, we can associate one of the specific Agribalyse category to the broader "Drinkable yogurts" category on OFF. We call it a "proxy" Agribalyse category.

en:Drinkable yogurts
agribalyse_proxy_food_code:en:19508
agribalyse_proxy_food_name:en:Dairy drink or fermented milk or yogurt, flavoured, with sugar
agribalyse_proxy_food_name:fr:Boisson lactée, lait fermenté ou yaourt à boire, aromatisé, sucré

How to identify potential Agribalyse proxy categories

Ask Pierre or Stéphane for the Agribalyse list of categories.

  • Search for groups of Agribalyse categories that correspond to different versions (e.g. flavoured, sugared etc.) of similar products
  • Check if the environmental impact for the categories are the same or almost the same
  • If the environmental impact is the same, look in the OFF categories taxonomy to see if we have a parent category that matches well the group of Agribalyse taxonomies
  • Add the agribalyse_proxy_food_code:en: property on the parent OFF category

Adding categories or more specific categories to products

If a product does not have a category, we cannot match it to the Agribalyse categories. So it is very important to add categories to products. The more specific the category, the better chance we have that it will match either an Agribalyse category or an Agribalyse proxy category.

(add links to Hunger Games)


Tags rules to automatically add more specific categories

(not coded yet)