<commit_before># Django
# Third-Party
from rest_framework.documentation import include_docs_urls
from rest_framework.schemas import get_schema_view
# from django.views.generic import TemplateView
# from api.views import variance, ann
from django.conf import settings
from django.conf.urls import (
    include,
    url,
)
from django.contrib import admin
from django.http import HttpResponse

schema_view = get_schema_view(
    title='Barberscore API',
)

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    # url(r'^variance/$', variance),
    # url(r'^ann/$', ann),
    url(r'^api/', include('api.urls')),<commit_msg>Add direct forward to admin<commit_after># Django
# Third-Party
from rest_framework.documentation import include_docs_urls
from rest_framework.schemas import get_schema_view
# from django.views.generic import TemplateView
# from api.views import variance, ann
from django.conf import settings
from django.conf.urls import (
    include,
    url,
)
from django.contrib import admin
from django.http import HttpResponse, HttpResponseRedirect

schema_view = get_schema_view(
    title='Barberscore API',
)

urlpatterns = [
    url(r'^$', lambda r: HttpResponseRedirect('admin/')),
    url(r'^admin/', admin.site.urls),
    # url(r'^variance/$', variance),
    # url(r'^ann/$', ann),
    url(r'^api/', include('api.urls')),
{'fraction_non_alphanumeric': 0.12276785714285714, 'fraction_numerical': 0.0, 'mean_word_length': 4.822510822510822, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1016862', 'n_tokens_mistral': 423, 'n_tokens_neox': 413, 'n_words': 108}