<commit_before># Copyright (c) 2008 Participatory Culture Foundation
# See LICENSE for details.

from django.conf.urls.defaults import patterns
from channelguide.guide.views.channels import filtered_listing

urlpatterns = patterns('channelguide.guide.views.channels',
    (r'^submitted_thumbnails/(\d+)$', 'submitted_thumbnail'),
    (r'^(\d+)$', 'channel'),
    (r'^rate/(\d+)$', 'rate'),
    (r'^popular(?:/?)$', filtered_listing, {
    'filter': 'name',
    'default_sort': '-popular',
    'title': 'Popular Channels'}),
                       (r'^toprated(?:/?)$', filtered_listing, {
    'filter': 'name',
    'default_sort': '-rating',
    'title': 'Top-Rated Channels'}),
                       (r'^by-name$', filtered_listing, {
    'filter': 'name',
    'title': 'Channels by Name'}),
                       (r'^(?:new|recent)(?:/?)$', filtered_listing, {
    'filter': 'name',
    'default_sort': '-age',
    'title': 'New Channels'}),
    (r'^features$', 'features'),
    (r'^hd$', 'hd'),
    (r'^moderator-list/([\w-]+)$', 'moderator_channel_list'),
    (r'^subscribe/(\d+)$', 'subscribe'),
    (r'^subscribe-hit/(\d+)$', 'subscribe_hit'),
    (r'^user/(\d+)$', 'for_user'),
    (r'^edit/(\d+)$', 'edit_channel'),
    (r'^email/(\d+)$', 'email'),
    (r'^moderator-history$', 'moderator_history'),
    (r'^email-owners$', 'email_owners'),
)

urlpatterns += patterns('channelguide.guide.views.submit',
    (r'^submit$', 'submit_feed'),
    (r'^submit/streaming$', 'submit_streaming'),
    (r'^submit/step1$', 'submit_feed'),
    (r'^submit/step2$', 'submit_channel'),
    (r'^submit/after$', 'after_submit'),
)                        
<commit_msg>allow / on the end of by-name<commit_after># Copyright (c) 2008 Participatory Culture Foundation
# See LICENSE for details.

from django.conf.urls.defaults import patterns
from channelguide.guide.views.channels import filtered_listing

urlpatterns = patterns('channelguide.guide.views.channels',
    (r'^submitted_thumbnails/(\d+)$', 'submitted_thumbnail'),
    (r'^(\d+)$', 'channel'),
    (r'^rate/(\d+)$', 'rate'),
    (r'^popular(?:/?)$', filtered_listing, {
    'filter': 'name',
    'default_sort': '-popular',
    'title': 'Popular Channels'}),
                       (r'^toprated(?:/?)$', filtered_listing, {
    'filter': 'name',
    'default_sort': '-rating',
    'title': 'Top-Rated Channels'}),
                       (r'^by-name(?:/?)$', filtered_listing, {
    'filter': 'name',
    'title': 'Channels by Name'}),
                       (r'^(?:new|recent)(?:/?)$', filtered_listing, {
    'filter': 'name',
    'default_sort': '-age',
    'title': 'New Channels'}),
    (r'^features$', 'features'),
    (r'^hd$', 'hd'),
    (r'^moderator-list/([\w-]+)$', 'moderator_channel_list'),
    (r'^subscribe/(\d+)$', 'subscribe'),
    (r'^subscribe-hit/(\d+)$', 'subscribe_hit'),
    (r'^user/(\d+)$', 'for_user'),
    (r'^edit/(\d+)$', 'edit_channel'),
    (r'^email/(\d+)$', 'email'),
    (r'^moderator-history$', 'moderator_history'),
    (r'^email-owners$', 'email_owners'),
)

urlpatterns += patterns('channelguide.guide.views.submit',
    (r'^submit$', 'submit_feed'),
    (r'^submit/streaming$', 'submit_streaming'),
    (r'^submit/step1$', 'submit_feed'),
    (r'^submit/step2$', 'submit_channel'),
    (r'^submit/after$', 'after_submit'),
)                        

{'fraction_non_alphanumeric': 0.2432594367884961, 'fraction_numerical': 0.0035949670461354103, 'mean_word_length': 3.5, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1193661', 'n_tokens_mistral': 1230, 'n_tokens_neox': 1142, 'n_words': 193}