<commit_before><div class="col-md-3"></div>
<div class="col-md-9 body-container">
	<div class="panel p-body">
		<div class="panel-heading">
			<h4>Class List</h4>
		</div>
		<div class="panel-body">
            <table class="table">
                <tr>
                    <th>Course</th>
                    <th>Subject</th>
                    <th>Action</th>
                </tr>

            <?php
                $systemVal 	= $this->api->systemValue();
                $where 		= array(
                            'academicterm'  => $systemVal['currentacademicterm'],
                            'instructor'    => $this->session->userdata('uid')
                        );
                $this->db->where($where);
                $this->db->select(array('id', 'instructor', 'coursemajor', 'subject'));
                $r = $this->db->get('tbl_classallocation')->result_array();
                foreach($r as $rr)
                {
                ?>
                    <tr>
                        <td>
                            <?php
                                $this->db->where('id', $rr['coursemajor']);
                                $this->db->select('description');
                                $t = $this->db->get('tbl_course')->row_array();
                                echo $t['description'];
                             ?>
                        </td>
                        <td>
                            <?php
                                $this->db->where('id', $rr['subject']);
                                $this->db->select('code,descriptivetitle');
                                $s = $this->db->get('tbl_subject')->row_array();
                                echo $s['code'].' | '.$s['descriptivetitle'];
                             ?>
                        </td>
                        <td>
                            <a href="/add_grade/<?php echo $rr['id'] ?>" class="btn btn-primary btn-xs">Add grades</a>
                        </td>
                    </tr>
            <?php
                }
             ?>
            </table>
		</div>
	</div>
</div>
<commit_msg>additional information<commit_after><div class="col-md-3"></div>
<div class="col-md-9 body-container">
	<div class="panel p-body">
		<div class="panel-heading">
			<h4>Class List</h4>
		</div>
		<div class="panel-body">
            <table class="table">
                <tr>
                    <th>Course</th>
                    <th>Subject</th>
					<th>Room</th>
					<th>Day</th>
					<th>Time</th>
                    <th>Action</th>
                </tr>

            <?php
                $systemVal 	= $this->api->systemValue();
                $where 		= array(
                            'academicterm'  => $systemVal['currentacademicterm'],
                            'instructor'    => $this->session->userdata('uid')
                        );
                $this->db->where($where);
                $this->db->select(array('id', 'instructor', 'coursemajor', 'subject'));
                $r = $this->db->get('tbl_classallocation')->result_array();

                foreach ($r as $rr) {
                ?>
                    <tr>
                        <td>
                            <?php
                                $this->db->where('id', $rr['coursemajor']);
                                $this->db->select('description');
                                $t = $this->db->get('tbl_course')->row_array();
                                echo $t['description'];
                             ?>
                        </td>
						<td>
                            <?php
                                $this->db->where('id', $rr['subject']);
                                $this->db->select('code,descriptivetitle');
                                $s = $this->db->get('tbl_subject')->row_array();
                                echo $s['code'].' | '.$s['descriptivetitle'];
                             ?>
                        </td>
						<td>
							<?php echo $this->edp_classallocation->getRooms($rr['id']) ?>
						</td>
						<td>
							<?php echo $this->edp_classallocation->getDayShort($rr['id']) ?>
						</td>
						<td>
							<?php echo $this->edp_classallocation->getPeriod($rr['id']) ?>
						</td>
                        <td>
                            <a href="/add_grade/<?php echo $rr['id'] ?>" class="btn btn-primary btn-xs">Add grades</a>
                        </td>
                    </tr>
            <?php
                }
             ?>
            </table>
		</div>
	</div>
</div>

{'fraction_non_alphanumeric': 0.16590264134468458, 'fraction_numerical': 0.0017463435931019428, 'mean_word_length': 0.9623126338329765, 'pattern_counts': {'":': 0, '<': 92, '<?xml version=': 0, '>': 152, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1448771', 'n_tokens_mistral': 1335, 'n_tokens_neox': 1189, 'n_words': 178}