feature flags: fix bug
feature flags: fix bug: a task in smol-software-harbor (Harbor dataset). A flag with "rollout": 0 is still switched on for some users, and every partial rollout lets in about 1% more users than configured. The comparison in is on() ( flags/core.py ) does not match its docstring ("in the rollout…
The task
A flag with `"rollout": 0` is still switched on for some users, and every partial rollout lets in about 1% more users than configured. The comparison in `is_on()` (`flags/core.py`) does not match its docstring ("in the rollout when bucket < rollout"). Fix it and run `python3 -m pytest -q`.
Part of efederici/smol-software-harbor.