<commit_before>import os
import sys
import problem_runner
import json
from json import JSONEncoder


class _Encoder(JSONEncoder):
    def default(self, o):
        return o.__dict__

TIME_LIMIT = 120

def main(argv):
    if len(argv) != 3:
        print("Invalid usage.")
        return 0

    in_path = argv[1]
    out_path = argv[2]

    if not(os.path.isdir(in_path), os.path.isdir(out_path)):
        print("Specified directory does not exist")
        return 0
<commit_msg>10 hour time limit<commit_after>import os
import sys
import problem_runner
import json
from json import JSONEncoder


class _Encoder(JSONEncoder):
    def default(self, o):
        return o.__dict__

TIME_LIMIT = 36000  # 10 hours

def main(argv):
    if len(argv) != 3:
        print("Invalid usage.")
        return 0

    in_path = argv[1]
    out_path = argv[2]

    if not(os.path.isdir(in_path), os.path.isdir(out_path)):
        print("Specified directory does not exist")
        return 0

{'fraction_non_alphanumeric': 0.09743589743589744, 'fraction_numerical': 0.022564102564102566, 'mean_word_length': 2.935483870967742, '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': '2788412', 'n_tokens_mistral': 331, 'n_tokens_neox': 310, 'n_words': 93}