<commit_before>DJANGO_SAMPLE_CONFIG = {
    'CLASSIFIER': 'moderator.storage.DjangoClassifier',
    'HAM_CUTOFF': 0.3,
    'SPAM_CUTOFF': 0.7,
}

REDIS_SAMPLE_CONFIG = {
    'CLASSIFIER': 'moderator.storage.RedisClassifier',
    'CLASSIFIER_CONFIG': {
        'host': 'localhost',
        'port': 6379,
        'db': 0,
        'password': <PASSWORD>,
        'socket_timeout': None,
        'connection_pool': None,
        'charset': 'utf-8',
        'errors': 'strict',
        'unix_socket_path': None,
    },
    'HAM_CUTOFF': 0.3,
    'SPAM_CUTOFF': 0.7,
}

DEFAULT_CONFIG = DJANGO_SAMPLE_CONFIG<commit_msg>added abuse cutoff setting<commit_after>DJANGO_SAMPLE_CONFIG = {
    'CLASSIFIER': 'moderator.storage.DjangoClassifier',
    'HAM_CUTOFF': 0.3,
    'SPAM_CUTOFF': 0.7,
    'ABUSE_CUTOFF': 3,
}

REDIS_SAMPLE_CONFIG = {
    'CLASSIFIER': 'moderator.storage.RedisClassifier',
    'CLASSIFIER_CONFIG': {
        'host': 'localhost',
        'port': 6379,
        'db': 0,
        'password': <PASSWORD>,
        'socket_timeout': None,
        'connection_pool': None,
        'charset': 'utf-8',
        'errors': 'strict',
        'unix_socket_path': None,
    },
    'HAM_CUTOFF': 0.3,
    'SPAM_CUTOFF': 0.7,
    'ABUSE_CUTOFF': 3,
}

DEFAULT_CONFIG = DJANGO_SAMPLE_CONFIG
{'fraction_non_alphanumeric': 0.15719844357976653, 'fraction_numerical': 0.023346303501945526, 'mean_word_length': 2.8734939759036147, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1035241', 'n_tokens_mistral': 519, 'n_tokens_neox': 495, 'n_words': 76}