<commit_before>from django.conf.urls.defaults import *

urlpatterns = patterns(
    'pydocweb.docweb.views',
    # --
    (r'^$', 'frontpage'),
    (r'^wiki/(?P<name>.+)/edit/$', 'edit_wiki'),
    (r'^wiki/(?P<name>.+)/log/$', 'log_wiki'),
    (r'^wiki/(?P<name>.+)/diff/(?P<rev1>\d+)/(?P<rev2>\d+)/$', 'diff_wiki'),
    (r'^wiki/(?P<name>.+)/diff/(?P<rev2>\d+)/$', 'diff_wiki_prev'),
    (r'^wiki/(?P<name>.+)/$', 'wiki'),
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/edit/$', 'edit'),
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/comment/(?P<comment_id>[\w-]*)/$', 'comment_edit'),
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/review/$', 'review'), 
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/log/$', 'log'),
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/diff/(?P<rev1>[\w-]+)/(?P<rev2>[\w-]+)/$', 'diff'),
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/diff/(?P<rev2>[\w-]+)/$', 'diff_prev'),
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/$', 'docstring'),
    (r'^doc/$', 'docstring_index'),
    (r'^merge/$', 'merge'),
    (r'^patch/$', 'patch'),
    (r'^dump/$', 'dump'),
    (r'^control/$', 'control'),
    (r'^source/(?P<file_name>.+)$', 'source'),
    (r'^accounts/login/$', 'login'),
    (r'^accounts/password/$', 'password_change'),
    (r'^accounts/register/$', 'register'),
    (r'^changes/$', 'changes'),
    (r'^search/$', 'search'),
    (r'^stats/$', 'stats'),
    (r'^contributors/$', 'contributors'),<commit_msg>... and revert the wrong fix<commit_after>from django.conf.urls.defaults import *

urlpatterns = patterns(
    'pydocweb.docweb.views',
    # --
    (r'^$', 'frontpage'),
    (r'^wiki/(?P<name>.+)/edit/$', 'edit_wiki'),
    (r'^wiki/(?P<name>.+)/log/$', 'log_wiki'),
    (r'^wiki/(?P<name>.+)/diff/(?P<rev1>\d+)/(?P<rev2>\d+)/$', 'diff_wiki'),
    (r'^wiki/(?P<name>.+)/diff/(?P<rev2>\d+)/$', 'diff_wiki_prev'),
    (r'^wiki/(?P<name>.+)/$', 'wiki'),
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/edit/$', 'edit'),
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/comment/(?P<comment_id>[\w-]+)/$', 'comment_edit'),
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/review/$', 'review'), 
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/log/$', 'log'),
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/diff/(?P<rev1>[\w-]+)/(?P<rev2>[\w-]+)/$', 'diff'),
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/diff/(?P<rev2>[\w-]+)/$', 'diff_prev'),
    (r'^doc/(?P<name>[a-zA-Z0-9./_<>-]+)/$', 'docstring'),
    (r'^doc/$', 'docstring_index'),
    (r'^merge/$', 'merge'),
    (r'^patch/$', 'patch'),
    (r'^dump/$', 'dump'),
    (r'^control/$', 'control'),
    (r'^source/(?P<file_name>.+)$', 'source'),
    (r'^accounts/login/$', 'login'),
    (r'^accounts/password/$', 'password_change'),
    (r'^accounts/register/$', 'register'),
    (r'^changes/$', 'changes'),
    (r'^search/$', 'search'),
    (r'^stats/$', 'stats'),
    (r'^contributors/$', 'contributors'),
{'fraction_non_alphanumeric': 0.3911190053285968, 'fraction_numerical': 0.014209591474245116, 'mean_word_length': 3.6545454545454548, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, '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': '1918260', 'n_tokens_mistral': 1367, 'n_tokens_neox': 1277, 'n_words': 120}