<commit_before>    <script>
    $(document).ready(function() {
      $("#blockCreditTable").tablesorter({
        sortList: [[1,0]],
        textExtraction: function(node) {
          var attr = $(node).attr('data-sort-value');
          if (typeof attr !== 'undefined' && attr !== false) {
            return attr;
          }
          return $(node).text(); 
        } 
      });
    });
    </script>
    {% if credits %}
    <div class="col-lg-12">
      <div class="bs-example table-responsive">
        <table class="table table-striped table-hover tablesorter" id="blockCreditTable">
          <thead>
            <tr>
              <th>ID</th>
              <th>Time</th>
              <th>Dest Currency</th>
              <th>Mined</th>
              <th>Donation + Fee Amt (d%/f%)</th>
              <th>Total credited</th>
              <th>Status</th>
              <th>Block details</th>
            </tr>
          </thead>
          <tbody>
            {% for credit in credits %}
              <tr>
                <td>{{ "{:,}".format(credit.id) }}</td>
                <td>{{ credit.block.found_at | human_date_utc }}</td>
                <td>{{ credit.currency }}</td>
                <td title="{{ credit.mined }}">{{ credit.mined | sig_round(2) }} {{ credit.block.currency }}</td>
                <td data-sort-value="{{ credit.cut_perc }}">{{ credit.text_perc_applied }} {{ credit.block.currency }} ({{ '{:,}'.format(credit.hr_pd_perc) }}%/{{ '{:,}'.format(credit.hr_fee_perc) }}%)</td>
                <td title="{{ credit.amount }}">{{ credit.amount | sig_round(2) }} {{ credit.block.currency }}</td>
                <td>{{ credit.status }}</td>
                {# <td><a href="/block/{{ credit.block.hash }}"># {{ '{:,}'.format(credit.block.height) }}</a></td> #}
                <td><a href="/block/{{ credit.block.hash }}">{{ credit.block.currency }}# {{ '{:,}'.format(credit.block.height) }}</a></td>
              </tr>
            {% endfor %}

          </tbody>
        </table>
      </div>
    </div>
    {% else %}
    <div class="text-center"><h3>No credits for this user yet</h3></div>
    {% endif %}<commit_msg>Sort by timestamp - not human readable time :X<commit_after>    <script>
    $(document).ready(function() {
      $("#blockCreditTable").tablesorter({
        sortList: [[1,0]],
        textExtraction: function(node) {
          var attr = $(node).attr('data-sort-value');
          if (typeof attr !== 'undefined' && attr !== false) {
            return attr;
          }
          return $(node).text(); 
        } 
      });
    });
    </script>
    {% if credits %}
    <div class="col-lg-12">
      <div class="bs-example table-responsive">
        <table class="table table-striped table-hover tablesorter" id="blockCreditTable">
          <thead>
            <tr>
              <th>ID</th>
              <th>Time</th>
              <th>Dest Currency</th>
              <th>Mined</th>
              <th>Donation + Fee Amt (d%/f%)</th>
              <th>Total credited</th>
              <th>Status</th>
              <th>Block details</th>
            </tr>
          </thead>
          <tbody>
            {% for credit in credits %}
              <tr>
                <td>{{ "{:,}".format(credit.id) }}</td>
                <td data-sort-value="{{ credit.block.found_at }}">{{ credit.block.found_at | human_date_utc }}</td>
                <td>{{ credit.currency }}</td>
                <td title="{{ credit.mined }}">{{ credit.mined | sig_round(2) }} {{ credit.block.currency }}</td>
                <td data-sort-value="{{ credit.cut_perc }}">{{ credit.text_perc_applied }} {{ credit.block.currency }} ({{ '{:,}'.format(credit.hr_pd_perc) }}%/{{ '{:,}'.format(credit.hr_fee_perc) }}%)</td>
                <td title="{{ credit.amount }}">{{ credit.amount | sig_round(2) }} {{ credit.block.currency }}</td>
                <td>{{ credit.status }}</td>
                {# <td><a href="/block/{{ credit.block.hash }}"># {{ '{:,}'.format(credit.block.height) }}</a></td> #}
                <td><a href="/block/{{ credit.block.hash }}">{{ credit.block.currency }}# {{ '{:,}'.format(credit.block.height) }}</a></td>
              </tr>
            {% endfor %}

          </tbody>
        </table>
      </div>
    </div>
    {% else %}
    <div class="text-center"><h3>No credits for this user yet</h3></div>
    {% endif %}
{'fraction_non_alphanumeric': 0.21205204291257704, 'fraction_numerical': 0.0036521342159324356, 'mean_word_length': 1.789306174411203, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 119, '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': '4483676', 'n_tokens_mistral': 1435, 'n_tokens_neox': 1344, 'n_words': 249}