Skip to content

View Recipe Flavor Balance

As a Host, I want to see the calculated flavor balance of a recipe, So that I can understand the drink’s flavor profile before making it.

  • Given I am viewing a recipe with defined ingredients
  • When I view the flavor analysis
  • Then I can see:
    • Overall flavor profile (radar chart or bar chart)
    • Dominant flavors (e.g., “Sweet: 8/10, Sour: 6/10, Bitter: 3/10”)
    • Balance assessment (e.g., “Well-balanced”, “Very sweet”, “Needs acidity”)
    • Contribution of each ingredient to the overall profile
    • Ingredient contribution percentages showing which ingredients contribute most to the flavor
  • And the calculation is based on:
    • Ingredient flavor profiles from the ingredient database
    • Quantity of each ingredient
    • Weighted by volume/proportion (converted to ounces)
    • Fuzzy matching of recipe ingredient names to ingredient database
  • And when editing a recipe, I can see a live flavor preview as I adjust ingredients
  • And the system handles recipes where not all ingredients can be matched
  • And I can see how adjusting quantities affects balance in real-time

IMPLEMENTED (December 2025)

Coverage:

  • 65% recipe full coverage (20 of 31 recipes have complete ingredient matches)
  • Recipe detail screen shows calculated flavor profiles
  • Edit recipe screen shows live flavor preview

Files:

  • shaker/components/FlavorProfileChart.tsx - Visualization component
  • shaker/utils/flavorProfiles.ts - Calculation utilities
  • shaker/app/(tabs)/recipes/[id].tsx - Recipe detail with flavor analysis

Features:

  • FlavorProfileChart component displays visualizations
  • Balance assessment and dominant flavors displayed
  • Live flavor preview when editing recipes
  • Handles partial ingredient matching gracefully

Known Limitations:

  • ⚠️ 35% of recipes have partial coverage (some ingredients can’t be matched)
  • Missing ingredients need to be added to improve coverage

See: Flavor Profile Audit for coverage details.

Medium - Helps with recipe development

  • Recipe, RecipeIngredient, Ingredient, IngredientProfile, RecipeBalance, FlavorCharacteristic