<commit_before><tr class="main-row">
  <td class="row-check" rowspan={{if showLabelRow 2 1}}>
    {{check-box nodeId=model.id}}
  </td>
  <td rowspan={{if showLabelRow 2 1}}>
    {{#if canExpand}}<i role="button" {{action "toggle"}} class="icon icon-play eased text-small text-muted {{if expanded 'icon-rotate-90'}}"></i>{{/if}}
  </td>
  <td data-title="{{dt.state}}" class="state">
    {{badge-state model=model}}
  </td>
  <td data-title="{{dt.name}}" class="clip">
    <a href="{{href-to "service" model.id}}">{{model.displayName}}</a>
  </td>
  <td data-title="{{dt.ip}}">
    {{model.displayPorts}}
  </td>
  <td data-title="{{dt.image}}">
    {{model.displayImage}}
  </td>
{{!--   {{#if showInstanceCount}}
    <td data-title="{{dt.instanceCount}}">
      {{#if subMatches}}
        {{#if (lt (get submatches model.id) model.instances.length)}}
          <b>{{get subMatches model.id}}/{{model.instances.length}}</b>
        {{else}}
          <b>{{model.instances.length}}</b>
        {{/if}}
      {{else}}
        {{model.instances.length}}
      {{/if}}
    </td>
  {{/if}} --}}
  <td data-title="{{dt.instanceState}}">
     <div class="col span-3 text-right">
       {{#if showInstanceCount}}
         {{#if subMatches}}
          {{#if (lt (get submatches model.id) model.instances.length)}}
            <b>{{get subMatches model.id}}/{{model.instances.length}}</b>
          {{else}}
            <b>{{model.instances.length}}</b>
          {{/if}}
        {{else}}
          <p class="m-0">{{model.instances.length}}</p>
        {{/if}}
      {{/if}}
    </div>
    <div class="col span-9 pt-5">
      {{#if canExpand}}
        {{#if model.instances.length}}
          {{progress-bar-multi
            labelKey="state"
            valueKey="count"
            values=model.instanceStates.byColor
            tooltipValues=model.instanceStates.byName
          }}
        {{else}}
          <span class="text-muted">{{t 'generic.na'}}</span>
        {{/if}}
      {{else}}
        <span class="text-muted">{{t 'stacksPage.table.standalone'}}</span>
      {{/if}}
    </div>
  </td>
  <td data-title="{{dt.actions}}" class="actions">
    {{action-menu model=model}}
  </td>
</tr>

{{#if showLabelRow}}
  <tr class="sub-row hide">{{! make the alternating color match }}</tr>
  <tr class="sub-row no-top">
    <td colspan="{{sub fullColspan 3}}">
      {{#each model.displayUserLabelStrings as |label|}}
        <span class="tag-xs bg-info">{{label}}</span>
      {{/each}}
    </td>
    <td>{{! actions}}</td>
  </tr>
{{/if}}

{{partial "error-sub-row"}}

{{#if canExpand}}
  <tr class="sub-row hide">{{! make the alternating color match }}</tr>
  <tr class="sub-row {{unless expanded 'hide'}}">
    <td colspan="2">{{! checkbox and expand}}</td>
    <td colspan="{{sub fullColspan 3}}">
      {{#if expanded}}
        {{container-table
          body=model.instances
          stickyHeader=false
          bulkActions=false
          search=false
          searchText=searchText
          subRow=true
          showHost=true
        }}
      {{/if}}
    </td>
    <td>{{! actions}}</td>
  </tr>

  {{#if expanded}}
    <tr class="sub-row hide">{{! make the alternating color match }}</tr>
    <tr class="separator-row">
      <td colspan="{{fullColspan}}"></td>
    </tr>
  {{/if}}
{{/if}}
<commit_msg>just a lil smaller<commit_after><tr class="main-row">
  <td class="row-check" rowspan={{if showLabelRow 2 1}}>
    {{check-box nodeId=model.id}}
  </td>
  <td rowspan={{if showLabelRow 2 1}}>
    {{#if canExpand}}<i role="button" {{action "toggle"}} class="icon icon-play eased text-small text-muted {{if expanded 'icon-rotate-90'}}"></i>{{/if}}
  </td>
  <td data-title="{{dt.state}}" class="state">
    {{badge-state model=model}}
  </td>
  <td data-title="{{dt.name}}" class="clip">
    <a href="{{href-to "service" model.id}}">{{model.displayName}}</a>
  </td>
  <td data-title="{{dt.ip}}">
    {{model.displayPorts}}
  </td>
  <td data-title="{{dt.image}}">
    {{model.displayImage}}
  </td>
{{!--   {{#if showInstanceCount}}
    <td data-title="{{dt.instanceCount}}">
      {{#if subMatches}}
        {{#if (lt (get submatches model.id) model.instances.length)}}
          <b>{{get subMatches model.id}}/{{model.instances.length}}</b>
        {{else}}
          <b>{{model.instances.length}}</b>
        {{/if}}
      {{else}}
        {{model.instances.length}}
      {{/if}}
    </td>
  {{/if}} --}}
  <td data-title="{{dt.instanceState}}">
     <div class="col span-3 text-right">
       {{#if showInstanceCount}}
         {{#if subMatches}}
          {{#if (lt (get submatches model.id) model.instances.length)}}
            <small><b>{{get subMatches model.id}}/{{model.instances.length}}</b></small>
          {{else}}
            <small><b>{{model.instances.length}}</b></small>
          {{/if}}
        {{else}}
          <small class="m-0">{{model.instances.length}}</small>
        {{/if}}
      {{/if}}
    </div>
    <div class="col span-9 pt-5">
      {{#if canExpand}}
        {{#if model.instances.length}}
          {{progress-bar-multi
            labelKey="state"
            valueKey="count"
            values=model.instanceStates.byColor
            tooltipValues=model.instanceStates.byName
          }}
        {{else}}
          <span class="text-muted">{{t 'generic.na'}}</span>
        {{/if}}
      {{else}}
        <span class="text-muted">{{t 'stacksPage.table.standalone'}}</span>
      {{/if}}
    </div>
  </td>
  <td data-title="{{dt.actions}}" class="actions">
    {{action-menu model=model}}
  </td>
</tr>

{{#if showLabelRow}}
  <tr class="sub-row hide">{{! make the alternating color match }}</tr>
  <tr class="sub-row no-top">
    <td colspan="{{sub fullColspan 3}}">
      {{#each model.displayUserLabelStrings as |label|}}
        <span class="tag-xs bg-info">{{label}}</span>
      {{/each}}
    </td>
    <td>{{! actions}}</td>
  </tr>
{{/if}}

{{partial "error-sub-row"}}

{{#if canExpand}}
  <tr class="sub-row hide">{{! make the alternating color match }}</tr>
  <tr class="sub-row {{unless expanded 'hide'}}">
    <td colspan="2">{{! checkbox and expand}}</td>
    <td colspan="{{sub fullColspan 3}}">
      {{#if expanded}}
        {{container-table
          body=model.instances
          stickyHeader=false
          bulkActions=false
          search=false
          searchText=searchText
          subRow=true
          showHost=true
        }}
      {{/if}}
    </td>
    <td>{{! actions}}</td>
  </tr>

  {{#if expanded}}
    <tr class="sub-row hide">{{! make the alternating color match }}</tr>
    <tr class="separator-row">
      <td colspan="{{fullColspan}}"></td>
    </tr>
  {{/if}}
{{/if}}

{'fraction_non_alphanumeric': 0.22358759178780158, 'fraction_numerical': 0.003896298516409411, 'mean_word_length': 2.5424628450106157, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 0, '>': 143, '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': '1199353', 'n_tokens_mistral': 2335, 'n_tokens_neox': 2252, 'n_words': 455}