<commit_before><tr class="group">
  <td>{{#view Species.ResultToggleButton}}{{/view}}</td>
  <td>{{event}}</td>
  <td>DocumentType</td>
  <td>{{documents.length}}</td>
</tr>
{{#if documents.length}}
  <tr class="table-row">
    <td colspan="4">
      <div class="inner-table-container">
        <div class="header-container">
          <table class="table-header">
            <thead>
              <tr>
                <th class="event-col">EVENT</th>
                <th class="event-date-col">EVENT DATE</th>
                <th class="title-col">TITLE</th>
                <th class="language-col">LANGUAGE</th>
                <th class="countries-col">No. of COUNTRIES</th>
                <th class="taxon-col">TAXON NAME</th>
                <th class="download-col">
                  <i class="fa fa-download"></i>
                  <input type="checkbox">
                </th>
              </tr>
            </thead>
          </table>
        </div>
        <div class="body-container">
          <table class="table-body">
            <thead>
              <tr>
                <th class="event-col"></th>
                <th class="event-date-col"></th>
                <th class="title-col"></th>
                <th class="language-col"></th>
                <th class="countries-col"></th>
                <th class="taxon-col"></th>
                <th class="download-col"></th>
              </tr>
            </thead>
            <tbody>
              {{#each doc in documents}}
                <tr>
                  <td class="event-col">{{doc.event_name}}</td>
                  <td class='event-date-col'>{{doc.event_date}}</td>
                  <td class='title-col'>
                    <a href='#'>
                      {{doc.title}}
                      <i class="fa fa-file-pdf-o"></i>
                    </a>
                  </td>
                  <td class='language-col'>{{doc.language}}</td>
                  <td class='countries-col has-tooltip'>{{documents-tooltip data=doc.geo_entity_names type='countries'}}</td>
                  <td class='taxon-col has-tooltip'>{{documents-tooltip data=doc.taxon_names type='taxa'}}</td>
                  <td class='download-col'><input type="checkbox"></td>
                </tr>
              {{/each}}
            </tbody>
          </table>
        </div>
      </div>
    </td>
  </tr>
{{/if}}
<commit_msg>Added document download clicking on the title<commit_after><tr class="group">
  <td>{{#view Species.ResultToggleButton}}{{/view}}</td>
  <td>{{event}}</td>
  <td>DocumentType</td>
  <td>{{documents.length}}</td>
</tr>
{{#if documents.length}}
  <tr class="table-row">
    <td colspan="4">
      <div class="inner-table-container">
        <div class="header-container">
          <table class="table-header">
            <thead>
              <tr>
                <th class="event-col">EVENT</th>
                <th class="event-date-col">EVENT DATE</th>
                <th class="title-col">TITLE</th>
                <th class="language-col">LANGUAGE</th>
                <th class="countries-col">No. of COUNTRIES</th>
                <th class="taxon-col">TAXON NAME</th>
                <th class="download-col">
                  <i class="fa fa-download"></i>
                  <input type="checkbox">
                </th>
              </tr>
            </thead>
          </table>
        </div>
        <div class="body-container">
          <table class="table-body">
            <thead>
              <tr>
                <th class="event-col"></th>
                <th class="event-date-col"></th>
                <th class="title-col"></th>
                <th class="language-col"></th>
                <th class="countries-col"></th>
                <th class="taxon-col"></th>
                <th class="download-col"></th>
              </tr>
            </thead>
            <tbody>
              {{#each doc in documents}}
                <tr>
                  <td class="event-col">{{doc.event_name}}</td>
                  <td class='event-date-col'>{{doc.event_date}}</td>
                  <td class='title-col'>
                    <a class="legal-links" href="/api/v1/documents/{{unbound doc.id}}">{{doc.title}}</a>
                    <i class="fa fa-file-pdf-o"></i>
                  </td>
                  <td class='language-col'>{{doc.language}}</td>
                  <td class='countries-col has-tooltip'>{{documents-tooltip data=doc.geo_entity_names type='countries'}}</td>
                  <td class='taxon-col has-tooltip'>{{documents-tooltip data=doc.taxon_names type='taxa'}}</td>
                  <td class='download-col'><input type="checkbox"></td>
                </tr>
              {{/each}}
            </tbody>
          </table>
        </div>
      </div>
    </td>
  </tr>
{{/if}}

{'fraction_non_alphanumeric': 0.18407445708376421, 'fraction_numerical': 0.0006204756980351603, 'mean_word_length': 1.441191317516406, 'pattern_counts': {'":': 0, '<': 175, '<?xml version=': 0, '>': 175, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 9, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7490793', 'n_tokens_mistral': 1491, 'n_tokens_neox': 1380, 'n_words': 238}