<commit_before>import os
import uuid
import psycopg2

DEFAULT_USER_ID = "904ca286-98cb-4db5-a1d7-5f0b1f34f87e"

# TODO: use connection pooling?<commit_msg>Adds dotenv support to load config from .env (outside of version control).<commit_after>import os
import uuid
import psycopg2
from dotenv import load_dotenv, find_dotenv
load_dotenv(find_dotenv())

DEFAULT_USER_ID = "904ca286-98cb-4db5-a1d7-5f0b1f34f87e"

# TODO: use connection pooling?
{'fraction_non_alphanumeric': 0.07918552036199095, 'fraction_numerical': 0.09049773755656108, 'mean_word_length': 6.637931034482759, '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': '3539468', 'n_tokens_mistral': 187, 'n_tokens_neox': 173, 'n_words': 40}