<commit_before>import json
from time import sleep

try:
    from urllib.request import urlopen
    from urllib.parse import urlencode
except ImportError:
    from urllib import urlopen, urlencode


TIME_SLEEP_TOO_MANY_REQUESTS = 1.2


class InvalidToken(Exception):
    pass


class MissingToken(Exception):
    pass


class MessageNotFound(Exception):
    pass


class RateLimiterReached(Exception):
    pass

<commit_msg>edited time sleep const<commit_after>import json
from time import sleep

try:
    from urllib.request import urlopen
    from urllib.parse import urlencode
except ImportError:
    from urllib import urlopen, urlencode


TIME_SLEEP_TOO_MANY_REQUESTS = .7


class InvalidToken(Exception):
    pass


class MissingToken(Exception):
    pass


class MessageNotFound(Exception):
    pass


class RateLimiterReached(Exception):
    pass


{'fraction_non_alphanumeric': 0.05146198830409357, 'fraction_numerical': 0.0035087719298245615, 'mean_word_length': 4.219512195121951, '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': '3184093', 'n_tokens_mistral': 271, 'n_tokens_neox': 255, 'n_words': 75}