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

key_patterns = patterns('API.views',
        url(r'^delete/$', 'delete_key'),
        url(r'^purge/$', 'delete_key', {'purge': True}),
        url(r'^edit/$', 'edit_keys'),
        )

crest_patterns = patterns('API.views',
        url(r'^login/$', 'crest_login'),
        url(r'^overview/$', 'crest_overview'),
        url(r'^delete/(?P<char_id>\d+)/$', 'crest_delete'),
        )
        
urlpatterns = patterns('API.views',
        url(r'^key/$', 'api_key_dialog'),
        url(r'^corp_key/$', 'api_corp_key_dialog'),
        url(r'^key/new/$', 'edit_keys'),
        url(r'^corp_key/new/$', 'edit_corp_keys'),
        url(r'^key/(?P<key_id>\d+)/', include(key_patterns)),
        url(r'^corp_key/(?P<key_id>\d+)/delete/', 'delete_corp_key'),
        url(r'^user/(?P<user_id>\d+)/$', 'api_key_admin'),
        url(r'^user/(?P<user_id>\d+)/key/(?P<key_id>\d+)/$', 'edit_keys'),
        url(r'^crest/', include(crest_patterns)),
        )
<commit_msg>Renaming to SSO<commit_after>from django.conf.urls import patterns, include, url

key_patterns = patterns('API.views',
        url(r'^delete/$', 'delete_key'),
        url(r'^purge/$', 'delete_key', {'purge': True}),
        url(r'^edit/$', 'edit_keys'),
        )

sso_patterns = patterns('API.views',
        url(r'^login/$', 'sso_login'),
        url(r'^overview/$', 'sso_overview'),
        url(r'^delete/(?P<char_id>\d+)/$', 'sso_delete'),
        )
        
urlpatterns = patterns('API.views',
        url(r'^key/$', 'api_key_dialog'),
        url(r'^corp_key/$', 'api_corp_key_dialog'),
        url(r'^key/new/$', 'edit_keys'),
        url(r'^corp_key/new/$', 'edit_corp_keys'),
        url(r'^key/(?P<key_id>\d+)/', include(key_patterns)),
        url(r'^corp_key/(?P<key_id>\d+)/delete/', 'delete_corp_key'),
        url(r'^user/(?P<user_id>\d+)/$', 'api_key_admin'),
        url(r'^user/(?P<user_id>\d+)/key/(?P<key_id>\d+)/$', 'edit_keys'),
        url(r'^sso/', include(sso_patterns)),
        )

{'fraction_non_alphanumeric': 0.24481737413622903, 'fraction_numerical': 0.0, 'mean_word_length': 3.179381443298969, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '3179369', 'n_tokens_mistral': 822, 'n_tokens_neox': 776, 'n_words': 90}