<commit_before><div class="container-fluid">
  <h1 class="page-header">Rescue</h1>

  <div class="row">
    <div class="col-md-8">
      <dl class="dl-horizontal row">
        <dt class="col-sm-2">Status:</dt>
        <dd class="col-sm-10">
          {{#if codeRed}}
            <span class="text-danger">CODE RED</span>
          {{elseif open}}
            Open
            {{#if active}}
              and active
            {{else}}
              and inactive
            {{/if}}
          {{else}}
            Closed
          {{/if}}
        </dd>

        <dt class="col-sm-2">Platform:</dt>
        <dd class="col-sm-10">{{ platform }}</dd>

        <dt class="col-sm-2">System:</dt>
        <dd class="col-sm-10">{{ system }}</dd>

        {{#if quotes}}
          <dt class="col-sm-2">Quotes:</dt>
          <dd class="col-sm-10">{{ quotes }}</dd>
        {{/if}}

        <dt class="col-sm-12">Notes:</dt>
        <dd class="col-sm-12">{{ notes }}</dd>
      </dl>
    </div>

    <div class="col-md-4">
      <div class="card">
        <div class="card-header">
          <strong>Rats</strong>
        </div>

        <ul class="list-group list-group-flush">
          {{#each rats}}
            <li class="list-group-item">
              {{ CMDRname }}

              {{#if firstLimpet}}<commit_msg>Fix show rescue template status logic<commit_after><div class="container-fluid">
  <h1 class="page-header">Rescue</h1>

  <div class="row">
    <div class="col-md-8">
      <dl class="dl-horizontal row">
        <dt class="col-sm-2">Status:</dt>
        <dd class="col-sm-10">
          {{#if codeRed}}
            <span class="text-danger">CODE RED</span>
          {{/if}}
          {{#if open}}
            Open
            {{#if active}}
              and active
            {{else}}
              and inactive
            {{/if}}
        {{else}}
          Closed
        {{/if}}
        </dd>

        <dt class="col-sm-2">Platform:</dt>
        <dd class="col-sm-10">{{ platform }}</dd>

        <dt class="col-sm-2">System:</dt>
        <dd class="col-sm-10">{{ system }}</dd>

        {{#if quotes}}
          <dt class="col-sm-2">Quotes:</dt>
          <dd class="col-sm-10">{{ quotes }}</dd>
        {{/if}}

        <dt class="col-sm-12">Notes:</dt>
        <dd class="col-sm-12">{{ notes }}</dd>
      </dl>
    </div>

    <div class="col-md-4">
      <div class="card">
        <div class="card-header">
          <strong>Rats</strong>
        </div>

        <ul class="list-group list-group-flush">
          {{#each rats}}
            <li class="list-group-item">
              {{ CMDRname }}

              {{#if firstLimpet}}
{'fraction_non_alphanumeric': 0.20474219044034625, 'fraction_numerical': 0.015054572826496047, 'mean_word_length': 1.5755813953488371, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '5072310', 'n_tokens_mistral': 903, 'n_tokens_neox': 859, 'n_words': 169}