-
-
Notifications
You must be signed in to change notification settings - Fork 400
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
Support for updated Nutri-Score formula and comparison between old and new Nutriscore #7450
Comments
The PDF contains a summary of the changes: − In the main algorithm |
I've been looking at the code and reading the document and it seems like the following could be significant factors in the development:
|
The new beverages algorithm is now available, so it's a good time to implement both new algorithms. In practice there will be a period of 2 years starting from end of december 2023 where both versions will co-exists on products. We will need to compute both versions for some time.
Right, in practice we will need to compute both. |
Initial ideas:
|
don't you want to transform to an inner structure @stephanegigandet ? nutriscore_v2: {grade:…, data:…, score:…} ? |
@alexgarel It's definitely an option. Maybe something like nutriscore{version : v1, v2}[grade,score,data} with a way to be able "current" and "latest" as the version in API requests. |
This issue has been open 90 days with no activity. Can you give it a little love by linking it to a parent issue, adding relevant labels and projets, creating a mockup if applicable, adding code pointers from https://github.com/openfoodfacts/openfoodfacts-server/blob/main/.github/labeler.yml, giving it a priority, editing the original issue to have a more comprehensive description… Thank you very much for your contribution to 🍊 Open Food Facts |
We now compute both versions of the Nutri-Score and have facets to compare them. |
🎉 |
Problem description
The Nutri-Score formula is going to be updated:
https://www.aesan.gob.es/AECOSAN/docs/documentos/Nutri_Score/2022_main_algorithm_report_update_FINAL.pdf
The EREN research team is very interested in having the new formula computed on OFF.
Desired solution
Compute both the old and new Nutri-Score, enable comparisons.
Part of
The text was updated successfully, but these errors were encountered: