<commit_before>from django.http import HttpResponseRedirect
from django.shortcuts import render_to_response
from django.template import RequestContext

def index(request):
    if not request.META.get('HTTP_HOST', '') == '127.0.0.1:8000':
        return HttpResponseRedirect('http://127.0.0.1:8000/')
    return render_to_response(
        'index.html', {}, context_instance=RequestContext(request)
    )<commit_msg>Removed the host redirect from the example. It kills heroku support<commit_after>from django.http import HttpResponseRedirect
from django.shortcuts import render_to_response
from django.template import RequestContext

def index(request):
    return render_to_response(
        'index.html', {}, context_instance=RequestContext(request)
    )
{'fraction_non_alphanumeric': 0.09656084656084656, 'fraction_numerical': 0.026455026455026454, 'mean_word_length': 5.154471544715447, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5245840', 'n_tokens_mistral': 218, 'n_tokens_neox': 204, 'n_words': 52}