<commit_before>from django.conf.urls import include, url
from django.contrib import admin
from semesterpage import views

urlpatterns = [
    url(r'^$', views.homepage, name='semesterpage-homepage'),
    url(r'^komfyr/login/$', views.homepage),
    url(r'^komfyr/', include(admin.site.urls)),
    url(r'^accounts/profile/', views.profile, name='semesterpage-profile'),
    url(r'^kalender/(?P<calendar_name>[-\w]+)/$', views.calendar, name='semesterpage-calendar'),
    url(r'^(?P<study_program>[-\w]+)/(?P<semester_number>[1-9]|10|11|12)/$', views.simple_semester, name='semesterpage-simplesemester'),
    url(r'^(?P<study_program>[-\w]+)/(?P<main_profile>[-\w]+)/(?P<semester_number>[1-9]|10|11|12)/$', views.semester, name='semesterpage-semester'),
    url(r'^(?P<study_program>[-\w]+)/(?P<main_profile>[-\w]+)/$', views.main_profile_view, name='semesterpage-mainprofile'),
    url(r'^(?P<study_program>[-\w]+)/$', views.study_program_view, name='semesterpage-studyprogram'),
    url(r'^(?P<study_program>[-\w]+)/semester/(?P<semester_number>[1-9]|10)/request$', views.user_request, name='semesterpage-request'),
    url(r'^(?P<study_program>[-\w]+)/(?P<semester_number>[1-9]|10|11|12).Semester/(?P<main_profile>[-\w]+)/$', views.split_archive, name='semesterpage-splitarchive'),
    url(r'^(?P<study_program>[-\w]+)/(?P<semester_number>[1-9]|10|11|12).Semester/$', views.simple_archive, name='semesterpage-simplearchive'),
]
<commit_msg>Redirect /www to homepage<commit_after>from django.conf.urls import include, url
from django.contrib import admin
from semesterpage import views

urlpatterns = [
    url(r'^$', views.homepage, name='semesterpage-homepage'),
    url(r'^komfyr/login/$', views.homepage),
    url(r'^www$', views.homepage),
    url(r'^komfyr/', include(admin.site.urls)),
    url(r'^accounts/profile/', views.profile, name='semesterpage-profile'),
    url(r'^kalender/(?P<calendar_name>[-\w]+)/$', views.calendar, name='semesterpage-calendar'),
    url(r'^(?P<study_program>[-\w]+)/(?P<semester_number>[1-9]|10|11|12)/$', views.simple_semester, name='semesterpage-simplesemester'),
    url(r'^(?P<study_program>[-\w]+)/(?P<main_profile>[-\w]+)/(?P<semester_number>[1-9]|10|11|12)/$', views.semester, name='semesterpage-semester'),
    url(r'^(?P<study_program>[-\w]+)/(?P<main_profile>[-\w]+)/$', views.main_profile_view, name='semesterpage-mainprofile'),
    url(r'^(?P<study_program>[-\w]+)/$', views.study_program_view, name='semesterpage-studyprogram'),
    url(r'^(?P<study_program>[-\w]+)/semester/(?P<semester_number>[1-9]|10)/request$', views.user_request, name='semesterpage-request'),
    url(r'^(?P<study_program>[-\w]+)/(?P<semester_number>[1-9]|10|11|12).Semester/(?P<main_profile>[-\w]+)/$', views.split_archive, name='semesterpage-splitarchive'),
    url(r'^(?P<study_program>[-\w]+)/(?P<semester_number>[1-9]|10|11|12).Semester/$', views.simple_archive, name='semesterpage-simplearchive'),
]

{'fraction_non_alphanumeric': 0.24718333902355752, 'fraction_numerical': 0.024581768521679755, 'mean_word_length': 6.961956521739131, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2444942', 'n_tokens_mistral': 1255, 'n_tokens_neox': 1104, 'n_words': 101}