{% extends "base.html" %} {% block title %}{{ loop.id }} — ResearchLoop{% endblock %} {% block head %} {% if loop.status in ('running', 'pending') %} {% endif %} {% endblock %} {% block content %}

Loop {{ loop.id }}

Study
{{ loop.study_name }}
Status
{{ loop.status }}
Progress
{{ loop.completed_count }}/{{ loop.total_count }}
Current Sprint
{% if loop.current_sprint_id %}{{ loop.current_sprint_id }}{% else %}—{% endif %}
Created
{{ loop.created_at }}
{% if loop.stopped_at %}
Stopped
{{ loop.stopped_at }}
{% endif %}
{% if loop.status in ('running', 'pending') %}
{% endif %} {% if loop.status in ('stopped', 'failed') and loop.completed_count < loop.total_count %}
{% endif %}
{% if context %}

Idea Generation Context

{{ context|markdown|safe }}
{% endif %}

Sprints

{% for sp in sprints %} {% endfor %}
IDStatusIdeaSummaryCreated
{{ sp.id }} {{ sp.status.split(' ')[0] }}{% if '(' in sp.status %} {{ sp.status.split('(')[1].rstrip(')') }}{% endif %} {% if sp.idea %}{{ sp.idea[:60] }}{% if sp.idea|length > 60 %}…{% endif %}{% elif sp.status not in ('completed', 'failed', 'cancelled') %}auto-generating...{% elif sp.summary %}{{ sp.summary[:60] }}{% if sp.summary|length > 60 %}…{% endif %}{% endif %} {{ (sp.summary or '')[:80] }}{% if (sp.summary or '')|length > 80 %}…{% endif %} {{ sp.created_at }} {% if sp.status.startswith('running') or sp.status == 'submitted' %} {% endif %}
{% endblock %}