<commit_before>import logging
import sys

import logbook
import msgpack_numpy
from logbook.compat import RedirectLoggingHandler

IS_PRODUCTION = False

pr0gramm_config = {
    'baseurl': {
        'api': 'https://pr0gramm.com/api',
        'img': 'https://img.pr0gramm.com',
    },
    'username': 'rep0stBot',
    'password': '<PASSWORD>',
}

mysql_config = {
    'user': 'rep0st',
    'password': '<PASSWORD>',
    'host': 'localhost',
    'database': 'rep0st',
}

redis_config = {
    'host': 'localhost',
    'port': 6379,
    'database': 0,
}

index_config = {
    'index_path': './',
    'search_k': 10000,
    'tree_count': 20,
    'default_k': 25,<commit_msg>Removes credentials from config<commit_after>import logging
import sys

import logbook
import msgpack_numpy
from logbook.compat import RedirectLoggingHandler

IS_PRODUCTION = False

pr0gramm_config = {
    'baseurl': {
        'api': 'https://pr0gramm.com/api',
        'img': 'https://img.pr0gramm.com',
    },
    'username': 'USERNAME',
    'password': 'PASSWORD',
}

mysql_config = {
    'user': 'rep0st',
    'password': '<PASSWORD>',
    'host': 'localhost',
    'database': 'rep0st',
}

redis_config = {
    'host': 'localhost',
    'port': 6379,
    'database': 0,
}

index_config = {
    'index_path': './',
    'search_k': 10000,
    'tree_count': 20,
    'default_k': 25,
{'fraction_non_alphanumeric': 0.17346182357301704, 'fraction_numerical': 0.028910303928836176, 'mean_word_length': 3.299363057324841, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 4, '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': '586929', 'n_tokens_mistral': 517, 'n_tokens_neox': 497, 'n_words': 98}