<commit_before><?php
	class Grades_model extends CI_Model {

		public function __construct()
		{
				parent::__construct();
				$this->load->database();
		}
		
		public function returnAssignments($classID)
		{
			$this->db->select('ass_name, ass_description, username, point_possible');
			$this->db->where('classID', $classID);
			
			$query = $this->db->get('assignments');
			//do hashes in DB

			return $query->num_rows();
		}

		public function newAssignment($ass_name, $ass_description, $username, $point_possible)
		{
			$newAssignment = array(
   				'ass_name' => $ass_name ,<commit_msg>debugging<commit_after><?php
	class Grades_model extends CI_Model {

		public function __construct()
		{
				parent::__construct();
				$this->load->database();
		}
		
		public function returnAssignments($classID)
		{

			$this->db->select('ass_name, ass_description, point_possible');
			$this->db->where('classID', $classID);
			
			$query = $this->db->get('assignments');
			//do hashes in DB

			return $query->num_rows();
		}

		public function newAssignment($ass_name, $ass_description, $username, $point_possible)
		{
			$newAssignment = array(
   				'ass_name' => $ass_name ,
{'fraction_non_alphanumeric': 0.15495342929720576, 'fraction_numerical': 0.0, 'mean_word_length': 4.029787234042553, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, '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': '229531', 'n_tokens_mistral': 457, 'n_tokens_neox': 385, 'n_words': 73}