<commit_before>#!/usr/bin/env python


import subprocess
import sys


def main(*argv):
    argv = list(argv)

    sys.path.insert(0, argv[1])

    return(subprocess.check_call([sys.executable, "-m", "unittest"] + argv[2:],
                                 stdin=sys.stdin,
                                 stdout=sys.stdout,
                                 stderr=sys.stderr))


if __name__ == "__main__":
    sys.exit(main(*sys.argv))<commit_msg>run_unittest.py: Fix up how tests are found by making sure the proper directory is being searched.<commit_after>#!/usr/bin/env python


import subprocess
import sys


def main(*argv):
    argv = list(argv)

    sys.path.insert(0, argv[1])

    return(subprocess.check_call([sys.executable, "-m", "unittest", "discover", "-s"] + argv[2:],
                                 stdin=sys.stdin,
                                 stdout=sys.stdout,
                                 stderr=sys.stderr))


if __name__ == "__main__":
    sys.exit(main(*sys.argv))
{'fraction_non_alphanumeric': 0.13413413413413414, 'fraction_numerical': 0.006006006006006006, 'mean_word_length': 1.9154518950437318, 'pattern_counts': {'":': 2, '<': 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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3659007', 'n_tokens_mistral': 313, 'n_tokens_neox': 298, 'n_words': 62}