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
http://openfoodfacts.github.io/openfoodfacts-server/
GNU Affero General Public License v3.0
655 stars 384 forks source link

Averages are very skewed in some categories #3682

Open teolemon opened 4 years ago

teolemon commented 4 years ago

Hypothesis:

hangy commented 4 years ago

https://drive.google.com/file/d/1bVPe1NNwjKOte8L2q-ZL55uNURjZ3sX7/view?usp=sharing

Since only the field energy_100g exists for all products, maybe the individual energy-kj_100g and energy-kcal_100g fields should be ignored for averages? While the calculation might not be 100% accurate, that sounds more reasonable than comparing averages of products that don't contain explicit values for some of those fields.

stephanegigandet commented 4 years ago

Agreed, we could just not show comparisons for energy-kcal and energy-kj.

github-actions[bot] commented 8 months ago

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