<commit_before>""" Read config.json file to construct the project-level settings object
"""

import json

# TODO: Identify the config.json file in a good way
CONFIG_FILE = "config.json"
with (open(CONFIG_FILE, 'r')) as conf_file:
    DATABASE = json.load(conf_file)["sqlalchemy"]["database"]<commit_msg>change to 'datasource' accordingly<commit_after>""" Read config.json file to construct the project-level settings object
"""

import json

# TODO: Identify the config.json file in a good way
CONFIG_FILE = "config.json"
with (open(CONFIG_FILE, 'r')) as conf_file:
    DATABASE = json.load(conf_file)["datasource"]["database"]
{'fraction_non_alphanumeric': 0.12440191387559808, 'fraction_numerical': 0.0, 'mean_word_length': 5.826086956521739, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6476134', 'n_tokens_mistral': 195, 'n_tokens_neox': 193, 'n_words': 62}