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

Create a script to correct all taxonomized values for categories that are stored in an incorrect language by storing them in the right language #7838

Closed
4 tasks
teolemon opened this issue Dec 13, 2022 · 1 comment · Fixed by #9581
Assignees
Labels
Data destroying issue This issue relates to an on-going issue actively destroying product data ! 🧽 Data quality https://wiki.openfoodfacts.org/Quality ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it.

Comments

@teolemon
Copy link
Member

Why

  • Some Eco-Score, including on important products are wiped out by apps which try saving back values to Open Food Facts without a proper logic

What

Part of

@teolemon teolemon added 🧽 Data quality https://wiki.openfoodfacts.org/Quality Data destroying issue This issue relates to an on-going issue actively destroying product data ! labels Dec 13, 2022
@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 Mar 14, 2023
@benbenben2 benbenben2 self-assigned this Dec 16, 2023
alexgarel added a commit that referenced this issue Apr 2, 2024
Python code to: 
 - fetch unknown tags for categories, allergens, etc.
 - check if each unknown tag exists in the taxonomy in different language
 - if yes, to all products having the tag in wrong language:
    - add existing tag in different language 
    - remove tag in wrong language 
   
Code is generalized to - not only categories, but also - additional tags fields.

- Part of #7838
---------

Co-authored-by: Alex Garel <[email protected]>
john-gom pushed a commit that referenced this issue May 24, 2024
Python code to: 
 - fetch unknown tags for categories, allergens, etc.
 - check if each unknown tag exists in the taxonomy in different language
 - if yes, to all products having the tag in wrong language:
    - add existing tag in different language 
    - remove tag in wrong language 
   
Code is generalized to - not only categories, but also - additional tags fields.

- Part of #7838
---------

Co-authored-by: Alex Garel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Data destroying issue This issue relates to an on-going issue actively destroying product data ! 🧽 Data quality https://wiki.openfoodfacts.org/Quality ⏰ Stale This issue hasn't seen activity in a while. You can try documenting more to unblock it.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants