GoalScope — factorial (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
↵
<code>↵
def factorial(n):↵
"""Calculate the factorial of a non-negative integer n."""↵
if n == 0:↵
return 1↵
else:↵
return n * factorial(n-1)↵
</code>