<commit_before>from app import app
from app.slot import controller as con
import config
from auth import requires_auth
from flask import render_template
from flask.ext.login import login_required


@app.route('/dashboard')
#  @requires_auth
@login_required
def index():
    return con.index()


@app.route('/new', methods=['GET', 'POST'])
@requires_auth
def render_new_procedure_form():
    return con.render_new_procedure_form()


@app.route('/sms', methods=['POST'])
@requires_auth
def receive_sms():
    return con.receive_sms()<commit_msg>Add / route to index. Remove old requires_auth decorator.<commit_after>from app import app
from app.slot import controller as con
import config
from auth import requires_auth
from flask import render_template
from flask.ext.login import login_required


@app.route('/')
@app.route('/dashboard')
@login_required
def index():
    return con.index()


@app.route('/new', methods=['GET', 'POST'])
@requires_auth
def render_new_procedure_form():
    return con.render_new_procedure_form()


@app.route('/sms', methods=['POST'])
@requires_auth
def receive_sms():
    return con.receive_sms()
{'fraction_non_alphanumeric': 0.12234042553191489, 'fraction_numerical': 0.0, 'mean_word_length': 5.801204819277109, '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': '463923', 'n_tokens_mistral': 360, 'n_tokens_neox': 340, 'n_words': 98}