GoalScope — how_many_times (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
↵
<code>↵
def how_many_times(string: str, substring: str) -> int:↵
"""Count occurrences of substring in string."""↵
return string.count(substring)↵
</code>