<commit_before>"""Simple sample app using the Adhocracy core."""
from adhocracy import root_factory
from pyramid.config import Configurator


def includeme(config):
    """Setup sample app."""
    config.include('adhocracy')
    # include default resource types
    config.include('adhocracy.resources.tag')
    config.include('adhocracy.resources.pool')
    # include custom resource types
    config.include('adhocracy_sample.resources')


def main(global_config, **settings):
    """ Return a Pyramid WSGI application. """
    config = Configurator(settings=settings, root_factory=root_factory)
    includeme(config)
    return config.make_wsgi_app()<commit_msg>Include additional resources + sheets for login test.<commit_after>"""Simple sample app using the Adhocracy core."""
from adhocracy import root_factory
from pyramid.config import Configurator


def includeme(config):
    """Setup sample app."""
    config.include('adhocracy')
    # include additional default resource types
    config.include('adhocracy.resources.tag')
    config.include('adhocracy.resources.pool')
    config.include('adhocracy.resources.principal')
    # include additional default sheet types
    config.include('adhocracy.sheets.user')
    # include custom resource types
    config.include('adhocracy_sample.resources')


def main(global_config, **settings):
    """ Return a Pyramid WSGI application. """
    config = Configurator(settings=settings, root_factory=root_factory)
    includeme(config)
    return config.make_wsgi_app()
{'fraction_non_alphanumeric': 0.10578186596583443, 'fraction_numerical': 0.0, 'mean_word_length': 4.857692307692307, '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': '5389249', 'n_tokens_mistral': 437, 'n_tokens_neox': 402, 'n_words': 105}