<commit_before>from django.conf.urls import url
from .views import (
    csa_theme_views,
    practice_level_views,
    practice_type_views,
    csa_practice_views,
)

# CSA theme URLs
urlpatterns = [
    url(
        r'^csatheme/$',
        csa_theme_views['CsaThemeListAPIView'].as_view(),
        name='csa_theme_list'
    ),
    url(
        r'^csatheme/create/$',
        csa_theme_views['CsaThemeCreateAPIView'].as_view(),
        name='csa_theme_create'
    ),
    url(
        r'^csatheme/(?P<slug>[\w-]+)/$',
        csa_theme_views['CsaThemeDetailAPIView'].as_view(),
        name='csa_theme_detail'
    ),
]

# Practice level URLs
urlpatterns += [
    url(
        r'^practicelevel/$',
        practice_level_views['PracticeLevelListAPIView'].as_view(),
        name='practice_level_list'
    ),
    url(
        r'^practicelevel/create/$',
        practice_level_views['PracticeLevelCreateAPIView'].as_view(),
        name='practice_level_create'
    ),
    url(
        r'^practicelevel/(?P<slug>[\w-]+)/$',
        practice_level_views['PracticeLevelDetailAPIView'].as_view(),
        name='practice_level_detail'
    ),
]

# Practice type URLs
urlpatterns += [
    url(
        r'^practicetype/$',
        practice_type_views['PracticeTypeListAPIView'].as_view(),
        name='practice_type_list'
    ),
    url(
        r'practicetype/create/$',
        practice_type_views['PracticeTypeCreateAPIView'].as_view(),
        name='practice_type_create'
    ),
    url(
        r'^practicetype/(?P<slug>[\w-]+)/$',
        practice_type_views['PracticeTypeDetailAPIView'].as_view(),
        name='practice_type_detail'
    ),
]

# CSA practice URLs
urlpatterns += [
    url(
        r'^$',
        csa_practice_views['CsaPracticeListAPIView'].as_view(),
        name='csa_practice_list'
    ),
    url(
        r'^create/$',
        csa_practice_views['CsaPracticeCreateAPIView'].as_view(),
        name='csa_practice_create'
    ),
    url(
        r'^(?P<slug>[\w-]+)/$',
        csa_practice_views['CsaPracticeDetailAPIView'].as_view(),
        name='csa_practice_detail'
    ),
]
<commit_msg>Added "Research CSA practice" urls<commit_after>from django.conf.urls import url
from .views import (
    csa_theme_views,
    practice_level_views,
    practice_type_views,
    csa_practice_views,
    research_csa_practice_views,
)

# CSA theme URLs
urlpatterns = [
    url(
        r'^csatheme/$',
        csa_theme_views['CsaThemeListAPIView'].as_view(),
        name='csa_theme_list'
    ),
    url(
        r'^csatheme/create/$',
        csa_theme_views['CsaThemeCreateAPIView'].as_view(),
        name='csa_theme_create'
    ),
    url(
        r'^csatheme/(?P<slug>[\w-]+)/$',
        csa_theme_views['CsaThemeDetailAPIView'].as_view(),
        name='csa_theme_detail'
    ),
]

# Practice level URLs
urlpatterns += [
    url(
        r'^practicelevel/$',
        practice_level_views['PracticeLevelListAPIView'].as_view(),
        name='practice_level_list'
    ),
    url(
        r'^practicelevel/create/$',
        practice_level_views['PracticeLevelCreateAPIView'].as_view(),
        name='practice_level_create'
    ),
    url(
        r'^practicelevel/(?P<slug>[\w-]+)/$',
        practice_level_views['PracticeLevelDetailAPIView'].as_view(),
        name='practice_level_detail'
    ),
]

# Practice type URLs
urlpatterns += [
    url(
        r'^practicetype/$',
        practice_type_views['PracticeTypeListAPIView'].as_view(),
        name='practice_type_list'
    ),
    url(
        r'practicetype/create/$',
        practice_type_views['PracticeTypeCreateAPIView'].as_view(),
        name='practice_type_create'
    ),
    url(
        r'^practicetype/(?P<slug>[\w-]+)/$',
        practice_type_views['PracticeTypeDetailAPIView'].as_view(),
        name='practice_type_detail'
    ),
]

# Research CSA practice URLs
urlpatterns += [
    url(
        r'^researchcsapractice/$',
        research_csa_practice_views['ResearchCsaPracticeListAPIView'].as_view(),
        name='research_csa_practice_list'
    ),
    url(
        r'^researchcsapractice/create/$',
        research_csa_practice_views['ResearchCsaPracticeCreateAPIView'].as_view(),
        name='research_csa_practice_create'
    ),
    url(
        r'^researchcsapractice/(?P<pk>[\w-]+)/$',
        research_csa_practice_views['ResearchCsaPracticeDetailAPIView'].as_view(),
        name='research_csa_practice_detail'
    ),
]

# CSA practice URLs
urlpatterns += [
    url(
        r'^$',
        csa_practice_views['CsaPracticeListAPIView'].as_view(),
        name='csa_practice_list'
    ),
    url(
        r'^create/$',
        csa_practice_views['CsaPracticeCreateAPIView'].as_view(),
        name='csa_practice_create'
    ),
    url(
        r'^(?P<slug>[\w-]+)/$',
        csa_practice_views['CsaPracticeDetailAPIView'].as_view(),
        name='csa_practice_detail'
    ),
]

{'fraction_non_alphanumeric': 0.14570080032833982, 'fraction_numerical': 0.0, 'mean_word_length': 2.933817594834544, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '7573983', 'n_tokens_mistral': 1797, 'n_tokens_neox': 1648, 'n_words': 172}