{% extends "base.html" %} {% block title %}{{ sprint.id }} — ResearchLoop{% endblock %} {% block head %} {% if sprint.status.startswith('running') or sprint.status == 'submitted' %} {% endif %} {% endblock %} {% block content %}

Sprint {{ sprint.id }}

Study
{{ sprint.study_name }}
Status
{{ sprint.status }}
Idea
{% if sprint.idea %}
{{ sprint.idea|markdown|safe }}
{% elif sprint.loop_id and sprint.status not in ('completed', 'failed', 'cancelled') %}auto-generating idea...{% elif sprint.summary %}{{ sprint.summary[:120] }}{% if sprint.summary|length > 120 %}…{% endif %}{% else %}—{% endif %}
{% if sprint.loop_id %}
Loop
{{ sprint.loop_id }}
{% endif %}
Job ID
{{ sprint.job_id or '—' }}
Directory
{{ sprint.directory or '—' }}
Created
{{ sprint.created_at }}
Started
{{ sprint.started_at or '—' }}
Completed
{{ sprint.completed_at or '—' }}
{% if sprint.status not in ('completed', 'failed', 'cancelled') %}
{% endif %}
{% if sprint.status in ('failed', 'cancelled') %}
{% endif %} {% if sprint.idea %} Copy {% endif %}
{% if has_pdf %} 📄 Report PDF {% endif %}
{% if sprint.summary %}

Summary

{{ sprint.summary }}

{% endif %} {% if report %}

Report

{{ report|markdown|safe }}
{% endif %} {% if sprint.error %}

Log

{{ sprint.error }}
{% endif %} {% if artifacts %}

Artifacts

{% for a in artifacts %} {% endfor %}
FilenameSizeUploaded
{{ a.filename }} {% if a.size %}{{ (a.size / 1024)|round(1) }} KB{% endif %} {{ a.uploaded_at }} Download
{% endif %} {% endblock %}