Munchable's test suite enforces 605 label words so common ingredients never return 'not assessed'
Munchable scans ingredient labels to flag whether products suit a user's digestive condition, but it sometimes returned a 'not assessed' result for ingredients central to that condition, such as kefir for lactose intolerance, soya for IBS, and tea for reflux. To prevent this, the team maintains a data file listing 605 label words that the product must always be able to address, covering conditions, allergens, and shopping filter preferences. The list is written in the words printed on packs rather than internal identifiers, so the tests cover the full path from user input to answer. These words are checked by 31 generated tests that fail the build if any listed word would come back unassessed. The approach is designed to hold regardless of whether background data-curation jobs have run.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in