Quaffel / get-me-drunk-efficiently

Webservice providing cocktail recommendations based on how drunk you want to be
4 stars 0 forks source link

Messy integration #63

Closed Quaffel closed 2 years ago

Quaffel commented 2 years ago

Add a button that enables the user to send a recipe to the messy services to provide easy-to-follow step-by-step guidance.

Given that not all data sources provide recipe information (currently not supported by any source), we need to synthesize such recipes based on the ingredient data. Plausible, exemplary heuristics for such a synthesis algorithm are:

  1. Add all ingredients with a volume of less than 25ml (volumetric units) or a mass of less than 25g (mass unit) (e.g., small amounts of sugar).
  2. Add all alcoholic ingredients measured in volumetric volumes that do not go below a volume of 25ml. Those are typically the main alcoholic ingredients of the drink that should be well-mixed.
  3. Add all other ingredients measured in volumetric volumes that do not go below the aforementioned threshold.
  4. Add all solid/non-liquid ingredients.

Expected to be ameliorated by #53 as it would allow us to deterministically differentiate between essential ingredients and garnish.