<commit_before># -*- coding: utf-8 -*-

from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker

from flask.ext.babel import lazy_gettext
from flask.globals import current_app
from werkzeug.local import LocalProxy

from .schema import Traffic


import logging
logger = logging.getLogger(__name__)


def init_db(app):
    atlantis_connection_string = 'mysql+pymysql://{0}:{1}@{2}:3306'.format(
        app.config['DB_ATLANTIS_USER'],
        app.config['DB_ATLANTIS_PASSWORD'],
        app.config['DB_ATLANTIS_HOST']
    ),<commit_msg>Remove trailing comma corrupting connection string<commit_after># -*- coding: utf-8 -*-

from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker

from flask.ext.babel import lazy_gettext
from flask.globals import current_app
from werkzeug.local import LocalProxy

from .schema import Traffic


import logging
logger = logging.getLogger(__name__)


def init_db(app):
    atlantis_connection_string = 'mysql+pymysql://{0}:{1}@{2}:3306'.format(
        app.config['DB_ATLANTIS_USER'],
        app.config['DB_ATLANTIS_PASSWORD'],
        app.config['DB_ATLANTIS_HOST']
    )
{'fraction_non_alphanumeric': 0.10732984293193717, 'fraction_numerical': 0.013961605584642234, 'mean_word_length': 4.622549019607843, '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': '6243896', 'n_tokens_mistral': 390, 'n_tokens_neox': 366, 'n_words': 81}