GoalScope — next_power_of_2 (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
↵
<code>↵
def next_power_of_2(n):↵
"""Return the smallest power of 2 greater than or equal to n."""↵
if n == 0:↵
return 1↵
power = 1↵
while power < n:↵
power *= 2↵
return power↵
</code>