<commit_before>{% for res, prev in results %}
  <td class="{% if res.hashes %}success{% elif res %}failure{% else %}missing{% endif %}">
    {% if prev and res.hashes != prev.hashes %}
    <a href="{% url 'compare-view' res.id prev.id %}"><i class="fa fa-search"></i></a>
    {% endif %}
  </td>
{% endfor %}
<!-- vim: set ft=htmldjango ts=2 sw=2 et tw=160 : --><commit_msg>frontend: fix the compare link when the current version is missing<commit_after>{% for res, prev in results %}
  <td class="{% if res.hashes %}success{% elif res %}failure{% else %}missing{% endif %}">
    {% if res and prev and res.hashes != prev.hashes %}
    <a href="{% url 'compare-view' res.id prev.id %}"><i class="fa fa-search"></i></a>
    {% endif %}
  </td>
{% endfor %}
<!-- vim: set ft=htmldjango ts=2 sw=2 et tw=160 : -->
{'fraction_non_alphanumeric': 0.21878862793572312, 'fraction_numerical': 0.012360939431396786, 'mean_word_length': 3.5762711864406778, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '2970388', 'n_tokens_mistral': 319, 'n_tokens_neox': 274, 'n_words': 94}