<commit_before><?php
/**
 * Set page title
 */
$this->assign('Title', 'Dashboard');
?>

<p>Builder home page...</p><commit_msg>Update Builder defualt home page<commit_after><?php
/**
 * Set page title
 */
$this->assign('title', 'Dashboard');

/**
 * Get number_of
 */
use Cake\ORM\TableRegistry;
$number_of_roles = TableRegistry::get('Builder.Roles')->find()->count();
$number_of_users = TableRegistry::get('Builder.Users')->find()->count();
$number_of_tasks = TableRegistry::get('Builder.Roles')->find()->count();
?>
<h3><i class="fa fa-users"></i> <?= __('Role-Based Access Control') ?></h3>
<div class="row">
    <div class="col-md-4">
        <div class="alert alert-info">
            <div class="pull-right"><span class="badge"><?= $number_of_roles ?></span></div>
            <a href="<?= $this->Url->build(['controller' => 'roles']) ?>"><?= __('Roles') ?></a>
        </div>
    </div>
    <div class="col-md-4">
        <div class="alert alert-info">
            <div class="pull-right"><span class="badge"><?= $number_of_users ?></span></div>
            <a href="<?= $this->Url->build(['controller' => 'users']) ?>"><?= __('Users') ?></a>
        </div>
    </div>
    <div class="col-md-4">
        <div class="alert alert-info">
            <div class="pull-right"><span class="badge"><?= $number_of_tasks ?></span></div>
            <a href="<?= $this->Url->build(['controller' => 'tasks']) ?>"><?= __('Tasks') ?></a>
        </div>
    </div>
</div>
<hr/>
{'fraction_non_alphanumeric': 0.26598639455782314, 'fraction_numerical': 0.003401360544217687, 'mean_word_length': 3.4847560975609757, 'pattern_counts': {'":': 0, '<': 54, '<?xml version=': 0, '>': 71, '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': '7432087', 'n_tokens_mistral': 488, 'n_tokens_neox': 507, 'n_words': 93}