GoalScope — div_sum (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
↵
<code>↵
def div_sum(n):↵
"""Helper function to calculate the sum of divisors of n."""↵
return sum(i for i in range(1, n + 1) if n % i == 0)↵
↵
def same_divisor_sum(x, y):↵
return div_sum(x) == div_sum(y)↵
</code>