<commit_before>{{#if data.isStillRunning}}
    {{#ifNotEqual data.killStatus 'kill9'}}
        {{#if data.isStillRunning}}
            {{#if data.isInCleanup}} 
                <div class="alert alert-warning" role="alert">Request is bouncing. This task will be killed once all replacement tasks are healthy. You may still force kill this task.</div>
            {{/if}}
            {{#unless data.isInCleanup}} 
                {{#if data.isCleaning}}
                    <div class="alert alert-warning" role="alert"> 
                        Task is in cleaning. You may still force kill this task (kill -9).
                    </div>
                {{/if}}
            {{/unless}}
        {{/if}}
    {{/ifNotEqual}}
    {{#ifEqual data.killStatus 'kill9'}}
        <div class="alert alert-warning" role="alert">Request is being force killed (kill -9)</div>
    {{/ifEqual}}
{{/if}}

{{#if data.decommissioning}}
    {{#if data.isStillRunning}}
        <div class="alert alert-warning" role="alert">This task is running on a decommissioning host and will be replaced soon</div>
    {{/if}}
{{/if}}

{{! Part of taskBase }}
<header class='detail-header'>
    <div class="row">
        {{! Left side }}
        <div class="col-md-12">
            {{#with data.task.taskRequest}}
                <h5>
                    Request
                    <a href="{{appRoot}}/request/{{ request.id }}">
                        {{ request.id }}
                    </a>
                </h5>
            {{/with}}
        </div>
    </div>
    <div class="row">
        <div class="col-md-7">
            <h3><commit_msg>refactor conditional statements and update kill message wording<commit_after>{{#if data.isStillRunning}}
    {{#ifNotEqual data.killStatus 'kill9'}}
            {{#if data.isInCleanup}} 
                <div class="alert alert-warning" role="alert">Request is bouncing. This task will be killed once all replacement tasks are healthy. You may still force kill this task.</div>
            {{else}} 
                {{#if data.isCleaning}}
                    <div class="alert alert-warning" role="alert"> 
                        Task is in cleaning. You may still force kill this task.
                    </div>
                {{/if}}
            {{/if}}
    {{/ifNotEqual}}
    {{#ifEqual data.killStatus 'kill9'}}
        <div class="alert alert-warning" role="alert">Request is being force killed.</div>
    {{/ifEqual}}
{{/if}}

{{#if data.decommissioning}}
    {{#if data.isStillRunning}}
        <div class="alert alert-warning" role="alert">This task is running on a decommissioning host and will be replaced soon</div>
    {{/if}}
{{/if}}

{{! Part of taskBase }}
<header class='detail-header'>
    <div class="row">
        {{! Left side }}
        <div class="col-md-12">
            {{#with data.task.taskRequest}}
                <h5>
                    Request
                    <a href="{{appRoot}}/request/{{ request.id }}">
                        {{ request.id }}
                    </a>
                </h5>
            {{/with}}
        </div>
    </div>
    <div class="row">
        <div class="col-md-7">
            <h3>
{'fraction_non_alphanumeric': 0.15304512464499842, 'fraction_numerical': 0.005680025244556642, 'mean_word_length': 1.7280550774526677, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '932431', 'n_tokens_mistral': 929, 'n_tokens_neox': 877, 'n_words': 249}