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

import os
from django.conf.urls.defaults import *
import apps.nigeria.views as views

urlpatterns = patterns('',
    url(r'^reports?$', views.index),
    url(r'^reports/logistics/summary/(?P<locid>.*)/?', views.logistics_summary),
    url(r'^reports/bednets/summary/(?P<range>.*)/?(?P<from>.*)/?(?P<to>.*)$', views.bednets_summary),
    url(r'^reports/coupons/summary/(?P<range>.*)/?(?P<from>.*)/?(?P<to>.*)$', views.coupons_summary),
    url(r'^reports/supply/summary/(?P<range>.*)/?(?P<from>.*)/?(?P<to>.*)$', views.supply_summary),
    url(r'^reports/bednets/daily/(?P<locid>\d*)$', views.bednets_daily),
    url(r'^reports/bednets/weekly/(?P<locid>\d*)$', views.bednets_weekly),
    url(r'^reports/bednet/monthly/(?P<locid>\d*)$', views.bednets_monthly),
    url(r'^reports/coupons/daily/(?P<locid>\d*)$', views.coupons_daily),
    url(r'^reports/coupons/weekly/(?P<locid>\d*)$', views.coupons_weekly),
    url(r'^reports/coupons/monthly/(?P<locid>\d*)$', views.coupons_monthly),
    url(r'^reports/supply/daily/(?P<locid>\d*)$', views.supply_daily),
    url(r'^reports/supply/weekly/(?P<locid>\d*)$', views.supply_weekly),
    url(r'^reports/supply/monthly/(?P<locid>\d*)$', views.supply_monthly),
#    url(r'^reports/test?$', views.tests),
#    url(r'^reports/ajax?$', views.ajax),
    (r'^static/nigeria/(?P<path>.*)$', "django.views.static.serve",
        {"document_root": os.path.dirname(__file__) + "/static"}),
)
<commit_msg>fixed trailing slashes<commit_after>#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4

import os
from django.conf.urls.defaults import *
import apps.nigeria.views as views

urlpatterns = patterns('',
    url(r'^reports/?$', views.index),
    url(r'^reports/logistics/summary/(?P<locid>.*)/?', views.logistics_summary),
    url(r'^reports/bednets/summary/(?P<range>.*)/?(?P<from>.*)/?(?P<to>.*)/?$', views.bednets_summary),
    url(r'^reports/coupons/summary/(?P<range>.*)/?(?P<from>.*)/?(?P<to>.*)/?$', views.coupons_summary),
    url(r'^reports/supply/summary/(?P<range>.*)/?(?P<from>.*)/?(?P<to>.*)/?$', views.supply_summary),
    url(r'^reports/bednets/daily/(?P<locid>\d*)/?$', views.bednets_daily),
    url(r'^reports/bednets/weekly/(?P<locid>\d*)/?$', views.bednets_weekly),
    url(r'^reports/bednet/monthly/(?P<locid>\d*)/?$', views.bednets_monthly),
    url(r'^reports/coupons/daily/(?P<locid>\d*)/?$', views.coupons_daily),
    url(r'^reports/coupons/weekly/(?P<locid>\d*)/?$', views.coupons_weekly),
    url(r'^reports/coupons/monthly/(?P<locid>\d*)/?$', views.coupons_monthly),
    url(r'^reports/supply/daily/(?P<locid>\d*)/?$', views.supply_daily),
    url(r'^reports/supply/weekly/(?P<locid>\d*)/?$', views.supply_weekly),
    url(r'^reports/supply/monthly/(?P<locid>\d*)/?$', views.supply_monthly),
    (r'^static/nigeria/(?P<path>.*)$', "django.views.static.serve",
        {"document_root": os.path.dirname(__file__) + "/static"}),
)

{'fraction_non_alphanumeric': 0.26885356780520797, 'fraction_numerical': 0.002029083530605343, 'mean_word_length': 5.188284518828452, 'pattern_counts': {'":': 2, '<': 43, '<?xml version=': 0, '>': 43, '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': '6489655', 'n_tokens_mistral': 1307, 'n_tokens_neox': 1229, 'n_words': 110}