{%- set sid = state.session.session_id -%} {%- set base = "/studies/" ~ slug ~ "/sessions/" ~ sid -%}

{{ state.done }}/{{ state.total }} done {{ state.session.operator }} · {{ state.session.rig }}

{% if runner and runner.message %}

Runner: {{ runner.message }}

{% endif %} {% if rig_alert %}{% endif %} {% if notice %}

{{ notice }}

{% endif %} {% if adaptive and not adaptive.stopped %}

{% if adaptive.rule == "anytime" %}Checked after every block: {{ adaptive.complete_blocks }} complete. The study stops by itself when the pre-registered test decides. {% else %}Best-arm selection: {{ adaptive.complete_blocks }} complete blocks, {{ adaptive.remaining }} arms running{% if adaptive.dropped %}; dropped: {{ adaptive.dropped | join(", ") }} (their remaining trials are cancelled){% endif %}.{% endif %}

{% endif %} {% if interim and interim.due and not state.running %}

Interim look {{ interim.next_look }} of {{ interim.planned_looks }} is due ({{ interim.complete_blocks }} complete blocks). It reports only "continue" or "stop".

{% if not mirror %}
{% endif %}
{% endif %} {% if state.running %} {%- set t = state.running -%} {% include "_trial_header.html" %} {% if t.ended_at is none %}
0:00
{% if not mirror %}
{% endif %} {% else %}

Stopped after {{ t.duration_s | duration }}. Label the outcome.

{% if not mirror %}
{%- set suggested_stage = suggestion.stage_index if suggestion and suggestion.stage_index is not none else none -%}
Furthest stage reached{% if suggestion %} (simulated runner suggests){% endif %} {% for stage in spec.rubric.stages %} {% endfor %}
Why it ended {% for term in terminations %} {% endfor %}
{% if spec.rubric.failure_tags %}
Failure tags {% for tag in spec.rubric.failure_tags %} {% endfor %}
{% endif %}
{% endif %} {% endif %} {% if not mirror %}
Invalid trial…
{% endif %} {% elif state.up_next %} {%- set slot = state.up_next -%} {% include "_slot_header.html" %} {% if not mirror %}
{% else %}

Waiting to start

{% endif %} {% elif adaptive and adaptive.stopped %} {% if adaptive.rule == "anytime" %}

The study stopped after {{ adaptive.complete_blocks }} blocks.

The pre-registered anytime-valid test decided, so the remaining trials were cancelled. Unblind on the report page to see the results.

{% else %}

One arm remains, so the study is complete.

Dropped: {{ adaptive.dropped | join(", ") }}. Unblind on the report page to see which arm was selected.

{% endif %}

Go to the report

{% elif interim and interim.stopped_at %}

The study stopped at interim look {{ interim.stopped_at }}.

The pre-registered boundary was crossed, so the remaining trials were cancelled. Unblind on the report page to see the results.

Go to the report

{% else %}

All scheduled trials are done.

Go to the report

{% endif %} {% if state.undoable and not mirror %}
{% endif %} {% if not mirror and not state.running %}
{% endif %}