<commit_before>from django.conf import settings
from django.conf.urls import url
from django.views.generic import RedirectView

from crashstats.crashstats import views


products = r'/products/(?P<product>\w+)'
versions = r'/versions/(?P<versions>[;\w\.()]+)'
version = r'/versions/(?P<version>[;\w\.()]+)'

perm_legacy_redirect = settings.PERMANENT_LEGACY_REDIRECTS


app_name = 'crashstats'
urlpatterns = [
    url(r'^robots\.txt$',
        views.robots_txt,
        name='robots_txt'),

    # DEPRECATED(willkg): This endpoint should be deprecated in
    # favor of the dockerflow /__version__ one
    url(r'^status/json/$',
        views.status_json,
        name='status_json'),

    url(r'^report/index/(?P<crash_id>[\w-]+)$',
        views.report_index,
        name='report_index'),
    url(r'^report/index/(?P<crash_id>[\w-]+)/new$',
        views.new_report_index,
        name='new_report_index'),
    url(r'^search/quick/$',
        views.quick_search,
        name='quick_search'),
    url(r'^buginfo/bug', views.buginfo,
        name='buginfo'),
    url(r'^rawdumps/(?P<crash_id>[\w-]{36})-(?P<name>\w+)\.'
        r'(?P<extension>json|dmp|json\.gz)$',
        views.raw_data,
        name='raw_data_named'),
    url(r'^rawdumps/(?P<crash_id>[\w-]{36}).(?P<extension>json|dmp)$',
        views.raw_data,
        name='raw_data'),
    url(r'^login/$',
        views.login,
        name='login'),
    url(r'^about/throttling/$',
        views.about_throttling,
        name='about_throttling'),
    url(r'^home/product/(?P<product>\w+)$',
        views.product_home,
        name='product_home'),

    # Home page
    url(r'^$',
        views.home,
        name='home'),

    # Dockerflow endpoints
    url(r'__version__',
        views.dockerflow_version,<commit_msg>Cosmetic: join a broken-up long line<commit_after>from django.conf import settings
from django.conf.urls import url
from django.views.generic import RedirectView

from crashstats.crashstats import views


products = r'/products/(?P<product>\w+)'
versions = r'/versions/(?P<versions>[;\w\.()]+)'
version = r'/versions/(?P<version>[;\w\.()]+)'

perm_legacy_redirect = settings.PERMANENT_LEGACY_REDIRECTS


app_name = 'crashstats'
urlpatterns = [
    url(r'^robots\.txt$',
        views.robots_txt,
        name='robots_txt'),

    # DEPRECATED(willkg): This endpoint should be deprecated in
    # favor of the dockerflow /__version__ one
    url(r'^status/json/$',
        views.status_json,
        name='status_json'),

    url(r'^report/index/(?P<crash_id>[\w-]+)$',
        views.report_index,
        name='report_index'),
    url(r'^report/index/(?P<crash_id>[\w-]+)/new$',
        views.new_report_index,
        name='new_report_index'),
    url(r'^search/quick/$',
        views.quick_search,
        name='quick_search'),
    url(r'^buginfo/bug', views.buginfo,
        name='buginfo'),
    url(r'^rawdumps/(?P<crash_id>[\w-]{36})-(?P<name>\w+)\.(?P<extension>json|dmp|json\.gz)$',
        views.raw_data,
        name='raw_data_named'),
    url(r'^rawdumps/(?P<crash_id>[\w-]{36}).(?P<extension>json|dmp)$',
        views.raw_data,
        name='raw_data'),
    url(r'^login/$',
        views.login,
        name='login'),
    url(r'^about/throttling/$',
        views.about_throttling,
        name='about_throttling'),
    url(r'^home/product/(?P<product>\w+)$',
        views.product_home,
        name='product_home'),

    # Home page
    url(r'^$',
        views.home,
        name='home'),

    # Dockerflow endpoints
    url(r'__version__',
        views.dockerflow_version,
{'fraction_non_alphanumeric': 0.18538224586950433, 'fraction_numerical': 0.0022402688322598714, 'mean_word_length': 3.068337129840547, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '3860123', 'n_tokens_mistral': 1319, 'n_tokens_neox': 1254, 'n_words': 169}