<commit_before><?php

defined('BASEPATH') OR exit('No direct script access allowed');

class Curl_test extends CI_Controller {

    public function index()
    {
        $code_example = <<<EOT

        \$user_id = 1;

        \$this->load->helper('url');
        \$this->load->library('curl');

        \$this->curl->create(site_url('api/example/users/id/'.\$user_id.'/format/json'));

        // Optional, delete this line if your API is open.
        \$username = 'admin';
        \$password = '<PASSWORD>';
        \$this->curl->http_login(\$username, \$password);

        \$this->curl->get();
        \$result = \$this->curl->execute();

EOT;

        eval($code_example);

        $this->load->view('curl_test', compact('code_example', 'result'));
    }
}
<commit_msg>A minor change whithin Curl test.<commit_after><?php

defined('BASEPATH') OR exit('No direct script access allowed');

class Curl_test extends CI_Controller {

    public function index()
    {
        $code_example = <<<EOT

        \$user_id = 1;

        \$this->load->helper('url');
        \$this->load->library('curl');

        \$this->curl->create(site_url('api/example/users/id/'.\$user_id.'/format/json'));

        // Optional, delete this line if your API is open.
        \$username = 'admin';
        \$password = '<PASSWORD>';
        \$this->curl->http_login(\$username, \$password);

        \$result = \$this->curl->get()->execute();

EOT;

        eval($code_example);

        $this->load->view('curl_test', compact('code_example', 'result'));
    }
}

{'fraction_non_alphanumeric': 0.19404915912031048, 'fraction_numerical': 0.00129366106080207, 'mean_word_length': 2.5481651376146788, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 32, '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': '3852745', 'n_tokens_mistral': 516, 'n_tokens_neox': 463, 'n_words': 94}