Browse: meal_type categories near-empty (Lunch, Dinner, Snack, Beverage, Side Dish) #122
Labels
No labels
accessibility
backlog
beta-feedback
bug
duplicate
enhancement
feature-request
help wanted
invalid
needs-design
needs-triage
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Circuit-Forge/kiwi#122
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The recipe browser
meal_typedomain has very uneven coverage. Breakfast has substantial results, but Lunch, Dinner, Snack, Beverage, and Side Dish return very few or no recipes.Root cause: the keyword lists in
browser_domains.pydo not align with the actualcategoryandkeywordsvalues in the food.com corpus.Investigation needed
Run the following against the corpus DB to understand the actual distribution:
Also check which keywords actually appear in the
keywordsJSON column:Fix
Update
app/services/recipe/browser_domains.pymeal_typekeyword lists to include the corpus-specific category values that map to each meal type. For example:"chicken dishes","beef dishes","pork","seafood","vegetables"etc."salads","sandwiches","soups"as corpus category values"appetizers","snacks","dips"etc.Acceptance criteria
/recipes/browse/meal_type)SELECT category, count(*) FROM recipes GROUP BY categorycross-referenced against updated keyword listsRelated
See also: domain keyword enrichment audit ticket (sister issue).
pyr0ball referenced this issue2026-04-27 11:38:25 -07:00