<commit_before>import json
import os
import pathlib


# Global Variables
basedir = pathlib.Path(os.path.realpath(__file__)).parent.joinpath('lost_config.json')
with basedir.open() as conf:
	c = json.load(conf)
	DB_NAME = c['database']['dbname']
	HOST = c['database']['dbhost']
	PORT = c['database']['dbport']


class Config(object):
	DEBUG = False
	TESTING = False
	CSRF_ENABLED = True
	APP_SECRET_KEY = str(os.urandom(32))
	SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']


class ProductionConfig(Config):
	DEBUG = False


class StagingConfig(Config):
	DEVELOPMENT = True
	DEBUG = True


class DevelopmentConfig(Config):
	DEVELOPMENT = True
	DEBUG = True


class TestingConfig(Config):
	TESTING = True<commit_msg>Untested changes to config in contuining effort to deploy app to Heroku<commit_after>import json
import os
import pathlib


# Global Variables
basedir = pathlib.Path(os.path.realpath(__file__)).parent.joinpath('lost_config.json')
with basedir.open() as conf:
	c = json.load(conf)
	DB_NAME = c['database']['dbname']
	HOST = c['database']['dbhost']
	PORT = c['database']['dbport']


class Config(object):
	DEBUG = False
	TESTING = False
	CSRF_ENABLED = True
	SECRET_KEY = str(os.urandom(32))
	SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']


class ProductionConfig(Config):
	DEBUG = False


class StagingConfig(Config):
	DEVELOPMENT = True
	DEBUG = True


class DevelopmentConfig(Config):
	DEVELOPMENT = True
	DEBUG = True


class TestingConfig(Config):
	TESTING = True
{'fraction_non_alphanumeric': 0.12064343163538874, 'fraction_numerical': 0.002680965147453083, 'mean_word_length': 5.606194690265487, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2169293', 'n_tokens_mistral': 531, 'n_tokens_neox': 509, 'n_words': 118}