<commit_before>#!/usr/bin/env python

a = [1,3 ,4 ,5 ,7 ,8 , 10 , 12]

def binary_search_1(a, target):
    N = len(a)
    l = 0
    r = N - 1
    while l + 1 < r:
        mid = (l + r) / 2
        if a[mid] == target:
            return mid
        elif a[mid] < target:
            l = mid
        else:<commit_msg>Update BS<commit_after>#!/usr/bin/env python

a = [1, 3, 4, 5, 7, 8, 10, 12]

def binary_search_1(a, target):
    N = len(a)
    l = 0
    r = N - 1
    while l + 1 < r:
        mid = (l + r) / 2
        if a[mid] == target:
            return mid
        elif a[mid] < target:
            l = mid
        else:
{'fraction_non_alphanumeric': 0.14992025518341306, 'fraction_numerical': 0.04784688995215311, 'mean_word_length': 1.369811320754717, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5512654', 'n_tokens_mistral': 271, 'n_tokens_neox': 247, 'n_words': 79}