<commit_before>import traceback
from hashlib import sha256
from datetime import datetime, timedelta

# Adapted http://djangosnippets.org/snippets/2242/ by user s29 (October 25, 2010)

class _RateLimitFilter(object):
    last_error = 0<commit_msg>Use datetime.min for initial last_error rather than int 0.<commit_after>import traceback
from hashlib import sha256
from datetime import datetime, timedelta

# Adapted http://djangosnippets.org/snippets/2242/ by user s29 (October 25, 2010)

class _RateLimitFilter(object):
    last_error = datetime.min
{'fraction_non_alphanumeric': 0.07481751824817519, 'fraction_numerical': 0.058394160583941604, 'mean_word_length': 5.535714285714286, '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': '6094839', 'n_tokens_mistral': 199, 'n_tokens_neox': 162, 'n_words': 53}