GoalScope — hex_key (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
<code>↵ def hex_key(num):↵ """Counts the number of prime hexadecimal digits."""↵ primes = {'2', '3', '5', '7', 'B', 'D'}↵ return sum(1 for digit in num.upper() if digit in primes)↵ </code>