<commit_before>import os
import sys


def print_clean(msg):
    terminal_size = os.get_terminal_size()
    msg_length = len(msg)
    sys.stdout.write("{}{}".format(msg, " " * (int(terminal_size[0]) - msg_length)))<commit_msg>Transition from sys.stdiout.write to print<commit_after>import os


def print_clean(msg):
    terminal_size = os.get_terminal_size()
    msg_length = len(msg)
    print("{}{}".format(msg, " " * (int(terminal_size[0]) - msg_length)), end='')
{'fraction_non_alphanumeric': 0.16774193548387098, 'fraction_numerical': 0.004301075268817204, 'mean_word_length': 4.9743589743589745, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3495448', 'n_tokens_mistral': 169, 'n_tokens_neox': 162, 'n_words': 28}