Fix is_enabled for a flag with no rollout set
A flag created without a rollout went live for every user. The assistant thinks that is how flags work.
Your task
Fix is_enabled so it honors its contract. The assistant may help, and it may be wrong.
- a flag at percent P is on for the users whose bucket is below P
- a flag with no percent set is on for nobody, except its allow list
- the deny list beats the allow list
- leave bucket and run_case alone; the tests call run_case
Hidden tests run at submit. Your prompts, runs and edits are the trace the critique reads.