<commit_before>from django.shortcuts import render
from django.http import HttpResponse
from topology.models import Machine, Threat

def index(request):
    context_dict = {}
    machine_list = Machine.objects.all()
    context_dict['machines'] = machine_list
    context_dict['number_of_machines'] = range(0, len(machine_list))

    return render(request, 'topology/index.html', context_dict)<commit_msg>Removed unneeded view context dictionary item.<commit_after>from django.shortcuts import render
from django.http import HttpResponse
from topology.models import Machine, Threat

def index(request):
    context_dict = {}
    machine_list = Machine.objects.all()
    context_dict['machines'] = machine_list

    return render(request, 'topology/index.html', context_dict)
{'fraction_non_alphanumeric': 0.09431524547803617, 'fraction_numerical': 0.0012919896640826874, 'mean_word_length': 5.512605042016807, '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': '1410610', 'n_tokens_mistral': 224, 'n_tokens_neox': 210, 'n_words': 55}