<commit_before>#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4 encoding=utf-8

from django.conf.urls.defaults import *
from . import views

urlpatterns = patterns('',
    url(r"^/?$", views.dashboard),
    url(r"^(?P<name>.*)\.csv$", views.csv),
    #4 main sections:
    url(r"^profiles/?$", views.profiles_section),
    url(r"^data/?$", views.submission_counts),
    url(r"^view/?$", views.view_section),
    url(r"^analysis/?$", views.analysis_section),
)<commit_msg>Adding redirect to avoid confusion with old links.<commit_after>#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4 encoding=utf-8

from django.conf.urls.defaults import *
from django.views.generic.simple import redirect_to

from . import views

urlpatterns = patterns('',
    url(r"^/?$", views.dashboard),
    url(r"^(?P<name>.*)\.csv$", views.csv),
    url(r"^map/?", redirect_to, {'url': '/view'}),
    #4 main sections:
    url(r"^profiles/?$", views.profiles_section),
    url(r"^data/?$", views.submission_counts),
    url(r"^view/?$", views.view_section),
    url(r"^analysis/?$", views.analysis_section),
)
{'fraction_non_alphanumeric': 0.20607175712971482, 'fraction_numerical': 0.00919963201471941, 'mean_word_length': 4.359605911330049, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '3703557', 'n_tokens_mistral': 421, 'n_tokens_neox': 405, 'n_words': 79}