<commit_before># -*- coding: utf-8 -*-
from flask import Blueprint, render_template, redirect, url_for
from flask_login import current_user

from scout import __version__

frontend = Blueprint('frontend', __name__, template_folder='templates',
                     static_folder='static',
                     static_url_path='/frontend/static')


@frontend.route('/')
def index():
    """Show the static landing page.

    Doesn't require a user to login. But if they are logged in, they
    should be passed along to their personalized start page (TODO).
    """
    if current_user.is_authenticated():
        return redirect(url_for('core.institutes'))
    return render_template('index.html', version=__version__)<commit_msg>don't call bool<commit_after># -*- coding: utf-8 -*-
from flask import Blueprint, render_template, redirect, url_for
from flask_login import current_user

from scout import __version__

frontend = Blueprint('frontend', __name__, template_folder='templates',
                     static_folder='static',
                     static_url_path='/frontend/static')


@frontend.route('/')
def index():
    """Show the static landing page.

    Doesn't require a user to login. But if they are logged in, they
    should be passed along to their personalized start page (TODO).
    """
    if current_user.is_authenticated:
        return redirect(url_for('core.institutes'))
    return render_template('index.html', version=__version__)
{'fraction_non_alphanumeric': 0.10342465753424658, 'fraction_numerical': 0.0013698630136986301, 'mean_word_length': 3.5514018691588785, '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': '2628837', 'n_tokens_mistral': 409, 'n_tokens_neox': 387, 'n_words': 125}