<commit_before><?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Adoptable_model extends CI_Model {

        public function __construct()
        {
            parent::__construct();
        }

        public function get_pet_general()
        {
            $this->db->select('*');
            $this->db->from('pet');
           return $this->db->get();
        }

        public function get_pet_breeds()
        {
            $this->db->select('*');
            $this->db->from('pet_breed');
            $this->db->join('pet', 'pet_breed.pet_id = pet.pet_id');
            return $this->db->get();
        }

        public function get_pet_photos()
        {
            $this->db->select('*');
            $this->db->from('pet_photo');
            $this->db->join('pet', 'pet_photo.pet_id = pet.pet_id');
            return $this->db->get();
        }
}<commit_msg>added result array to adoptable model<commit_after><?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Adoptable_model extends CI_Model {

        public function __construct()
        {
            parent::__construct();
        }

        public function get_pet_general()
        {
            $this->db->select('*');
            $this->db->from('pet');
           return $this->db->get()->result_array();
        }

        public function get_pet_breeds()
        {
            $this->db->select('*');
            $this->db->from('pet_breed');
            $this->db->join('pet', 'pet_breed.pet_id = pet.pet_id');
            return $this->db->get()->result_array();
        }

        public function get_pet_photos()
        {
            $this->db->select('*');
            $this->db->from('pet_photo');
            $this->db->join('pet', 'pet_photo.pet_id = pet.pet_id');
            return $this->db->get()->result_array();
        }
}
{'fraction_non_alphanumeric': 0.17381974248927037, 'fraction_numerical': 0.0, 'mean_word_length': 1.8473282442748091, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 50, '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': '6524957', 'n_tokens_mistral': 553, 'n_tokens_neox': 541, 'n_words': 91}