Skip to content

taxonomy: Additives boost for nova + fixes/translations for the Category taxonomy - #13710

Merged
teolemon merged 16 commits into
mainfrom
additives-boost-for-nova
Jun 22, 2026
Merged

taxonomy: Additives boost for nova + fixes/translations for the Category taxonomy#13710
teolemon merged 16 commits into
mainfrom
additives-boost-for-nova

Conversation

@teolemon

@teolemon teolemon commented Jun 3, 2026

Copy link
Copy Markdown
Member

taxonomy: Additives boost for nova
NOTE: Gemini 3.1 flash fixes/translations (proofread) for the Category taxonomy were initially committed by mistake.

Copilot AI review requested due to automatic review settings June 3, 2026 07:03
@github-actions github-actions Bot added 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies 🧪 additives categories labels Jun 3, 2026
@github-project-automation github-project-automation Bot moved this to To discuss and validate in 🍊 Open Food Facts Server issues Jun 3, 2026
Comment thread taxonomies/food/categories.txt Outdated
Comment thread taxonomies/food/categories.txt Outdated
Comment thread taxonomies/food/categories.txt Outdated
Comment thread taxonomies/food/categories.txt Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates taxonomy data to improve tag matching and multilingual coverage, notably by expanding combined-additives labels (useful for additive detection that can feed into NOVA-related computations) and adding Portuguese translations/synonyms for multiple category entries.

Changes:

  • Add many missing translations for combined additive groups in taxonomies/additives.txt.
  • Add Portuguese (pt:) translations for multiple entries in taxonomies/food/categories.txt (baby foods, bee products, beverages, beers/IPA-related nodes).
  • Normalize some previously indented taxonomy lines so they are properly parsed as language entries.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
taxonomies/food/categories.txt Adds Portuguese category translations/synonyms and fixes indentation so entries are recognized as taxonomy lines.
taxonomies/additives.txt Adds multilingual translations for combined additives (e.g., E450+E500, E450+E451, E500+E503).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread taxonomies/food/categories.txt
Comment thread taxonomies/food/categories.txt
Comment thread taxonomies/food/categories.txt
@teolemon teolemon changed the title taxonomy: Additives boost for nova taxonomy: Additives boost for nova + fixes/translations for the Category taxonomy Jun 3, 2026

@Freso Freso left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This overall seems good. A few mostly stylistic comments. What’s the source for the translations?

Comment thread taxonomies/food/categories.txt Outdated
Comment thread taxonomies/food/categories.txt
Comment thread taxonomies/food/categories.txt Outdated
Comment thread taxonomies/food/categories.txt Outdated
Comment thread taxonomies/additives.txt Outdated
@github-project-automation github-project-automation Bot moved this from To discuss and validate to Done in 🍊 Open Food Facts Server issues Jun 3, 2026
@teolemon
teolemon enabled auto-merge (squash) June 3, 2026 16:41
@github-actions github-actions Bot added the ⭐ top pull request Top pull request. label Jun 4, 2026

@stephanegigandet stephanegigandet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@teolemon

Copy link
Copy Markdown
Member Author

/update_tests_results

@teolemon
teolemon merged commit 95f6cc3 into main Jun 22, 2026
61 of 64 checks passed
@teolemon
teolemon deleted the additives-boost-for-nova branch June 22, 2026 17:34
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧪 additives categories ⭐ top pull request Top pull request. 🧬 Taxonomies https://wiki.openfoodfacts.org/Global_taxonomies

Projects

Development

Successfully merging this pull request may close these issues.

5 participants