<commit_before>{% extends "base.html" %}
{% load i18n %}
{% load humanize %}


{% block title %}
| {% trans "Test Runs" %}
| {{ test_run }}
{% endblock %}


{% block breadcrumbs %}
<li><a href="{% url dashboard_app.views.bundle_stream_list %}">{% trans "Bundle Streams" %}</a></li>
<li><a href="{{ test_run.bundle.bundle_stream.get_absolute_url }}">{{ test_run.bundle.bundle_stream }}</a></li>
<li><a href="{{ test_run.get_absolute_url }}">{{ test_run }}</a></li>
{% endblock %}


{% block sidebar %}
<dl>
  <dt>{% trans "Test Name" %}</dt>
  <dd>{{ test_run.test }}</dd>
  <dt>{% trans "OS Distribution" %}</dt>
  <dd>{{ test_run.sw_image_desc|default:"<i>Unspecified</i>" }}</dd>
  <dt>{% trans "Bundle information" %}</dt>
  <dd>{{ test_run.bundle.content_sha1 }}</dd>
  <dt>{% trans "Time check performed" %}</dt>
  <dd>{{ test_run.time_check_performed|yesno }}</dd>
  <dt>{% trans "Log analyzed on:" %}</dt>
  <dd>
  {{ test_run.analyzer_assigned_date|naturalday }}
  {{ test_run.analyzer_assigned_date|time }}
  </dd>
  <dt>{% trans "Data uploaded on:" %}</dt>
  <dd>
  {{ test_run.import_assigned_date|naturalday }}
  {{ test_run.import_assigned_date|time }}
  </dd>
</dl>
{% endblock %}


{% block content %}
{% load pagination_tags %}
<table class="data">
  <tr>
    <th>#</th>
    <th>{% trans "Test case" %}</th>
    <th>{% trans "Result" %}</th>
    <th>{% trans "Measurement" %}</th>
  </tr>

  {% autopaginate test_results 20 %}
  {% for test_result in test_results.all %}
  <tr>
    <td width="1%">{{ forloop.counter }}</td>
    <td>{{ test_result.test_case }}</td>
    <td>
      <img src="{{ MEDIA_URL }}assets/images/icon-{{ test_result.result_code }}.png" 
      alt="{{ test_result.get_result_display }}" width="16" height="16" />
      {{ test_result.get_result_display }}
    </td>
    {% if test_result.measurement %}
    <td>{{ test_result.measurement|default_if_none:"" }} {{ test_result.units }}</td>
    {% endif %}
  </tr>
</table>
 {% paginate %}
{% endblock %}
<commit_msg>Add missing {% endfor %} tag in test_run_detail.html<commit_after>{% extends "base.html" %}
{% load i18n %}
{% load humanize %}


{% block title %}
| {% trans "Test Runs" %}
| {{ test_run }}
{% endblock %}


{% block breadcrumbs %}
<li><a href="{% url dashboard_app.views.bundle_stream_list %}">{% trans "Bundle Streams" %}</a></li>
<li><a href="{{ test_run.bundle.bundle_stream.get_absolute_url }}">{{ test_run.bundle.bundle_stream }}</a></li>
<li><a href="{{ test_run.get_absolute_url }}">{{ test_run }}</a></li>
{% endblock %}


{% block sidebar %}
<dl>
  <dt>{% trans "Test Name" %}</dt>
  <dd>{{ test_run.test }}</dd>
  <dt>{% trans "OS Distribution" %}</dt>
  <dd>{{ test_run.sw_image_desc|default:"<i>Unspecified</i>" }}</dd>
  <dt>{% trans "Bundle information" %}</dt>
  <dd>{{ test_run.bundle.content_sha1 }}</dd>
  <dt>{% trans "Time check performed" %}</dt>
  <dd>{{ test_run.time_check_performed|yesno }}</dd>
  <dt>{% trans "Log analyzed on:" %}</dt>
  <dd>
  {{ test_run.analyzer_assigned_date|naturalday }}
  {{ test_run.analyzer_assigned_date|time }}
  </dd>
  <dt>{% trans "Data uploaded on:" %}</dt>
  <dd>
  {{ test_run.import_assigned_date|naturalday }}
  {{ test_run.import_assigned_date|time }}
  </dd>
</dl>
{% endblock %}


{% block content %}
{% load pagination_tags %}
<table class="data">
  <tr>
    <th>#</th>
    <th>{% trans "Test case" %}</th>
    <th>{% trans "Result" %}</th>
    <th>{% trans "Measurement" %}</th>
  </tr>

  {% autopaginate test_results 20 %}
  {% for test_result in test_results.all %}
  <tr>
    <td width="1%">{{ forloop.counter }}</td>
    <td>{{ test_result.test_case }}</td>
    <td>
      <img src="{{ MEDIA_URL }}assets/images/icon-{{ test_result.result_code }}.png" 
      alt="{{ test_result.get_result_display }}" width="16" height="16" />
      {{ test_result.get_result_display }}
    </td>
    {% if test_result.measurement %}
    <td>{{ test_result.measurement|default_if_none:"" }} {{ test_result.units }}</td>
    {% endif %}
  </tr>
  {% endfor %}
</table>
 {% paginate %}
{% endblock %}

{'fraction_non_alphanumeric': 0.22980295566502462, 'fraction_numerical': 0.0049261083743842365, 'mean_word_length': 4.06359102244389, 'pattern_counts': {'":': 0, '<': 129, '<?xml version=': 0, '>': 129, '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': '2767413', 'n_tokens_mistral': 1643, 'n_tokens_neox': 1520, 'n_words': 314}