Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freshly created product without nutrients has a Nutri-Score #9701

Open
CharlesNepote opened this issue Jan 24, 2024 · 3 comments
Open

Freshly created product without nutrients has a Nutri-Score #9701

CharlesNepote opened this issue Jan 24, 2024 · 3 comments
Labels
🎯 P1 🛣️ Road to scores Ensuring getting the Nutri-Score and Eco-Score is easy for users, and takes 1 or 2 minutes max.

Comments

@CharlesNepote
Copy link
Member

CharlesNepote commented Jan 24, 2024

Just entered this product which does not have any nutrients (it's salt), and the app is wrongly displaying a Nutri-Score, and also asking to complete nutrients -- while I have explicitly selected "Les valeurs nutritionnelles ne sont pas spécifiées sur le produit'.

When I edit the product through the web, "Nutrition facts are not specified on the product." is not selected, while it should be.
image

@teolemon
Copy link
Member

teolemon commented Jan 24, 2024

I discovered that new behavior a couple of days ago while discussing with @stephanegigandet
It's a server side change. Nutrients are estimated from the ingredient list. As a result, users are confused and couldn't possibly know that they need to input the actual nutrition table unless the error is blatant.

On a related topic, showing the Nutri-Score from the predicted category will yield a similar problem. People won't bother to add the actual category, or at least at a slower rate than currently.

@teolemon teolemon added 🎯 P1 🛣️ Road to scores Ensuring getting the Nutri-Score and Eco-Score is easy for users, and takes 1 or 2 minutes max. labels Jan 24, 2024
@teolemon teolemon transferred this issue from openfoodfacts/smooth-app Jan 26, 2024
@stephanegigandet
Copy link
Contributor

@teolemon @CharlesNepote Which behaviour would you like to change on the server?

We currently display a Nutri-Score from nutrients estimated from the ingredients list, it's useful in particular to display Nutri-Score for fresh fruits and vegetables, eggs etc.

We could display it only when the no nutrition table checkbox is checked, and possibly exclude some categories.

@teolemon
Copy link
Member

teolemon commented Feb 5, 2024

The key would be to acknowledge the magick. - Mention how the Nutri-Score has been computed using ingredients, and build a logic to ascertain that nutrition is actually not mentioned: 1. Once the button has been clicked on the warning banner, Go through the nutrition not present toggle on all products to force either a nutrition photo or activation of that toggle. We could auto-activate the toggle by default on some categories.

  • Mention if we're using a shadow category in the future that we would like a validation of the category, add a hunger games button next to the category warning.

If we broaden the topic, that's adding more knowledge panel action to those new edge cases. They've been designed to that end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎯 P1 🛣️ Road to scores Ensuring getting the Nutri-Score and Eco-Score is easy for users, and takes 1 or 2 minutes max.
Projects
Status: To discuss and validate
Status: 💬 To discuss and validate
Development

No branches or pull requests

3 participants