I think you want floating point division here and not integer division; the latter produces a threshold of `0`, which makes your `is_ingredient_container` function always return `True`.