<commit_before>import csv
print('1 for Class A\n2 for Class B\n3 for Class C')
chosen = int(input())

if chosen == 1:
    class_a = open('Class_A_Results.txt')
    print('1 for alphabetical orderwith each students highest score\n2 for highest score, Highest to lowest\n3 for average score, Highest to lowest')
    cho_two=int(input())
    csv_a = csv.reader(class_a)
    a_list = []
    for row in csv_a:
        if row:
            row[1] = int(row[1])
            row[2] = int(row[2])
            row[3] = int(row[3])
            minimum = min(row[1:3])
            row.append(minimum)
            maximun = max(row[1:3])
            row.append(maximum)
            average = sum(row[1:3])//3<commit_msg>General Code Improvements<commit_after>import csv
chosen = int(input('1 for Class A\n2 for Class B\n3 for Class C'))

if chosen == 1:
    class_a = open('Class_A_Results.txt')
    print('1 for alphabetical orderwith each students highest score\n2 for highest score, Highest to lowest\n3 for average score, Highest to lowest')
    cho_two=int(input())
    csv_a = csv.reader(class_a)
    a_list = []
    for row in csv_a:
        if row:
            row[1] = int(row[1])
            row[2] = int(row[2])
            row[3] = int(row[3])
            minimum = min(row[1:3])
            row.append(minimum)
            maximun = max(row[1:3])
            row.append(maximum)
            average = sum(row[1:3])//3
{'fraction_non_alphanumeric': 0.1285310734463277, 'fraction_numerical': 0.02824858757062147, 'mean_word_length': 2.310747663551402, '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': '3760260', 'n_tokens_mistral': 492, 'n_tokens_neox': 476, 'n_words': 126}