<commit_before>{if isset($ERRORS)}
    {if count($ERRORS)}
    <div class="alert alert-danger alert-dismissible">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
        <h5><i class="icon fas fa-exclamation-triangle"></i> {$ERRORS_TITLE}</h5>
        <ul>
            {foreach from=$ERRORS item=error}
                <li>{$error}</li>
            {/foreach}
        </ul>
    </div>
    {/if}
{/if}<commit_msg>Revert "add check if $ERRORS is set before count()"<commit_after>{if isset($ERRORS) && count($ERRORS)}
    <div class="alert alert-danger alert-dismissible">
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
        <h5><i class="icon fas fa-exclamation-triangle"></i> {$ERRORS_TITLE}</h5>
        <ul>
            {foreach from=$ERRORS item=error}
                <li>{$error}</li>
            {/foreach}
        </ul>
    </div>
{/if}
{'fraction_non_alphanumeric': 0.18679245283018867, 'fraction_numerical': 0.0037735849056603774, 'mean_word_length': 2.4336569579288025, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '5444965', 'n_tokens_mistral': 353, 'n_tokens_neox': 338, 'n_words': 67}