<commit_before>from django.conf.urls import url

from bluebottle.initiatives.views import (
    InitiativeList, InitiativeDetail, InitiativeImage,
    InitiativeReviewTransitionList
)


urlpatterns = [
    url(
        r'^transitions$',
        InitiativeReviewTransitionList.as_view(),
        name='initiative-review-transition-list'
    ),
    url(r'^$', InitiativeList.as_view(), name='initiative-list'),
    url(r'^/(?P<pk>\d+)$', InitiativeDetail.as_view(), name='initiative-detail'),
    url(
        r'^/(?P<pk>\d+)/image/(?P<size>\d+x\d+)$',
        InitiativeImage.as_view(),
        name='initiative-image'
    )
]<commit_msg>Add slash to initiative submit url<commit_after>from django.conf.urls import url

from bluebottle.initiatives.views import (
    InitiativeList, InitiativeDetail, InitiativeImage,
    InitiativeReviewTransitionList
)


urlpatterns = [
    url(
        r'^/transitions$',
        InitiativeReviewTransitionList.as_view(),
        name='initiative-review-transition-list'
    ),
    url(r'^$', InitiativeList.as_view(), name='initiative-list'),
    url(r'^/(?P<pk>\d+)$', InitiativeDetail.as_view(), name='initiative-detail'),
    url(
        r'^/(?P<pk>\d+)/image/(?P<size>\d+x\d+)$',
        InitiativeImage.as_view(),
        name='initiative-image'
    )
]
{'fraction_non_alphanumeric': 0.16589506172839505, 'fraction_numerical': 0.0, 'mean_word_length': 3.6156583629893237, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2471622', 'n_tokens_mistral': 439, 'n_tokens_neox': 421, 'n_words': 57}