Difference between revisions of "GSOC 2022 - Taxonomy editor"

From Open Food Facts wiki
Jump to navigation Jump to search
(Add presentation to wiki)
Line 55: Line 55:
 
* Project status (2022/06/24): https://docs.google.com/presentation/d/1VWN77xYRBt2omQJTysGVz53ETKkmlyS-9VtfastJzvw/edit?usp=sharing
 
* Project status (2022/06/24): https://docs.google.com/presentation/d/1VWN77xYRBt2omQJTysGVz53ETKkmlyS-9VtfastJzvw/edit?usp=sharing
 
* Meeting minutes: https://docs.google.com/document/d/1tdYkUmoRU8BxFPdCwtewoUi7PV8PmDlXtExOcPYyu-I/edit?usp=sharing
 
* Meeting minutes: https://docs.google.com/document/d/1tdYkUmoRU8BxFPdCwtewoUi7PV8PmDlXtExOcPYyu-I/edit?usp=sharing
 +
* Figma mockups: https://www.figma.com/file/7QxD2pOnVntjDPqbHHPGHv/Taxonomy-Editor?node-id=0%3A1
  
 
=== Archives ===
 
=== Archives ===

Revision as of 13:48, 1 July 2022

Taxonomy editor

Summary

Create an application that enables more contributors to taxonomies, while continuously checking quality.

Description

Status: Selected for GSOC 2022, Planning

People:

  • Aadarsh Anantha Ramakrishnan (GSOC intern)
  • Charles Népote, Stéphane Gigandet (mentors)

Impact (why)

Taxonomies are at the heart of openfoodfacts in many aspects. It helps identify components (ingredients, labels, brands,…) and link them to useful properties, at the base of nutri-score, eco-score, allergens identification and some other properties.

Each taxonomy is a DAG (directed acyclic graph) where leaves have one or more parents. Currently the taxonomy is in a raw text file in our repository: https://github.com/openfoodfacts/openfoodfacts-server/tree/main/taxonomies.

While effective for the application, this format is quite cumbersome to edit for contributors.

Expected outcomes (what)

We would like to have a tool (online or standalone) to edit taxonomies.

Expected outcomes:

The tool should:

  • help quickly find an element with a search
  • help visualize the hierarchy of components
  • help visualize the component, it’s synonyms in multiple languages
  • indicate inherited properties for an element, and signal when there are more than one
  • enable edition of those names, synonyms and properties
  • run some validation on names, synonyms and properties (no duplicate, specific formats, etc.)

As a bonus, it would be really interesting to know the impact of a modification on the application. For that we could imagine simple API’s (one for each taxonomy) on the openfoodfact application to visualize which products would be affected by a change. This feedback could be a really interesting tool to ensure no error is made (unexpected side effects)

Timeline

Resources / Contributing

Archives