<commit_before>from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy
from datetime import datetime
from flask.ext.script import Manager
from flask.ext.migrate import Migrate, MigrateCommand
from flask import abort, request, render_template
from flask import redirect, url_for, session, flash
from flask.ext.seasurf import SeaSurf
from flask.ext.bcrypt import Bcrypt
import random
import re
from flask.ext.mail import Mail, Message
import sys
from werkzeug.contrib.fixers import ProxyFix

app = Flask(__name__)
app.config.from_pyfile('deploy-config.py')
db = SQLAlchemy(app)
csrf = SeaSurf(app)
bcrypt = Bcrypt(app)
migrate = Migrate(app, db)

manager = Manager(app)
manager.add_command('db', MigrateCommand)

mail = Mail(app)

app.wsgi_app = ProxyFix(app.wsgi_app)
instance = 'http://ec2-54-186-73-177.us-west-2.compute.amazonaws.com'


class Post(db.Model):<commit_msg>Travis fix<commit_after>from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy
from datetime import datetime
from flask.ext.script import Manager
from flask.ext.migrate import Migrate, MigrateCommand
from flask import abort, request, render_template
from flask import redirect, url_for, session, flash
from flask.ext.seasurf import SeaSurf
from flask.ext.bcrypt import Bcrypt
import random
import re
from flask.ext.mail import Mail, Message
import sys
from werkzeug.contrib.fixers import ProxyFix

app = Flask(__name__)
app.config.from_pyfile('config.py')
db = SQLAlchemy(app)
csrf = SeaSurf(app)
bcrypt = Bcrypt(app)
migrate = Migrate(app, db)

manager = Manager(app)
manager.add_command('db', MigrateCommand)

mail = Mail(app)

app.wsgi_app = ProxyFix(app.wsgi_app)
instance = 'http://ec2-54-186-73-177.us-west-2.compute.amazonaws.com'


class Post(db.Model):
{'fraction_non_alphanumeric': 0.09613196814562003, 'fraction_numerical': 0.013651877133105802, 'mean_word_length': 5.7915057915057915, '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': '2519375', 'n_tokens_mistral': 634, 'n_tokens_neox': 587, 'n_words': 162}