GoalScope — search (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
↵
<code>↵
def search(lst):↵
"""Return the index of the first occurrence of the maximum value in lst."""↵
if not lst:↵
return None↵
max_val = max(lst)↵
return lst.index(max_val)↵
</code>