<commit_before><div {{bind-attr class="recordType :index"}}>
  {{#unless hideCreate}}
    {{#if relationshipGiven}}
      {{link-to 'Create' 'model-records.new' recordType (query-params relationship-name=relationshipName relationship-id=relationshipId)}}
    {{else}}
      {{link-to 'Create' 'model-records.new' recordType}}
    {{/if}}
  {{/unless}}

  <table>
    <tr>
      {{#each column in filteredColumns}}
        <td>{{column}}</td>
      {{/each}}
    </tr>
    {{#each record in records}}
      <tr>
        {{#each column in filteredColumns}}
        <td>
          {{#link-to 'model-records.edit' recordType record}}
            {{property-print "record" column}}
          {{/link-to}}
        </td>
        {{/each}}
      </tr>
    {{/each}}
  </table>
  {{#unless records}}
    No records!
  {{/unless}}
</div><commit_msg>Better semantic markup for table<commit_after><div {{bind-attr class="recordType :index"}}>
  {{#unless hideCreate}}
    {{#if relationshipGiven}}
      {{link-to 'Create' 'model-records.new' recordType (query-params relationship-name=relationshipName relationship-id=relationshipId)}}
    {{else}}
      {{link-to 'Create' 'model-records.new' recordType}}
    {{/if}}
  {{/unless}}

  <table>
    <thead>
      <th>
        {{#each column in filteredColumns}}
          <td>{{column}}</td>
        {{/each}}
      </th>
    </thead>
    <tbody>
      {{#each record in records}}
        <tr>
          {{#each column in filteredColumns}}
          <td>
            {{#link-to 'model-records.edit' recordType record}}
              {{property-print "record" column}}
            {{/link-to}}
          </td>
          {{/each}}
        </tr>
      {{/each}}
    </tbody>
  </table>
  {{#unless records}}
    No records!
  {{/unless}}
</div>
{'fraction_non_alphanumeric': 0.18887015177065766, 'fraction_numerical': 0.0, 'mean_word_length': 2.302411873840445, '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': '7572706', 'n_tokens_mistral': 577, 'n_tokens_neox': 551, 'n_words': 127}