<commit_before># -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from gaecookie.decorator import no_csrf
from gaepermission.decorator import login_not_required, permissions
from config.template_middleware import TemplateResponse
from permission_app.model import ADMIN
from tekton import router
from routes.login import passwordless, facebook
from routes.permission import home as permission_home, admin


@permissions(ADMIN)
@no_csrf
def index():
    return TemplateResponse({'security_table_path': router.to_path(permission_home.index),
                             'permission_admin_path': router.to_path(admin),
                             'passwordless_admin_path': router.to_path(passwordless.form),
                             'facebook_admin_path': router.to_path(facebook.form)})
<commit_msg># 50 test for admin home ok<commit_after># -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from gaecookie.decorator import no_csrf
from gaepermission.decorator import login_not_required, permissions
from config.template_middleware import TemplateResponse
from permission_app.model import ADMIN
from tekton import router
from routes.login import passwordless, facebook
from routes.permission import home as permission_home, admin


@permissions(ADMIN)
@no_csrf
def index():
    return TemplateResponse({'security_table_path': router.to_path(permission_home.index),
                             'permission_admin_path': router.to_path(admin),
                             'passwordless_admin_path': router.to_path(passwordless.form),
                             'facebook_admin_path': router.to_path(facebook.form)},
                            'admin/home.html')

{'fraction_non_alphanumeric': 0.07643312101910828, 'fraction_numerical': 0.0023161551823972205, 'mean_word_length': 3.6451612903225805, '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': '6800078', 'n_tokens_mistral': 456, 'n_tokens_neox': 444, 'n_words': 115}