<commit_before>from django.conf import settings
from django.template import RequestContext, loader
from django.http import HttpResponse, HttpResponseRedirect, Http404
from django.shortcuts import render_to_response
from django.core.urlresolvers import reverse_lazy
from django.views.decorators.csrf import csrf_exempt

from djsani.medical_history.models import StudentMedicalHistory
from djsani.medical_history.models import AthleteMedicalHistory
from djsani.medical_history.forms import StudentMedicalHistoryForm
from djsani.medical_history.forms import AthleteMedicalHistoryForm
from djsani.insurance.models import StudentHealthInsurance
from djsani.core.models import SPORTS_WOMEN, SPORTS_MEN, SPORTS
from djsani.core.models import StudentMedicalManager
from djsani.core.sql import STUDENTS_ALPHA, STUDENT_VITALS
from djsani.core.utils import get_manager, get_term
from djsani.emergency.models import AARec

from djzbar.utils.informix import do_sql as do_esql, get_session
from djtools.decorators.auth import group_required
from djtools.utils.convert import str_to_class
from djtools.utils.date import calculate_age
from djtools.utils.database import row2dict
from djtools.utils.users import in_group
from djtools.fields import NEXT_YEAR
from djmaidez.core.models import ENS_CODES

EARL = settings.INFORMIX_EARL

import logging
logger = logging.getLogger(__name__)

@group_required('MedicalStaff')<commit_msg>removed unused import for csrf_exempt decorator<commit_after>from django.conf import settings
from django.template import RequestContext, loader
from django.http import HttpResponse, HttpResponseRedirect, Http404
from django.shortcuts import render_to_response
from django.core.urlresolvers import reverse_lazy

from djsani.medical_history.models import StudentMedicalHistory
from djsani.medical_history.models import AthleteMedicalHistory
from djsani.medical_history.forms import StudentMedicalHistoryForm
from djsani.medical_history.forms import AthleteMedicalHistoryForm
from djsani.insurance.models import StudentHealthInsurance
from djsani.core.models import SPORTS_WOMEN, SPORTS_MEN, SPORTS
from djsani.core.models import StudentMedicalManager
from djsani.core.sql import STUDENTS_ALPHA, STUDENT_VITALS
from djsani.core.utils import get_manager, get_term
from djsani.emergency.models import AARec

from djzbar.utils.informix import do_sql as do_esql, get_session
from djtools.decorators.auth import group_required
from djtools.utils.convert import str_to_class
from djtools.utils.date import calculate_age
from djtools.utils.database import row2dict
from djtools.utils.users import in_group
from djtools.fields import NEXT_YEAR
from djmaidez.core.models import ENS_CODES

EARL = settings.INFORMIX_EARL

import logging
logger = logging.getLogger(__name__)

@group_required('MedicalStaff')
{'fraction_non_alphanumeric': 0.045989304812834225, 'fraction_numerical': 0.00285204991087344, 'mean_word_length': 7.52887537993921, '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': '4194745', 'n_tokens_mistral': 872, 'n_tokens_neox': 838, 'n_words': 226}