<commit_before>from django.conf.urls import patterns, url

from manoseimas.mps_v2 import views


urlpatterns = patterns(
    '',
    url(r'^$', views.mp_list, name='mp_list_all'),
    url(r'^index$', views.index_view),
    url(r'^fractions_json/?$', views.fractions_json, name='fractions_json'),
    url(r'^mps_json/?$', views.mps_json, name='mps_json'),
    url(r'^fractions/?$',
        views.mp_fraction_list, name='mp_fraction_list'),
    url(r'^discussion/(?P<statement_id>\d+)$',
        views.mp_discussion, name='mp_discussion'),
    url(r'^discussion_json/(?P<statement_id>\d+)$',
        views.mp_discussion_json, name='mp_discussion_json'),
    url(r'^fractions/(?P<fraction_slug>[-_\w]+)/$',
        views.mp_fraction, name='mp_fraction'),
    url(r'^parliamentarian/(?P<mp_slug>.+)/$',
        views.mp_profile, name='mp_profile'),
    url(r'^statements/(?P<mp_slug>[-_\w]+)/(?P<statement_page>.+)/$',
        views.mp_statements, name='mp_statements_paged'),
    url(r'^statements/(?P<mp_slug>.+)/$',
        views.mp_statements, name='mp_statements'),
    url(r'^(?P<fraction_slug>[-_\w]+)/$',
        views.mp_list, name='mp_list_fraction'),
)<commit_msg>We don’t need /mp/index anymore.<commit_after>from django.conf.urls import patterns, url

from manoseimas.mps_v2 import views


urlpatterns = patterns(
    '',
    url(r'^$', views.mp_list, name='mp_list_all'),
    url(r'^fractions_json/?$', views.fractions_json, name='fractions_json'),
    url(r'^mps_json/?$', views.mps_json, name='mps_json'),
    url(r'^fractions/?$',
        views.mp_fraction_list, name='mp_fraction_list'),
    url(r'^discussion/(?P<statement_id>\d+)$',
        views.mp_discussion, name='mp_discussion'),
    url(r'^discussion_json/(?P<statement_id>\d+)$',
        views.mp_discussion_json, name='mp_discussion_json'),
    url(r'^fractions/(?P<fraction_slug>[-_\w]+)/$',
        views.mp_fraction, name='mp_fraction'),
    url(r'^parliamentarian/(?P<mp_slug>.+)/$',
        views.mp_profile, name='mp_profile'),
    url(r'^statements/(?P<mp_slug>[-_\w]+)/(?P<statement_page>.+)/$',
        views.mp_statements, name='mp_statements_paged'),
    url(r'^statements/(?P<mp_slug>.+)/$',
        views.mp_statements, name='mp_statements'),
    url(r'^(?P<fraction_slug>[-_\w]+)/$',
        views.mp_list, name='mp_list_fraction'),
)
{'fraction_non_alphanumeric': 0.21145564168819983, 'fraction_numerical': 0.0008613264427217916, 'mean_word_length': 4.570743405275779, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '2611856', 'n_tokens_mistral': 932, 'n_tokens_neox': 861, 'n_words': 94}