def get_value_dct(recipe: MyRecipe) -> tp.Dict[str, float]: """Get the values in the recipe in a dictionary.""" return dict(zip(recipe.getNames(), recipe.getValues()))
def get_bound_dct(recipe: MyRecipe) -> tp.Dict[str, tp.List[float]]: """Get the bounds in the recipe in a dictionary.""" return dict(zip(recipe.getNames(), recipe.getBounds()))