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

For moderators, Show the presence of a CIQUAL/Agribalyse match in the panel for ingredient analysis #9534

Closed
teolemon opened this issue Dec 15, 2023 · 5 comments · Fixed by #9965
Labels
Agribalyse French LCA database used in Eco-Score computations CIQUAL https://www.anses.fr/en/content/anses-ciqual-food-composition-table Ingredients knowledge panel 📖 Knowledge Panels https://wiki.openfoodfacts.org/Knowledge_panels

Comments

@teolemon
Copy link
Member

teolemon commented Dec 15, 2023

Problem

  • Make it easy to spot holes in Agribalyse/CIQUAL coverage, and easier to look for proxies, without overwhelming all users

Proposed solution

  • For moderators, Show the presence of a CIQUAL/Agribalyse match in the panel for ingredient analysis

Part of

@teolemon teolemon added 📖 Knowledge Panels https://wiki.openfoodfacts.org/Knowledge_panels Agribalyse French LCA database used in Eco-Score computations CIQUAL https://www.anses.fr/en/content/anses-ciqual-food-composition-table labels Dec 15, 2023
@stephanegigandet
Copy link
Contributor

This in the panel "Details of the analysis of the ingredients":

image

We should show which ingredients have a Ciqual code or a ciqual proxy code.

The corresponding data is in the "ingredients" structure of each product, that you can see by adding ?fields=ingredients to the URL of a product page:
https://world.openfoodfacts.org/product/7622210449283?fields=ingredients

image

Related code is in Display.pm display_ingredients_analysis_details() function

@himanshisrestha
Copy link
Contributor

I would love to work on this

@himanshisrestha
Copy link
Contributor

@teolemon and @stephanegigandet How can I navigate to the ingredient analysis panel from my local machine

@himanshisrestha
Copy link
Contributor

Also, ciqual_proxy_food_code and ciqual_food_code both to be displayed which ever is applicable for the particular ingredient?

himanshisrestha added a commit to himanshisrestha/openfoodfacts-server that referenced this issue Mar 19, 2024
@stephanegigandet
Copy link
Contributor

@teolemon and @stephanegigandet How can I navigate to the ingredient analysis panel from my local machine

Just view any product page, and in the ingredients section, click on "Details of the ingredients analysis"

image

alexgarel pushed a commit that referenced this issue Mar 26, 2024
…sis panel (#9965)

This fixes #9534 , in which we should show which ingredients have a ciqual_food_code or a ciqual_proxy_food_code.
---------

Co-authored-by: Stéphane Gigandet <[email protected]>
john-gom pushed a commit that referenced this issue May 24, 2024
…sis panel (#9965)

This fixes #9534 , in which we should show which ingredients have a ciqual_food_code or a ciqual_proxy_food_code.
---------

Co-authored-by: Stéphane Gigandet <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agribalyse French LCA database used in Eco-Score computations CIQUAL https://www.anses.fr/en/content/anses-ciqual-food-composition-table Ingredients knowledge panel 📖 Knowledge Panels https://wiki.openfoodfacts.org/Knowledge_panels
Projects
3 participants