<commit_before><table class="table">
  <thead>
    <tr>
      {{#each columns as |column|}}
        {{component column.headerComponent
          table=table
          column=column
          classNames=column.headerClassNames
          onColumnWidthChange=(action 'columnWidthChanged')}}
      {{/each}}
    </tr>
  </thead>

  <tbody>
    {{! TODO: render diff template instead of this if }}
    {{#if table.collapsable}}
      {{#each table.content as |rowGroup|}}
        <tr class="table-row {{mergedRowClasses}} collapsable {{if (eq rowGroup.isCollapsed false) 'is-expanded' 'is-collapsed'}} {{if rowGroup.loading 'is-loading'}}" {{action 'toggleRowCollapse' rowGroup}}>

          {{#if rowGroup.label}}
            <td colspan={{columns.length}} class="table-cell">
              {{rowGroup.label}}
            </td>
          {{else}}
            {{yield rowGroup}}
          {{/if}}
        </tr>
        {{#each (get rowGroup rowGroupDataName) as |childRow|}}
          <tr class="table-row {{if rowGroup.isCollapsed 'is-collapsed'}}">
            {{yield childRow}}
          </tr>
        {{else}}
          <tr class="is-collapsed">
            {{yield}}
          </tr>
        {{/each}}
      {{/each}}
    {{else}}<commit_msg>Refactor an each/else to an if/each/else to work around an Ember bug<commit_after><table class="table">
  <thead>
    <tr>
      {{#each columns as |column|}}
        {{component column.headerComponent
          table=table
          column=column
          classNames=column.headerClassNames
          onColumnWidthChange=(action 'columnWidthChanged')}}
      {{/each}}
    </tr>
  </thead>

  <tbody>
    {{! TODO: render diff template instead of this if }}
    {{#if table.collapsable}}
      {{#each table.content as |rowGroup|}}
        <tr class="table-row {{mergedRowClasses}} collapsable {{if (eq rowGroup.isCollapsed false) 'is-expanded' 'is-collapsed'}} {{if rowGroup.loading 'is-loading'}}" {{action 'toggleRowCollapse' rowGroup}}>

          {{#if rowGroup.label}}
            <td colspan={{columns.length}} class="table-cell">
              {{rowGroup.label}}
            </td>
          {{else}}
            {{yield rowGroup}}
          {{/if}}
        </tr>
        {{#if (get rowGroup rowGroupDataName)}}
          {{#each (get rowGroup rowGroupDataName) as |childRow|}}
            <tr class="table-row {{if rowGroup.isCollapsed 'is-collapsed'}}">
              {{yield childRow}}
            </tr>
          {{/each}}
        {{else}}
          <tr class="is-collapsed">
            {{yield}}
          </tr>
        {{/if}}
      {{/each}}
    {{else}}
{'fraction_non_alphanumeric': 0.16341370072713357, 'fraction_numerical': 0.0, 'mean_word_length': 2.1156138259833135, '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': '3007380', 'n_tokens_mistral': 788, 'n_tokens_neox': 771, 'n_words': 181}