<commit_before>#!/usr/bin/python3


def main():
    print("hello world")


if __name__ == '__main__':
    main()<commit_msg>Refactored to add init function to make it easier to test.<commit_after>#!/usr/bin/python3
import sys


def main():
    print("hello world")


def init():
    if __name__ == '__main__':
        sys.exit(main())

init()
{'fraction_non_alphanumeric': 0.15497076023391812, 'fraction_numerical': 0.005847953216374269, 'mean_word_length': 3.5733333333333333, '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': '5076519', 'n_tokens_mistral': 123, 'n_tokens_neox': 116, 'n_words': 32}