<commit_before><?php

class Setting_model extends Model {

	function Setting_model()
	{
		parent::Model();
	}

	function get_current()
	{
		$account_q = $this->db->query('SELECT * FROM settings WHERE id = 1');
		return $account_q->row();
	}
}
<commit_msg>Converted setting model to active records<commit_after><?php

class Setting_model extends Model {

	function Setting_model()
	{
		parent::Model();
	}

	function get_current()
	{
		$this->db->from('settings')->where('id', 1);
		$account_q = $this->db->get();
		return $account_q->row();
	}
}

{'fraction_non_alphanumeric': 0.17032967032967034, 'fraction_numerical': 0.003663003663003663, 'mean_word_length': 4.581632653061225, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '7381308', 'n_tokens_mistral': 200, 'n_tokens_neox': 188, 'n_words': 40}