<commit_before>from django.conf.urls import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'collabCTF.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^admin/', include(admin.site.urls)),
    url(r'^$', 'collabCTF.views.home', name='index'),
    url(r'^reports$', 'collabCTF.views.reports'),
    url(r'^ctftools$', 'collabCTF.views.ctf_tools', name='ctf_tools'),
    url(r'^ctfoverview$', 'collabCTF.views.ctfoverview'),
    url(r'^ctfchallenge$', 'collabCTF.views.ctfchallenge'),
    url(r'^about$', 'collabCTF.views.about'),
    url(r'^addctfoverview', 'collabCTF.views.addctfoverview'),
    url(r'^profile', 'collabCTF.views.profile'),
    url(r'^settings', 'collabCTF.views.settings'),
    url(r'^ctf/(?P<ctf_slug>[a-z\d_\-]+)/$', 'competition.views.view_ctf', name='view_ctf'),
    url(r'^ctf/(?P<ctf_slug>[a-z\d_\-]+)/add$', 'competition.views.add_challenge',
        name='add_challenge'),
    url(r'^ctf/(?P<ctf_slug>[a-z\d_\-]+)/(?P<chall_slug>[a-z\d_\-]+)/$', 'competition.views.view_challenge',
        name='view_challenge'),
    url(r'^tools/ajax/hash$', 'collabCTF.views.hash_val', name='tools_hash'),
    url(r'^tools/ajax/rot$', 'collabCTF.views.rot_val', name='tools_rot'),
    url(r'^sidebar$', 'collabCTF.views.sidebar', name='sidebar'),
    url(r'^tools/ajax/base_conversions$', 'collabCTF.views.base_conversion_val', name='tools_base_conversion'),
    url(r'^tools/ajax/xor$', 'collabCTF.views.xor_val', name='tools_xor')<commit_msg>Added add_ctf to urls<commit_after>from django.conf.urls import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'collabCTF.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^admin/', include(admin.site.urls)),
    url(r'^$', 'collabCTF.views.home', name='index'),
    url(r'^reports$', 'collabCTF.views.reports'),
    url(r'^ctftools$', 'collabCTF.views.ctf_tools', name='ctf_tools'),
    url(r'^ctfoverview$', 'collabCTF.views.ctfoverview'),
    url(r'^ctfchallenge$', 'collabCTF.views.ctfchallenge'),
    url(r'^about$', 'collabCTF.views.about'),
    url(r'^addctfoverview', 'collabCTF.views.addctfoverview'),
    url(r'^profile', 'collabCTF.views.profile'),
    url(r'^settings', 'collabCTF.views.settings'),
    url(r'^ctf/add$', 'competition.views.add_ctf', name='add_ctf'),
    url(r'^ctf/(?P<ctf_slug>[a-z\d_\-]+)/$', 'competition.views.view_ctf', name='view_ctf'),
    url(r'^ctf/(?P<ctf_slug>[a-z\d_\-]+)/add$', 'competition.views.add_challenge',
        name='add_challenge'),
    url(r'^ctf/(?P<ctf_slug>[a-z\d_\-]+)/(?P<chall_slug>[a-z\d_\-]+)/$', 'competition.views.view_challenge',
        name='view_challenge'),
    url(r'^tools/ajax/hash$', 'collabCTF.views.hash_val', name='tools_hash'),
    url(r'^tools/ajax/rot$', 'collabCTF.views.rot_val', name='tools_rot'),
    url(r'^sidebar$', 'collabCTF.views.sidebar', name='sidebar'),
    url(r'^tools/ajax/base_conversions$', 'collabCTF.views.base_conversion_val', name='tools_base_conversion'),
    url(r'^tools/ajax/xor$', 'collabCTF.views.xor_val', name='tools_xor')
{'fraction_non_alphanumeric': 0.23036487322201607, 'fraction_numerical': 0.0, 'mean_word_length': 5.368110236220472, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3170507', 'n_tokens_mistral': 1365, 'n_tokens_neox': 1277, 'n_words': 135}