openfoodfacts / openfoodfacts-server

Open Food Facts database, API server and web interface - 🐪🦋 Perl, CSS and JS coders welcome 😊 For helping in Python, see Robotoff or taxonomy-editor
GNU Affero General Public License v3.0
632 stars 367 forks source link

Conficting NutriScore information is displayed for a product #5551

Open kulizhsy opened 3 years ago

kulizhsy commented 3 years ago

Describe the bug

3 different pieces of information (the NutriScore label, the 'labels' field and the product photo) display incompatible information.

To Reproduce

Product URL - https://world.openfoodfacts.org/product/3497917002574/chips-sel-vinaigre-brets#

Expected behavior

The product photo shows a 'C' NutriScore label, which should be the only NutriScore value attached to the product.

Screenshots

Screen Shot 2021-08-25 at 13 46 03

Additional context

No response

Type of device

Browser

Browser version

No response

Number of products impacted

No response

Time per product

No response

Part of

kulizhsy commented 3 years ago

Robotoff seems to have applied the correct label in this case, so I'm not sure where the 'D' grade is coming from

Screen Shot 2021-08-25 at 13 53 03
teolemon commented 3 years ago

The D grade is the computation from the nutrition table and the category. We might be missing the fiber value, which brings positive points, which might turn it into a C

teolemon commented 3 years ago

Related issues in Robotoff:

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 90 days with no activity.