<commit_before>from sqlalchemy import create_engine
from sqlalchemy.orm import scoped_session, sessionmaker
from sqlalchemy.ext.declarative import declarative_base


engine = create_engine("postgresql://postgres:p4ssw0rd@localhost:5432/route")
db_session = scoped_session(sessionmaker(autocommit=False, autoflush=False, bind=engine))

Base = declarative_base()
Base.query = db_session.query_property()


def init_db():
    import route.models
    Base.metadata.create_all(bind=engine)<commit_msg>Change postgresql database name<commit_after>from sqlalchemy import create_engine
from sqlalchemy.orm import scoped_session, sessionmaker
from sqlalchemy.ext.declarative import declarative_base


engine = create_engine("postgresql://postgres:p4ssw0rd@localhost:5432/docker")
db_session = scoped_session(sessionmaker(autocommit=False, autoflush=False, bind=engine))

Base = declarative_base()
Base.query = db_session.query_property()


def init_db():
    import route.models
    Base.metadata.create_all(bind=engine)
{'fraction_non_alphanumeric': 0.09099901088031652, 'fraction_numerical': 0.011869436201780416, 'mean_word_length': 7.87719298245614, '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': '7074926', 'n_tokens_mistral': 331, 'n_tokens_neox': 312, 'n_words': 58}