<commit_before><?php

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

class Welcome extends Application
{
    function __construct()
    {
        parent::__construct();
    }
    
    public function index()
    {
        $this->data['pagebody'] = 'justone';
        $source = $this->quotes->get('6');
        $this->data['who'] = $source['who'];
        $this->data['what'] = $source['what'];
        $this->data['mug'] = $source['mug'];
        $this->render();
    }
}<commit_msg>Changed logic for last/Welcome.php to get the last quote instead of hardcoded value<commit_after><?php

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

class Welcome extends Application
{
    function __construct()
    {
        parent::__construct();
    }
    
    public function index()
    {
        $this->data['pagebody'] = 'justone';
        $source = $this->quotes->get(count($this->quotes->data));
        $this->data['who'] = $source['who'];
        $this->data['what'] = $source['what'];
        $this->data['mug'] = $source['mug'];
        $this->render();
    }
}
{'fraction_non_alphanumeric': 0.18904109589041096, 'fraction_numerical': 0.0009132420091324201, 'mean_word_length': 2.872791519434629, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 19, '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': '4139231', 'n_tokens_mistral': 331, 'n_tokens_neox': 329, 'n_words': 70}