<commit_before>import os
basedir = os.path.abspath(os.path.dirname(__file__))

DATABASE_SETTINGS = {
    'name': 'open-ad-platform',
    'user': 'user',
    'password': '<PASSWORD>',
    'host': 'localhost',
    'port': 3306,
}

SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://{}:{}@{}:{}/{}'.format(
    DATABASE_SETTINGS['user'],
    DATABASE_SETTINGS['password'],
    DATABASE_SETTINGS['host'],
    DATABASE_SETTINGS['port'],
    DATABASE_SETTINGS['name']
)

SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
<commit_msg>used underscores rather than hyphens in database name to meet requirements for mysql<commit_after>import os
basedir = os.path.abspath(os.path.dirname(__file__))

DATABASE_SETTINGS = {
    'name': 'open_ad_platform',
    'user': 'user',
    'password': '<PASSWORD>',
    'host': 'localhost',
    'port': 3306,
}

SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://{}:{}@{}:{}/{}'.format(
    DATABASE_SETTINGS['user'],
    DATABASE_SETTINGS['password'],
    DATABASE_SETTINGS['host'],
    DATABASE_SETTINGS['port'],
    DATABASE_SETTINGS['name']
)

SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')

{'fraction_non_alphanumeric': 0.1791044776119403, 'fraction_numerical': 0.007023705004389816, 'mean_word_length': 5.162162162162162, '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': '3764810', 'n_tokens_mistral': 448, 'n_tokens_neox': 440, 'n_words': 62}