<commit_before>from django.core.management.base import BaseCommand
import time
from timetable.app_helpers import get_student_timetable


class Command(BaseCommand):

    help = 'Clones timetable related dbs to speed up queries'

    def handle(self, *args, **options):
        upi = input("Please enter the student UPI: ")
        start_time = time.time()
        tt = get_student_timetable(upi)
        elapsed_time = time.time() - start_time
        print(elapsed_time)<commit_msg>Reorganisation of test_personal_timetable imports<commit_after>import time

from django.core.management.base import BaseCommand

from timetable.app_helpers import get_student_timetable


class Command(BaseCommand):

    help = 'Clones timetable related dbs to speed up queries'

    def handle(self, *args, **options):
        upi = input("Please enter the student UPI: ")
        start_time = time.time()
        tt = get_student_timetable(upi)
        elapsed_time = time.time() - start_time
        print(elapsed_time)
{'fraction_non_alphanumeric': 0.08167330677290836, 'fraction_numerical': 0.0, 'mean_word_length': 3.696261682242991, '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': '4231631', 'n_tokens_mistral': 304, 'n_tokens_neox': 289, 'n_words': 80}