{{ paper.shown_status | status_words }} {% if paper.internal_review %}e2er's internal quality review: {{ "%.1f" | format(paper.internal_review.score) }} of 10{% endif %}
${{ "%.2f"|format(cost_spent) }} / ${{ "%.0f"|format(paper.max_cost_usd or 25) }}
{% if can_cancel %} {% endif %} {% if can_cancel_attempt %} {% endif %} {% if can_resume and not awaiting_review and not budget_paused %} {% endif %}
{% if pending_queries %}
Data queries wait for your approval. A specialist wants to run these queries on the data warehouse; they run only after you approve them.
{% endif %} {% if elsewhere %}
Running in another e2er process. {{ elsewhere_text }} {% if elsewhere.port and not elsewhere.legacy %}Open it there{% endif %}
{% elif awaiting_review %}
The study is waiting for you. Read what the specialists wrote, change it if you want, and let it continue. Review now
{% elif paper.shown_status == "completed" %}
The study is finished. Check it and publish it. Verify and publish
{% endif %} {% if tp and tp.steps %}

Steps template {{ tp.template }}{% if tp.current %} · now: {{ tp.current }}{% endif %}

    {% for st in tp.steps %}
  1. {{ st.label }}{{ st.kind }} {% if st.state == "waiting" or (st.state == "failed" and awaiting_review) %}{{ st.note }} → {% else %}{{ st.note }}{% endif %}
  2. {% endfor %}

Specialists done {{ tp.specialists_done | length }}

{% if tp.specialists_done or tp.specialists_failed %} {% else %}

None yet.

{% endif %}

Checks

{% if tp.checks %} {% else %}

None run yet.

{% endif %}
{% endif %} {% if progress %}
{% if progress.active %}
{% for a in progress.active %} {{ a.name }} {% if a.minutes is not none %}running {{ a.minutes }} min{% endif %} {% endfor %}
{% elif not progress.terminal %}
between steps…
{% endif %} {% if progress.elapsed_min is not none %}
{{ progress.elapsed_min }} min since the run started
{% endif %} {% if progress.phases and not (tp and tp.steps) %}
    {% for p in progress.phases %}
  1. {{ p.name }}
  2. {% endfor %}
{% endif %}
{% endif %} {% if failure and failure.failed and not awaiting_review %}

{{ failure.status | status_words | capitalize }}

{{ failure.headline }}

{% if failure.specialists %} {% endif %} {% for h in failure.hints %}

{{ h }}

{% endfor %} {% if failure.raw and failure.raw != failure.headline %}
Full error
{{ failure.raw }}
{% endif %}
{% elif paper.last_error and not awaiting_review %}

{{ paper.last_error }}

{% endif %}
Event log ({{ events | length }} most recent) {% if not events %}

Waiting for first event…

{% else %}
    {% for e in events %}
  1. {{ e.event_type }} {% if e.stage %}{{ e.stage }}{% endif %} {% if e.specialist %}{{ e.specialist }}{% endif %}
  2. {% endfor %}
{% endif %}