<commit_before><li class="bot-information-box white-box">
    <div class="image overflow-hidden">
        <img src="{{avatar_url}}" class="avatar" />
        <div class="details">
            <div class="name">{{name}}</div>
            {{#if is_active}}
            <div class="edit-bot-buttons">
                <button type="submit" class="btn open_edit_bot_form" data-sidebar-form="edit-bot" title="{{t 'Edit bot' }}" data-email="{{email}}">
                    <i class="icon-vector-pencil blue"></i>
                </button>
                <a type="submit" download="{{zuliprc}}" class="btn download_bot_zuliprc" title="{{t 'Download zuliprc' }}" data-email="{{email}}">
                    <i class="icon-vector-download-alt sea-green"></i>
                </a>
                <button type="submit" class="btn delete_bot" title="{{t 'Delete bot' }}" data-user-id="{{user_id}}">
                    <i class="icon-vector-trash danger-red"></i>
                </button>
            </div>
            {{/if}}
        </div>
    </div>
    <div class="bot_info" data-user-id="{{user_id}}">
        <div class="email">
            <div class="field">{{t "Username" }}</div>
            <div class="value">{{email}}</div>
        </div>
        <div class="type">
            <div class="field">{{t "Bot type" }}</div>
            <div class="value">{{type}}</div>
        </div>
        {{#if is_active}}
        <div class="api_key">
            <span class="field">{{t "API key" }}</span>
            <span class="api-key-value-and-button no-select">
                <!-- have the `.text-select` in `.no-select` so that the value doesn't have trailing whitespace. -->
                <span class="value text-select">{{api_key}}</span>
                <button type="submit" class="button no-style btn-secondary regenerate_bot_api_key" title="{{t 'Generate new API key' }}" data-user-id="{{user_id}}">
                    <i class="icon-vector-refresh"></i>
                </button>
            </span>
            <div class="api_key_error text-error"></div>
        </div>
        <div id="bot_delete_error{{id_suffix}}" class="alert alert-error hide"></div>
        {{else}}
        <button class="button round btn-warning reactivate_bot" title="{{t 'Reactivate bot' }}" data-email="{{email}}">{{t "Reactivate bot" }}</button>
        {{/if}}
    </div>
</li><commit_msg>bot settings: Fix reactivation feature.<commit_after><li class="bot-information-box white-box">
    <div class="image overflow-hidden">
        <img src="{{avatar_url}}" class="avatar" />
        <div class="details">
            <div class="name">{{name}}</div>
            {{#if is_active}}
            <div class="edit-bot-buttons">
                <button type="submit" class="btn open_edit_bot_form" data-sidebar-form="edit-bot" title="{{t 'Edit bot' }}" data-email="{{email}}">
                    <i class="icon-vector-pencil blue"></i>
                </button>
                <a type="submit" download="{{zuliprc}}" class="btn download_bot_zuliprc" title="{{t 'Download zuliprc' }}" data-email="{{email}}">
                    <i class="icon-vector-download-alt sea-green"></i>
                </a>
                <button type="submit" class="btn delete_bot" title="{{t 'Delete bot' }}" data-user-id="{{user_id}}">
                    <i class="icon-vector-trash danger-red"></i>
                </button>
            </div>
            {{/if}}
        </div>
    </div>
    <div class="bot_info" data-user-id="{{user_id}}">
        <div class="email">
            <div class="field">{{t "Username" }}</div>
            <div class="value">{{email}}</div>
        </div>
        <div class="type">
            <div class="field">{{t "Bot type" }}</div>
            <div class="value">{{type}}</div>
        </div>
        {{#if is_active}}
        <div class="api_key">
            <span class="field">{{t "API key" }}</span>
            <span class="api-key-value-and-button no-select">
                <!-- have the `.text-select` in `.no-select` so that the value doesn't have trailing whitespace. -->
                <span class="value text-select">{{api_key}}</span>
                <button type="submit" class="button no-style btn-secondary regenerate_bot_api_key" title="{{t 'Generate new API key' }}" data-user-id="{{user_id}}">
                    <i class="icon-vector-refresh"></i>
                </button>
            </span>
            <div class="api_key_error text-error"></div>
        </div>
        <div id="bot_delete_error{{id_suffix}}" class="alert alert-error hide"></div>
        {{else}}
        <button class="button round btn-warning reactivate_bot" title="{{t 'Reactivate bot' }}" data-user-id="{{user_id}}">{{t "Reactivate bot" }}</button>
        {{/if}}
    </div>
</li>
{'fraction_non_alphanumeric': 0.19628702544847726, 'fraction_numerical': 0.0, 'mean_word_length': 2.140144073346431, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 0, '>': 115, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6428178', 'n_tokens_mistral': 1459, 'n_tokens_neox': 1419, 'n_words': 303}