<commit_before><!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        include('student.php');

        $students = array();

        //First student
        $first = new Student();
        $first->surname = "Doe";
        $first->first_name = "John";
        $first->add_email('home', '<EMAIL>');
        $first->add_email('work', '<EMAIL>');
        $first->add_grade(65);
        $first->add_grade(75);
        $first->add_grade(55);
        $students['j123'] = $first;
        
        //Second student
        $second = new Student();
        $second->surname = "Einstein";
        $second->first_name = "Albert";
        $second->add_email('home', '<EMAIL>');
        $second->add_email('work1', '<EMAIL>');
        $second->add_email('work2', '<EMAIL>');
        $second->add_grade(95);
        $second->add_grade(80);
        $second->add_grade(50);
        $students['a456'] = $second;

        ksort($students);
        foreach ($students as $student)
            echo $student->toString();
        ?>
    </body>
</html><commit_msg>added 3rd student<commit_after><!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php
        include('student.php');

        $students = array();

        //First student
        $first = new Student();
        $first->surname = "Doe";
        $first->first_name = "John";
        $first->add_email('home', '<EMAIL>');
        $first->add_email('work', '<EMAIL>');
        $first->add_grade(65);
        $first->add_grade(75);
        $first->add_grade(55);
        $students['j123'] = $first;

        //Second student
        $second = new Student();
        $second->surname = "Einstein";
        $second->first_name = "Albert";
        $second->add_email('home', '<EMAIL>');
        $second->add_email('work1', '<EMAIL>');
        $second->add_email('work2', '<EMAIL>');
        $second->add_grade(95);
        $second->add_grade(80);
        $second->add_grade(50);
        $students['a456'] = $second;

        //Third Student
        $third = new Student();
        $third->surname = "Doo";
        $third->first_name = "Scooby";
        $third->add_email('home', '<EMAIL>');
        $third->add_grade(95);
        $third->add_grade(70);
        $third->add_grade(60);
        $students['z007'] = $third;


        //Sorting entries
        ksort($students);

        //Print
        foreach ($students as $student)
            echo $student->toString();
        ?>
    </body>
</html>
{'fraction_non_alphanumeric': 0.1794697484704283, 'fraction_numerical': 0.017675050985723997, 'mean_word_length': 2.1816216216216215, 'pattern_counts': {'":': 0, '<': 38, '<?xml version=': 0, '>': 76, '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': '3155319', 'n_tokens_mistral': 956, 'n_tokens_neox': 903, 'n_words': 192}