<commit_before>import unittest

from grade_school import School

# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.0


class GradeSchoolTest(unittest.TestCase):
    def test_adding_a_student_adds_them_to_the_sorted_roster(self):
        school = School()
        school.add_student(name="Aimee", grade=2)
        expected = ["Aimee"]
        self.assertEqual(school.roster(), expected)

    def test_adding_more_student_adds_them_to_the_sorted_roster(self):
        school = School()
        school.add_student(name="Blair", grade=2)
        school.add_student(name="James", grade=2)
        school.add_student(name="Paul", grade=2)
        expected = ["Blair", "James", "Paul"]<commit_msg>grade-school: update tests to v1.0.1 (#2145)<commit_after>import unittest

from grade_school import School

# Tests adapted from `problem-specifications//canonical-data.json` @ v1.0.1


class GradeSchoolTest(unittest.TestCase):
    def test_adding_a_student_adds_them_to_the_sorted_roster(self):
        school = School()
        school.add_student(name="Aimee", grade=2)
        expected = ["Aimee"]
        self.assertEqual(school.roster(), expected)

    def test_adding_more_student_adds_them_to_the_sorted_roster(self):
        school = School()
        school.add_student(name="Blair", grade=2)
        school.add_student(name="James", grade=2)
        school.add_student(name="Paul", grade=2)
        expected = ["Blair", "James", "Paul"]
{'fraction_non_alphanumeric': 0.12131596984235778, 'fraction_numerical': 0.01439342015078821, 'mean_word_length': 4.017182130584192, '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': '6428623', 'n_tokens_mistral': 492, 'n_tokens_neox': 469, 'n_words': 78}