<commit_before>from django.conf.urls import url

urlpatterns = [
    url(r'^$', 'apps.account.views.profile'),

    # login section
    url(r'^login/$', 'apps.account.views.login_email'),

    url(r'^login/fb/$', 'apps.account.views.fb_auth_init', {'mode': 'login'}),
    url(r'^login/fb/callback/$', 'apps.account.views.login_fb_callback'),
    url(r'^login/tw/$', 'apps.account.views.tw_auth_init', {'mode': 'login'}),
    url(r'^login/tw/callback/$', 'apps.account.views.login_tw_callback'),

    # logout section
    url(r'^logout/$', 'apps.account.views.logout'),

    # signup section
    url(r'^signup/$', 'apps.account.views.signup'),
    url(r'^signup/fb/(?P<userid>\w+)$',
        'apps.account.views.signup_social', {'type': 'FB'}),
    url(r'^signup/tw/(?P<userid>\w+)$',
        'apps.account.views.signup_social', {'type': 'TW'}),
    url(r'^signup/kaist/(?P<userid>\w+)$',
        'apps.account.views.signup_social', {'type': 'KAIST'}),

    # connect section
    url(r'^connect/fb/$', 'apps.account.views.fb_auth_init', {'mode': 'connect'}),
    url(r'^connect/fb/callback/$', 'apps.account.views.connect_fb_callback'),
    url(r'^connect/tw/$', 'apps.account.views.tw_auth_init', {'mode': 'connect'}),
    url(r'^connect/tw/callback/$', 'apps.account.views.connect_tw_callback'),

    # disconnect section
    url(r'^disconnect/fb/$', 'apps.account.views.disconnect', {'type': 'FB'}),
    url(r'^disconnect/tw/$', 'apps.account.views.disconnect', {'type': 'TW'}),
    url(r'^disconnect/kaist/$', 'apps.account.views.disconnect', {'type': 'KAIST'}),

    url(r'^email-check/$', 'apps.account.views.email_check'),

    # email auth section
    url(r'^email-auth/([\w \[\]\.]{40,})$', 'apps.account.views.email_auth'),
    url(r'^email-reauth/$', 'apps.account.views.send_auth_email'),

    url(r'^profile/$', 'apps.account.views.profile'),

    # password section
    url(r'^password/change/$', 'apps.account.views.password_change'),
    url(r'^password/reset/$', 'apps.account.views.send_reset_email'),
    utl(r'^password/reset/(?P<token>\w+)$', 'apps.account.views.password_reset'),
]<commit_msg>fix typo<commit_after>from django.conf.urls import url

urlpatterns = [
    url(r'^$', 'apps.account.views.profile'),

    # login section
    url(r'^login/$', 'apps.account.views.login_email'),

    url(r'^login/fb/$', 'apps.account.views.fb_auth_init', {'mode': 'login'}),
    url(r'^login/fb/callback/$', 'apps.account.views.login_fb_callback'),
    url(r'^login/tw/$', 'apps.account.views.tw_auth_init', {'mode': 'login'}),
    url(r'^login/tw/callback/$', 'apps.account.views.login_tw_callback'),

    # logout section
    url(r'^logout/$', 'apps.account.views.logout'),

    # signup section
    url(r'^signup/$', 'apps.account.views.signup'),
    url(r'^signup/fb/(?P<userid>\w+)$',
        'apps.account.views.signup_social', {'type': 'FB'}),
    url(r'^signup/tw/(?P<userid>\w+)$',
        'apps.account.views.signup_social', {'type': 'TW'}),
    url(r'^signup/kaist/(?P<userid>\w+)$',
        'apps.account.views.signup_social', {'type': 'KAIST'}),

    # connect section
    url(r'^connect/fb/$', 'apps.account.views.fb_auth_init', {'mode': 'connect'}),
    url(r'^connect/fb/callback/$', 'apps.account.views.connect_fb_callback'),
    url(r'^connect/tw/$', 'apps.account.views.tw_auth_init', {'mode': 'connect'}),
    url(r'^connect/tw/callback/$', 'apps.account.views.connect_tw_callback'),

    # disconnect section
    url(r'^disconnect/fb/$', 'apps.account.views.disconnect', {'type': 'FB'}),
    url(r'^disconnect/tw/$', 'apps.account.views.disconnect', {'type': 'TW'}),
    url(r'^disconnect/kaist/$', 'apps.account.views.disconnect', {'type': 'KAIST'}),

    url(r'^email-check/$', 'apps.account.views.email_check'),

    # email auth section
    url(r'^email-auth/([\w \[\]\.]{40,})$', 'apps.account.views.email_auth'),
    url(r'^email-reauth/$', 'apps.account.views.send_auth_email'),

    url(r'^profile/$', 'apps.account.views.profile'),

    # password section
    url(r'^password/change/$', 'apps.account.views.password_change'),
    url(r'^password/reset/$', 'apps.account.views.send_reset_email'),
    url(r'^password/reset/(?P<token>\w+)$', 'apps.account.views.password_reset'),
]
{'fraction_non_alphanumeric': 0.24153445417949326, 'fraction_numerical': 0.000947193937958797, 'mean_word_length': 4.306532663316583, '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': '1736067', 'n_tokens_mistral': 1603, 'n_tokens_neox': 1518, 'n_words': 183}