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

Compute stats for packaging recycling instructions, by country and material, to improve suggestions #8189

Open
stephanegigandet opened this issue Mar 13, 2023 · 1 comment
Labels
📦 Packaging https://wiki.openfoodfacts.org/Category:Recycling ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it.

Comments

@stephanegigandet
Copy link
Contributor

From #8002 (comment)

@thomas-algo
Hi ! For now, the most common shapes and materials given the country and categories are suggested first, I believe it would be interesting to do the same with recycling instruction (for now it is given in alphabetical order).

This would be useful for the autocomplete of recycling instructions in the packaging components.

We could compute stats for recycling instructions by country + material.

Related code for stats: https://github.com/openfoodfacts/openfoodfacts-server/blob/main/scripts/gen_packaging_stats.pl

Related code for taxonomy suggestions: https://github.com/openfoodfacts/openfoodfacts-server/blob/main/lib/ProductOpener/TaxonomySuggestions.pm#L158

@stephanegigandet stephanegigandet added the ✨ Feature Features or enhancements to Open Food Facts server label Mar 13, 2023
@teolemon teolemon added the 📦 Packaging https://wiki.openfoodfacts.org/Category:Recycling label Mar 15, 2023
@github-actions
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity.

@github-actions github-actions bot added the ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it. label Jun 14, 2023
@teolemon teolemon removed the ✨ Feature Features or enhancements to Open Food Facts server label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 Packaging https://wiki.openfoodfacts.org/Category:Recycling ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it.
Projects
Status: To discuss and validate
Status: No status
Development

No branches or pull requests

2 participants