<commit_before>from flask import jsonify
from mongokit import Connection, Document
from flask import Flask
from models import Paragraph, Query, Feedback
from flask import render_template
from flask import request
from os import environ 
import helper.paragraph as pa_helper
import helper.feedback as fb_helper


# Database configuration
MONGODB_HOST = 'localhost'
MONGODB_PORT = 27017
MONGODB_URI = environ.get(MONGOLAB_URI)

# Flask Application configuration
app = Flask(__name__)
app.config.from_object(__name__)

# Connect to Database
connection = Connection(MONGODB_URI)

connection.register([Paragraph])
connection.register([Query])
connection.register([Feedback])<commit_msg>forgot quotes - I'm dumb<commit_after>from flask import jsonify
from mongokit import Connection, Document
from flask import Flask
from models import Paragraph, Query, Feedback
from flask import render_template
from flask import request
from os import environ 
import helper.paragraph as pa_helper
import helper.feedback as fb_helper


# Database configuration
MONGODB_HOST = 'localhost'
MONGODB_PORT = 27017
MONGODB_URI = environ.get('MONGOLAB_URI')

# Flask Application configuration
app = Flask(__name__)
app.config.from_object(__name__)

# Connect to Database
connection = Connection(MONGODB_URI)

connection.register([Paragraph])
connection.register([Query])
connection.register([Feedback])
{'fraction_non_alphanumeric': 0.0669090909090909, 'fraction_numerical': 0.007272727272727273, 'mean_word_length': 7.094117647058823, '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': '4003449', 'n_tokens_mistral': 408, 'n_tokens_neox': 386, 'n_words': 124}