HF RL Explorer

cocktail bar menu: implement stub

cocktail bar menu: implement stub: a task in smol-software-harbor (Harbor dataset). Implement drink abv(ingredients, method="shaken") in bar/abv.py as its docstring describes: the pure alcohol of all ingredients divided by their volume plus the melted ice for the mixing method, as a percentage…

The task

Implement `drink_abv(ingredients, method="shaken")` in `bar/abv.py` as its docstring describes: the pure alcohol of all ingredients divided by their volume plus the melted ice for the mixing method, as a percentage rounded to one decimal, 0.0 for no ingredients. Run `python3 -m pytest -q`.

Part of efederici/smol-software-harbor.