<commit_before>from django.conf.urls import url

from . import views

app_name = 'exams'
# TODO: /exams/10/A/exam_id
urlpatterns = [
    url(r'^$', views.exams_list, name='exams-list'),
    url(r'^(?P<pk>[0-9]+)/$', views.ExamDetailView.as_view(), name='exam-detail'),
]
<commit_msg>More functional and detailed url mapping<commit_after>from django.conf.urls import url

from . import views

app_name = 'exams'
urlpatterns = [
    url(
        r'^$',
        views.all_exams_list,
        name='all-exams-list'
    ),
    url(
        r'^(?P<class_number>[0-9]+)/$',
        views.all_class_exams_list,
        name='all-class-exams-list'
    ),
    url(
        r'^(?P<class_number>[0-9]+)/(?P<class_title>[A-Z])/$',
        views.class_exam_list,
        name='class-exam-list'
    ),
]

{'fraction_non_alphanumeric': 0.1850443599493029, 'fraction_numerical': 0.010139416983523447, 'mean_word_length': 2.9303482587064678, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '599056', 'n_tokens_mistral': 320, 'n_tokens_neox': 311, 'n_words': 45}