<commit_before>import os

basedir = os.path.abspath(os.path.dirname(__file__))

class Config:
    """ Base configuration with values used in all configurations. """

    SERVER_NAME = "localhost:5000"
    SECRET_KEY = os.getenv("SECRET_KEY")
    SQLALCHEMY_RECORD_QUERIES = True
    SQLALCHEMY_TRACK_MODIFICATIONS = True


class DevelopmentConfig(Config):
    """
    Development configuration.

    Activates the debugger and uses the database specified
    in the DEV_DATABASE_URL environment variable.

    """

    DEBUG = True
    SQLALCHEMY_DATABASE_URI = os.getenv("DEV_DATABASE_URL")


class TestingConfig(Config):
    """
    Testing configuration.

    Sets the testing flag to True and uses the database
    specified in the TEST_DATABASE_URL environment variable.

    """

    TESTING = True
    SQLALCHEMY_DATABASE_URI = os.getenv("TEST_DATABASE_URL")


config = {
    "development": DevelopmentConfig,
    "testing": TestingConfig,
    "default": DevelopmentConfig
}<commit_msg>Change environment variable names and add placeholders<commit_after>import os

basedir = os.path.abspath(os.path.dirname(__file__))

class Config:
    """ Base configuration with values used in all configurations. """

    SERVER_NAME = "localhost:5000"
    SECRET_KEY = os.getenv("MYDICTIONARY_SECRET_KEY")
    SQLALCHEMY_RECORD_QUERIES = True
    SQLALCHEMY_TRACK_MODIFICATIONS = True


class DevelopmentConfig(Config):
    """
    Development configuration.

    Activates the debugger and uses the database specified
    in the DEV_DATABASE_URL environment variable.

    """

    DEBUG = True
    SQLALCHEMY_DATABASE_URI = os.getenv("MYDICTIONARY_DEV_DATABASE_URL") or \
                              "sqlite:///" + os.path.join(basedir, "dev_database.sqlite")


class TestingConfig(Config):
    """
    Testing configuration.

    Sets the testing flag to True and uses the database
    specified in the TEST_DATABASE_URL environment variable.

    """

    TESTING = True
    SQLALCHEMY_DATABASE_URI = os.getenv("MYDICTIONARY_TEST_DATABASE_URL") or \
                              "sqlite:///" + os.path.join(basedir, "test_database.sqlite")


config = {
    "development": DevelopmentConfig,
    "testing": TestingConfig,
    "default": DevelopmentConfig
}
{'fraction_non_alphanumeric': 0.08684093929995569, 'fraction_numerical': 0.003544528134692069, 'mean_word_length': 3.4712871287128713, 'pattern_counts': {'":': 6, '<': 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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1710688', 'n_tokens_mistral': 715, 'n_tokens_neox': 667, 'n_words': 162}