GoalScope — positive_count (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
↵
<code>↵
def positive_count(nums):↵
"""Return the ratio of positive numbers in the array."""↵
return sum(1 for x in nums if x > 0) / len(nums) if nums else 0↵
</code>