<commit_before>byte = [1,2,3,4,5]

def flipBytes(n):
    numByte = 5
    mask = 0xff
    i = 0
    while i < numByte:
        b = n & mask
        b /= 2 ** (i*8)
        b *= 2 ** ((numByte-i-1)*8)
        mask *= 256
        byte[i] = b
        i += 1

    ret = byte[0]
    i = 1
    while i < numByte:
        ret = ret | byte[i]
        i += 1


    # byte[4] = 0
    # ret = byte[0]
    # ret = ret | byte[1]
    # ret = ret | byte[2]
    # ret = ret | byte[3]
    # ret = ret | byte[4]
<commit_msg>python flip works for 32 bytes<commit_after>byte = range(32)

def flipBytes(n):
    numByte = 32
    mask = 0xff
    i = 0
    while i < numByte:
        b = n & mask
        b /= 2 ** (i*8)
        b *= 2 ** ((numByte-i-1)*8)
        mask *= 256
        byte[i] = b
        i += 1

    ret = byte[0]
    i = 1
    while i < numByte:
        ret = ret | byte[i]
        i += 1


    # byte[4] = 0
    # ret = byte[0]
    # ret = ret | byte[1]
    # ret = ret | byte[2]
    # ret = ret | byte[3]
    # ret = ret | byte[4]

{'fraction_non_alphanumeric': 0.1617933723196881, 'fraction_numerical': 0.05263157894736842, 'mean_word_length': 1.3555045871559632, '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': '7210933', 'n_tokens_mistral': 445, 'n_tokens_neox': 410, 'n_words': 117}