<commit_before>from django.conf.urls import patterns, include, url
from tastypie.api import Api
from django.views.generic.base import RedirectView
from calaccess_campaign_browser.api import FilerResource
from calaccess_campaign_browser import views
from calaccess_campaign_browser.views import search
from django.views.generic import TemplateView

# Set up the endpoints for the REST service.
#
# Usage:
#
#    http://<hostname>:<port>//api/v1/
#    http://<hostname>:<port>//api/v1/filer/
#    http://<hostname>:<port>//api/v1/filing/?filing_id_raw=1852192'
#
v1_api = Api(api_name='v1')
v1_api.register(FilerResource())
v1_api.register(FilingResource())

# Set up the endpoints for the web application.
#
urlpatterns = patterns(
    '',
    url(r'^$', RedirectView.as_view(url='/latest/', permanent=False)),
    url(
        r'^latest/$',
        views.LatestFilingView.as_view(),
        name='latest_list'
    ),
    url(<commit_msg>Fix reference called out by pyflakes.<commit_after>from django.conf.urls import patterns, include, url
from tastypie.api import Api
from django.views.generic.base import RedirectView
from calaccess_campaign_browser.api import FilerResource, FilingResource
from calaccess_campaign_browser import views
from calaccess_campaign_browser.views import search
from django.views.generic import TemplateView

# Set up the endpoints for the REST service.
#
# Usage:
#
#    http://<hostname>:<port>//api/v1/
#    http://<hostname>:<port>//api/v1/filer/
#    http://<hostname>:<port>//api/v1/filing/?filing_id_raw=1852192'
#
v1_api = Api(api_name='v1')
v1_api.register(FilerResource())
v1_api.register(FilingResource())

# Set up the endpoints for the web application.
#
urlpatterns = patterns(
    '',
    url(r'^$', RedirectView.as_view(url='/latest/', permanent=False)),
    url(
        r'^latest/$',
        views.LatestFilingView.as_view(),
        name='latest_list'
    ),
    url(
{'fraction_non_alphanumeric': 0.13270637408568442, 'fraction_numerical': 0.014629049111807733, 'mean_word_length': 4.440340909090909, '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': '5033790', 'n_tokens_mistral': 652, 'n_tokens_neox': 638, 'n_words': 133}