GoalScope — intersection (Qwen2.5-Coder-32B-Instruct) — hover a token to see the patched verbalization
↵
<code>↵
def intersection(interval1, interval2):↵
"""Returns the intersection of two intervals."""↵
start = max(interval1[0], interval2[0])↵
end = min(interval1[1], interval2[1])↵
if start <= end:↵
return (start, end)↵
else:↵
return None↵
</code>