<commit_before><?php

/**
 * @category    Modules
 *
 * @author      <NAME>
 *
 * @link        https://github.com/jjpmann
 */

require_once('config.php');

class Subscribe
{
    public $return_data;

    public function __construct()
    {
        ee()->load->model('subscribe_model');
    }

    /**
     * Helper function for getting a parameter.
     */
    protected function _get_param($key, $default_value = '')
    {
        $val = ee()->TMPL->fetch_param($key);

        if ($val == '') {
            return $default_value;
        }

        return $val;
    }

    /**
     * Helper funciton for template logging.
     */
    protected function _error_log($msg)
    {
        ee()->TMPL->log_item('Subscribe ERROR: '.$msg);
    }
}<commit_msg>no need to load model on from module file<commit_after><?php

/**
 * @category    Modules
 *
 * @author      <NAME>
 *
 * @link        https://github.com/jjpmann
 */

require_once('config.php');

class Subscribe
{
    public $return_data;

    public function __construct()
    {
        //ee()->load->model('subscribe_model');
    }

    /**
     * Helper function for getting a parameter.
     */
    protected function _get_param($key, $default_value = '')
    {
        $val = ee()->TMPL->fetch_param($key);

        if ($val == '') {
            return $default_value;
        }

        return $val;
    }

    /**
     * Helper funciton for template logging.
     */
    protected function _error_log($msg)
    {
        ee()->TMPL->log_item('Subscribe ERROR: '.$msg);
    }
}
{'fraction_non_alphanumeric': 0.15494791666666666, 'fraction_numerical': 0.0, 'mean_word_length': 2.019646365422397, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 2, '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': '1729563', 'n_tokens_mistral': 493, 'n_tokens_neox': 478, 'n_words': 98}