<commit_before>{{#if showHeader}}
  {{#if customHeader}}
    {{component customHeader isSelected=isAllSelected selected=(action "selectAll") deselected=(action "deselectAll")}}
  {{else}}
    <thead>
      <tr class="contextual-table-header-row">
        {{yield
          (hash
            column=(component "dt-column-header")
            filterableColumn=(component "dt-filterable-column-header")
            filterAndSortableColumn=(component "dt-filterable-column-header")
            selectionColumn=(component (if singleSelection "dt-column-header" "dt-selection-column-header") isSelected=isAllSelected selected=(action "selectAll") deselected=(action "deselectAll"))
            sortableColumn=(component "dt-sortable-column-header")
            extraRow=(component "empty-component")
          )
        }}
      </tr>
    </thead>
  {{/if}}
{{/if}}

<tbody>
  {{#each wrappedData as |wrappedRow index|}}
    {{! template-lint-disable no-invalid-interactive }}
    <tr
      id={{concat rowIdPrefixWithTableElementId "-" index}}
      class={{if wrappedRow.isSelected "contextual-table-selected-row contextual-table-row" "contextual-table-row" }}
      ondblclick={{action "handleRowDoubleClick" wrappedRow}}
      onclick={{action "handleRowSingleClick" wrappedRow}}
    >
      {{! template-lint-enable no-invalid-interactive }}
      {{yield
        (hash
          column=(component "dt-column-cell" row=wrappedRow.row rowIndex=index)
          filterableColumn=(component "dt-column-cell" row=wrappedRow.row rowIndex=index)
          filterAndSortableColumn=(component "dt-column-cell" row=wrappedRow.row rowIndex=index)
          selectionColumn=(component "dt-selection-column" row=wrappedRow.row rowIndex=index isRowSelected=wrappedRow.isSelected rowSelected=(action "selected" wrappedRow) rowDeselected=(action "deselected" wrappedRow))
          sortableColumn =(component "dt-column-cell" row=wrappedRow.row rowIndex=index)
          extraRow=(component "empty-component")
          row=wrappedRow.row
          rowIndex=index
        )
      }}
    </tr>
    {{yield
      (hash
        column=(component "empty-component")
        filterableColumn=(component "empty-component")
        filterAndSortableColumn=(component "empty-component")
        selectionColumn=(component "empty-component")
        sortableColumn=(component "empty-component")
        extraRow=(component "row-component" row=wrappedRow.row rowIndex=index isRowSelected=wrappedRow.isSelected)
        rowIndex=index
        row=wrappedRow.row
      )
    }}
  {{/each}}
</tbody>

{{#if showFooter}}
  {{#if customFooter}}
    {{component customFooter isSelected=isAllSelected selected=(action "selectAll") deselected=(action "deselectAll")}}
  {{else}}
    <tfoot>
      <tr class="contextual-table-footer-row">
        {{yield
          (hash
            column=(component "dt-column-footer")
            filterableColumn=(component "dt-filterable-column-footer")
            filterAndSortableColumn=(component "dt-filterable-column-footer")
            selectionColumn=(component (if singleSelection "dt-column-footer" "dt-selection-column-footer") isSelected=isAllSelected selected=(action "selectAll") deselected=(action "deselectAll"))
            sortableColumn =(component "dt-sortable-column-footer")
            extraRow=(component "empty-component")
          )
        }}
      </tr>
    </tfoot>
  {{/if}}
{{/if}}<commit_msg>fix: yield correct component<commit_after>{{#if showHeader}}
  {{#if customHeader}}
    {{component customHeader isSelected=isAllSelected selected=(action "selectAll") deselected=(action "deselectAll")}}
  {{else}}
    <thead>
      <tr class="contextual-table-header-row">
        {{yield
          (hash
            column=(component "dt-column-header")
            filterableColumn=(component "dt-filterable-column-header")
            filterAndSortableColumn=(component "dt-filter-and-sortable-column-header")
            selectionColumn=(component (if singleSelection "dt-column-header" "dt-selection-column-header") isSelected=isAllSelected selected=(action "selectAll") deselected=(action "deselectAll"))
            sortableColumn=(component "dt-sortable-column-header")
            extraRow=(component "empty-component")
          )
        }}
      </tr>
    </thead>
  {{/if}}
{{/if}}

<tbody>
  {{#each wrappedData as |wrappedRow index|}}
    {{! template-lint-disable no-invalid-interactive }}
    <tr
      id={{concat rowIdPrefixWithTableElementId "-" index}}
      class={{if wrappedRow.isSelected "contextual-table-selected-row contextual-table-row" "contextual-table-row" }}
      ondblclick={{action "handleRowDoubleClick" wrappedRow}}
      onclick={{action "handleRowSingleClick" wrappedRow}}
    >
      {{! template-lint-enable no-invalid-interactive }}
      {{yield
        (hash
          column=(component "dt-column-cell" row=wrappedRow.row rowIndex=index)
          filterableColumn=(component "dt-column-cell" row=wrappedRow.row rowIndex=index)
          filterAndSortableColumn=(component "dt-column-cell" row=wrappedRow.row rowIndex=index)
          selectionColumn=(component "dt-selection-column" row=wrappedRow.row rowIndex=index isRowSelected=wrappedRow.isSelected rowSelected=(action "selected" wrappedRow) rowDeselected=(action "deselected" wrappedRow))
          sortableColumn =(component "dt-column-cell" row=wrappedRow.row rowIndex=index)
          extraRow=(component "empty-component")
          row=wrappedRow.row
          rowIndex=index
        )
      }}
    </tr>
    {{yield
      (hash
        column=(component "empty-component")
        filterableColumn=(component "empty-component")
        filterAndSortableColumn=(component "empty-component")
        selectionColumn=(component "empty-component")
        sortableColumn=(component "empty-component")
        extraRow=(component "row-component" row=wrappedRow.row rowIndex=index isRowSelected=wrappedRow.isSelected)
        rowIndex=index
        row=wrappedRow.row
      )
    }}
  {{/each}}
</tbody>

{{#if showFooter}}
  {{#if customFooter}}
    {{component customFooter isSelected=isAllSelected selected=(action "selectAll") deselected=(action "deselectAll")}}
  {{else}}
    <tfoot>
      <tr class="contextual-table-footer-row">
        {{yield
          (hash
            column=(component "dt-column-footer")
            filterableColumn=(component "dt-filterable-column-footer")
            filterAndSortableColumn=(component "dt-filter-and-sortable-column-footer")
            selectionColumn=(component (if singleSelection "dt-column-footer" "dt-selection-column-footer") isSelected=isAllSelected selected=(action "selectAll") deselected=(action "deselectAll"))
            sortableColumn =(component "dt-sortable-column-footer")
            extraRow=(component "empty-component")
          )
        }}
      </tr>
    </tfoot>
  {{/if}}
{{/if}}
{'fraction_non_alphanumeric': 0.1327818894209839, 'fraction_numerical': 0.0, 'mean_word_length': 3.3237139272271015, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '6486640', 'n_tokens_mistral': 1933, 'n_tokens_neox': 1914, 'n_words': 330}