<commit_before>import flask
import json

def format_bytes(bytes):
    bytes = float(bytes)
    if bytes < 1024:
        return '%.2f bytes' % bytes
    elif bytes < 1048576:
        return '%.2f kB' % (bytes / 1024)<commit_msg>Remove commas from input in format bytes<commit_after>import flask
import json

def format_bytes(bytes):
    bytes = float(bytes.replace(',', ''))
    if bytes < 1024:
        return '%.2f bytes' % bytes
    elif bytes < 1048576:
        return '%.2f kB' % (bytes / 1024)
{'fraction_non_alphanumeric': 0.12248995983935743, 'fraction_numerical': 0.06827309236947791, 'mean_word_length': 2.868217054263566, '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': '458622', 'n_tokens_mistral': 188, 'n_tokens_neox': 158, 'n_words': 51}