GoalScope — set_left_most_unset_bit (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
↵
<code>↵
def set_left_most_unset_bit(n):↵
"""Set the leftmost unset bit of n."""↵
if n == 0:↵
return 1↵
mask = 1↵
while n & mask:↵
mask <<= 1↵
return n | mask↵
</code>