GoalScope — factorize (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
↵
<code>↵
def factorize(n: int) -> List[int]:↵
"""Return list of prime factors of given integer in the order from smallest to largest."""↵
i = 2↵
factors = []↵
while i * i <= n:↵
if n % i:↵
i += 1↵
else:↵
n //= i↵
factors.append(i)↵
if n > 1:↵
factors.append(n)↵
return factors↵
</code>