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

1 lbs is wrongly converted in 1000g in product_quantity (and elsewhere?) #9213

Closed
CharlesNepote opened this issue Oct 27, 2023 · 0 comments · Fixed by #9216
Closed

1 lbs is wrongly converted in 1000g in product_quantity (and elsewhere?) #9213

CharlesNepote opened this issue Oct 27, 2023 · 0 comments · Fixed by #9216
Assignees
Labels
🐛 bug This is a bug, not a feature request. 🧽 Data quality https://wiki.openfoodfacts.org/Quality ⚖️ Quantity

Comments

@CharlesNepote
Copy link
Member

CharlesNepote commented Oct 27, 2023

Eg. where 2.2 lbs quantity is converted to 2200 product_quantity (in grams):
https://world.openfoodfacts.org/product/5060326276812/harina-de-avena-snickerdoodle
https://world.openfoodfacts.org/api/v0/product/5060326276812.json

1 lbs is legally defined as exactly 0.45359237 kilograms or 453.59237 grams.

Source: https://en.wikipedia.org/wiki/Pound_(mass)

This represents 1600+ products.

The issue may occur elsewhere, like in serving_size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug This is a bug, not a feature request. 🧽 Data quality https://wiki.openfoodfacts.org/Quality ⚖️ Quantity
Projects
Archived in project
2 participants