<commit_before><?php
class Imggen_model extends CI_Model {

	public function __construct()
	{
		$this->load->database();
	}

	public function get_input($title = FALSE)
	{
		if ($title === FALSE)
		{
			$query = $this->db->get('imggen');
			return $query->result_array();
		}

		$query = $this->db->get_where('imggen',array('title' => $title));
		return $query->row_array();
	}

	public function set_image()
	{
		$this->load->helper('url');

		$title = url_title($this->input->post('title'), 'dash', TRUE);

		$data = array(
			'title' => $this->input->post('title'),
			'text' => $this->input->post('text')
		);

		return $this->db->insert('imggen', $data);
	}
}<commit_msg>fix chop<commit_after><?php
class Imggen_model extends CI_Model {

	public function __construct()
	{
		$this->load->database();
	}

	public function get_input($title = FALSE)
	{
		if ($title === FALSE)
		{
			$query = $this->db->get('imggen');
			return $query->result_array();
		}

		$query = $this->db->get_where('imggen',array('title' => $title));
		return $query->row_array();
	}

	public function set_image()
	{
		$this->load->helper('url');

		$title = url_title($this->input->post('title'), 'dash', TRUE);

		$data = array(
			'title' => $title,
			'text' => $this->input->post('text')
		);

		return $this->db->insert('imggen', $data);
	}
}
{'fraction_non_alphanumeric': 0.2254160363086233, 'fraction_numerical': 0.0, 'mean_word_length': 4.127906976744186, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 43, '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': '4805038', 'n_tokens_mistral': 536, 'n_tokens_neox': 482, 'n_words': 85}