<commit_before>import sqlalchemy
from sqlalchemy import create_engine

from stats_credentials import dbu, dbpwd, dwh, dbp, dbname

engine = create_engine("postgresql+psycopg2://%s:%s@%s:%s/%s" % (dbu, dbpwd, dwh,
        dbp, dbname))

# Pass echo=True to see all SQL queries
# When using MySQL; pass charset=utf8&use_unicode=0

from classes import User, Script, Variable, Commit, CommitVar, Base

Base.metadata.create_all(engine)
metadata = Base.metadata
from sqlalchemy.orm import sessionmaker
Session = sessionmaker(bind=engine)
session = Session()
<commit_msg>SQL: Small cleanups.<commit_after>import sqlalchemy
from sqlalchemy import create_engine

from stats_credentials import dbu, dbpwd, dwh, dbp, dbname

engine = create_engine("postgresql+psycopg2://%s:%s@%s:%s/%s" % (dbu, dbpwd,
    dwh, dbp, dbname))

# Pass echo=True to see all SQL queries
# When using MySQL; pass charset=utf8&use_unicode=1

from classes import User, Script, Variable, Commit, CommitVar, Base

Base.metadata.create_all(engine)
metadata = Base.metadata
from sqlalchemy.orm import sessionmaker
Session = sessionmaker(bind=engine)
session = Session()

{'fraction_non_alphanumeric': 0.10433244916003537, 'fraction_numerical': 0.005305039787798408, 'mean_word_length': 6.075, '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': '3640669', 'n_tokens_mistral': 385, 'n_tokens_neox': 370, 'n_words': 108}