<commit_before>{% load i18n viewflow %}

<ul class="step-tabs">
  {% for task in tasks %}
  {% flowurl task user=request.user as task_url %}
  <li class="step-title{% if task == activation.task %} is-active{% endif %}">
    <a
      href="{{ task_url }}"
      {% if task == activation.task %} aria-selected="true"{% endif %}
    >
      {% if task.finished %}
      <i class="fa fa-check-circle" aria-hidden="true"></i>
      {% elif task.created %}
      <i class="fa fa-pause-circle" aria-hidden="true"></i>
      {% endif %}
      {{ task.flow_task }}
    </a>
  </li>
  {% endfor %}
</ul><commit_msg>Add warning icon for failed tasks<commit_after>{% load i18n viewflow %}

<ul class="step-tabs">
  {% for task in tasks %}
  {% flowurl task user=request.user as task_url %}
  <li class="step-title{% if task == activation.task %} is-active{% endif %}">
    <a
      href="{{ task_url }}"
      {% if task == activation.task %} aria-selected="true"{% endif %}
    >
      {% if task.status == 'ERROR' %}
      <i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
      {% elif task.finished %}
      <i class="fa fa-check-circle" aria-hidden="true"></i>
      {% elif task.created %}
      <i class="fa fa-pause-circle" aria-hidden="true"></i>
      {% endif %}
      {{ task.flow_task }}
    </a>
  </li>
  {% endfor %}
</ul>
{'fraction_non_alphanumeric': 0.2040358744394619, 'fraction_numerical': 0.0029895366218236174, 'mean_word_length': 2.7298050139275767, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '5561618', 'n_tokens_mistral': 495, 'n_tokens_neox': 440, 'n_words': 107}