GoalScope — select_words (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
<code>↵ def select_words(s, n):↵ """Select words with exactly n consonants."""↵ vowels = set('aeiouAEIOU')↵ words = s.split()↵ result = []↵ for word in words:↵ consonant_count = sum(1 for char in word if char.isalpha() and char not in vowels)↵ if consonant_count == n:↵ result.append(word)↵ return result</code>