GoalScope — get_closest_vowel (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
↵
<code>↵
def get_closest_vowel(word):↵
"""Finds the closest vowel to the first consonant in a word."""↵
vowels = "aeiou"↵
for i, letter in enumerate(word):↵
if letter.lower() not in vowels:↵
for v in vowels:↵
if v in word[i:]:↵
return v↵
return None↵
</code>