<commit_before>from flask_sqlalchemy import SQLAlchemy

from app import app

'''
db connection string current in config, but will implement a way to get from environ
'''

app_db = SQLAlchemy(app)<commit_msg>actually inits db and creates tables<commit_after>from flask_sqlalchemy import SQLAlchemy

from app import app

'''
db connection string current in config, but will implement a way to get from environ
'''

app_db = SQLAlchemy(app)

'''
most import models AFTER db init
but before table creation
'''
from app.db import models

app_db.create_all()
app_db.session.commit()
{'fraction_non_alphanumeric': 0.06944444444444445, 'fraction_numerical': 0.0, 'mean_word_length': 5.411111111111111, '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': '4779065', 'n_tokens_mistral': 176, 'n_tokens_neox': 166, 'n_words': 70}