<commit_before># -*- coding: utf-8 -*-
from django import forms
from django.conf import settings
from django.contrib import admin
from django.contrib import messages
from django.http import HttpResponse
from django.http import HttpResponseRedirect
from django.utils.text import Truncator
from django.utils.html import strip_tags
from django.utils.encoding import smart_bytes
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse_lazy
from django.contrib.admin.helpers import ActionForm
from django.template import loader

from djspace.application.models import *
from djspace.core.utils import admin_display_file, get_start_date
from djspace.core.admin import GenericAdmin, PROFILE_LIST_DISPLAY
from djspace.core.models import UserFiles
from djspace.registration.admin import PROFILE_HEADERS, get_profile_fields
from djtools.fields import TODAY

from openpyxl import load_workbook
from openpyxl.writer.excel import save_virtual_workbook
from io import BytesIO

import tarfile
import glob
import csv
import io
import os

FUNDED_FILES = (
    ('','---Select---'),
    ('biography','Biography'),
    ('critical_design_report','Critical Design Report'),
    ('cv','CV'),
    ('education_outreach','Education Outreach'),<commit_msg>added import of 'reverse', which was missing<commit_after># -*- coding: utf-8 -*-
from django import forms
from django.conf import settings
from django.contrib import admin
from django.contrib import messages
from django.http import HttpResponse
from django.http import HttpResponseRedirect
from django.utils.text import Truncator
from django.utils.html import strip_tags
from django.utils.encoding import smart_bytes
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse, reverse_lazy
from django.contrib.admin.helpers import ActionForm
from django.template import loader

from djspace.application.models import *
from djspace.core.utils import admin_display_file, get_start_date
from djspace.core.admin import GenericAdmin, PROFILE_LIST_DISPLAY
from djspace.core.models import UserFiles
from djspace.registration.admin import PROFILE_HEADERS, get_profile_fields
from djtools.fields import TODAY

from openpyxl import load_workbook
from openpyxl.writer.excel import save_virtual_workbook
from io import BytesIO

import tarfile
import glob
import csv
import io
import os

FUNDED_FILES = (
    ('','---Select---'),
    ('biography','Biography'),
    ('critical_design_report','Critical Design Report'),
    ('cv','CV'),
    ('education_outreach','Education Outreach'),
{'fraction_non_alphanumeric': 0.07722308892355695, 'fraction_numerical': 0.00078003120124805, 'mean_word_length': 5.821808510638298, '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': '5367797', 'n_tokens_mistral': 715, 'n_tokens_neox': 694, 'n_words': 230}