<commit_before>export const SizeConverter = () => {
    return size => {
        let newSize = size / 1024;
        let displayInGB = false;

        if (newSize > 1024) {
            newSize = newSize / 1024;
            displayInGB = true;
        }
        return `${newSize.toString().match(/^-?\d+(?:\.\d{0,2})?/)[0]} ${displayInGB ? 'GB' : 'MB'}`;
    };
};<commit_msg>fix Truncate size to 2 decimals<commit_after>export const SizeConverter = () => {
    return size => {
        let newSize = size / 1024;
        let displayInGB = false;

        if (newSize > 1024) {
            newSize = newSize / 1024;
            displayInGB = true;
        }
        return `${newSize.toFixed(3).slice(0, -1)} ${displayInGB ? 'GB' : 'MB'}`;
    };
};
{'fraction_non_alphanumeric': 0.16844919786096257, 'fraction_numerical': 0.04144385026737968, 'mean_word_length': 1.9372549019607843, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '1880364', 'n_tokens_mistral': 268, 'n_tokens_neox': 241, 'n_words': 56}