<commit_before>from django.conf.urls import url

from grandchallenge.participants.views import (
    RegistrationRequestList,
    RegistrationRequestCreate,
    RegistrationRequestUpdate,
    ParticipantsList,
)

app_name = "participants"

urlpatterns = [
    url(r"^$", ParticipantsList.as_view(), name="list"),
    url(
        r"^registration/$",
        RegistrationRequestList.as_view(),
        name="registration-list",
    ),
    url(
        r"^registration/create/$",
        RegistrationRequestCreate.as_view(),
        name="registration-create",
    ),
    url(
        r"^registration/(?P<pk>\d+)/update/$",
        RegistrationRequestUpdate.as_view(),
        name="registration-update",
    ),
]<commit_msg>Replace url with path<commit_after>from django.urls import path

from grandchallenge.participants.views import (
    RegistrationRequestList,
    RegistrationRequestCreate,
    RegistrationRequestUpdate,
    ParticipantsList,
)

app_name = "participants"

urlpatterns = [
    path("", ParticipantsList.as_view(), name="list"),
    path(
        "registration/",
        RegistrationRequestList.as_view(),
        name="registration-list",
    ),
    path(
        "registration/create/",
        RegistrationRequestCreate.as_view(),
        name="registration-create",
    ),
    path(
        "registration/<int:pk>/update/",
        RegistrationRequestUpdate.as_view(),
        name="registration-update",
    ),
]
{'fraction_non_alphanumeric': 0.1271716469770674, 'fraction_numerical': 0.0, 'mean_word_length': 3.1142857142857143, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2874549', 'n_tokens_mistral': 430, 'n_tokens_neox': 395, 'n_words': 61}