K = 3
clean_streak = 0

for each sprint:
    if lint_errors_this_sprint == 0:
        clean_streak += 1
    else:
        clean_streak = 0

    if clean_streak >= K:
        switch from structural lint to behavioral checks
        break
