Commit Graph

5 Commits

Author SHA1 Message Date
Mario Zechner
7c0861ba96 Add links to video and text guide. 2023-06-22 17:12:24 +02:00
Mario Zechner
303d25ccb5 Categories for Billa & Spar, infra to add catgories for other stores.
Billa maps directly to the canonical categories. Spar uses a mapping file stores/spar-categories.json.

Each store has a generateCategoryMapping() function which is called once in analysis.js:updateData() and analysis.js:replay(). The function is responsible for

* Fetching the latest categories
* Merging them with already mapped categories
* Report new categories that haven't been mapped yet
* Report categories that have been mapped but are no longer part of the latest set of categories
* Save the merged mappings to disk

This schema might not work for all stores, in which case updateData() and replay() will use a knn approach to figure out the category for an item. See #81
2023-06-21 01:29:00 +02:00
Mario Zechner
031114ebca The great refactor. 2023-06-13 01:16:27 +02:00
Mario Zechner
0df29311f7 Clean-up. 2023-06-11 02:37:35 +02:00
Mario Zechner
323fd15a62 More components, checkbox, items filter. 2023-06-10 13:08:08 +02:00