<commit_before>{% extends "pyfarm/user_interface/layout.html" %}
{% block title %}Logs in Task {{ task.id }} {% endblock %}
{% block jobs_nb_class %}active{% endblock %}
{% block additional_styles %}
{% endblock %}
{% block content %}
<h1>Logs in Task {{ task.id }} </h1>
<h2>(Frame {{ task.frame }} from job <a href="{{ url_for('single_job_ui', job_id=task.job.id) }}">{{ task.job.title }}</a>)</h2>

<ul>
{% for attempt, logs in attempts.items() %}
  <li> Attempt {{ attempt }}
    <ul>
    {% for log in logs %}
      <li><span class="timestamp">{{ log.log.created_on.isoformat() }}</span> on {{ log.log.agent.hostname }}: <a href="/api/v1/jobs/{{ task.job.id }}/tasks/{{ task.id }}/attempts/{{ attempt }}/logs/{{ log.log.identifier }}/logfile">{{ log.log.identifier }}</a></li>
    {% endfor %}
    </ul>
  </li>
{%endfor%}
</ul>
{% endblock %}<commit_msg>Make agents in tasklogs view clickable<commit_after>{% extends "pyfarm/user_interface/layout.html" %}
{% block title %}Logs in Task {{ task.id }} {% endblock %}
{% block jobs_nb_class %}active{% endblock %}
{% block additional_styles %}
{% endblock %}
{% block content %}
<h1>Logs in Task {{ task.id }} </h1>
<h2>(Frame {{ task.frame }} from job <a href="{{ url_for('single_job_ui', job_id=task.job.id) }}">{{ task.job.title }}</a>)</h2>

<ul>
{% for attempt, logs in attempts.items() %}
  <li> Attempt {{ attempt }}
    <ul>
    {% for log in logs %}
      <li><span class="timestamp">{{ log.log.created_on.isoformat() }}</span> on <a href="{{ url_for('single_agent_ui', agent_id=log.log.agent.id) }}">{{ log.log.agent.hostname }}</a>: <a href="/api/v1/jobs/{{ task.job.id }}/tasks/{{ task.id }}/attempts/{{ attempt }}/logs/{{ log.log.identifier }}/logfile">{{ log.log.identifier }}</a></li>
    {% endfor %}
    </ul>
  </li>
{%endfor%}
</ul>
{% endblock %}
{'fraction_non_alphanumeric': 0.24463991203958219, 'fraction_numerical': 0.005497526113249038, 'mean_word_length': 4.055555555555555, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '1889251', 'n_tokens_mistral': 712, 'n_tokens_neox': 659, 'n_words': 154}