<commit_before>#!/usr/bin/env python -OO
# -*- coding: utf-8 -*-

import itertools
import os
import urllib2
import time
import futures as futures

current_working_directory = os.path.dirname(os.path.abspath(__file__))
archive_folder = os.path.join(current_working_directory, "j-archive")
SECONDS_BETWEEN_REQUESTS = 3
ERROR_MSG = "ERROR: No game"
NUM_THREADS = 2 # Be conservative
try:
    import multiprocessing
    # Since it's a lot of IO let's double # of actual cores
    NUM_THREADS = multiprocessing.cpu_count() * 2
    print 'Using {} threads'.format(NUM_THREADS)
except (ImportError, NotImplementedError):
    pass

def main():
	create_archive_dir()<commit_msg>Change sleep seconds to 5<commit_after>#!/usr/bin/env python -OO
# -*- coding: utf-8 -*-

import itertools
import os
import urllib2
import time
import futures as futures

current_working_directory = os.path.dirname(os.path.abspath(__file__))
archive_folder = os.path.join(current_working_directory, "j-archive")
SECONDS_BETWEEN_REQUESTS = 5
ERROR_MSG = "ERROR: No game"
NUM_THREADS = 2 # Be conservative
try:
    import multiprocessing
    # Since it's a lot of IO let's double # of actual cores
    NUM_THREADS = multiprocessing.cpu_count() * 2
    print 'Using {} threads'.format(NUM_THREADS)
except (ImportError, NotImplementedError):
    pass

def main():
	create_archive_dir()
{'fraction_non_alphanumeric': 0.10222222222222223, 'fraction_numerical': 0.008148148148148147, 'mean_word_length': 4.798283261802575, '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': '5949678', 'n_tokens_mistral': 462, 'n_tokens_neox': 442, 'n_words': 121}