Status
{% set s = run.status %}
{% if s == "COMPLETED" %}
{{ s }}
{% elif s == "IN_PROGRESS" %}
{{ s }}
{% elif s == "FAILED" %}
{{ s }}
{% elif s == "PARTIAL" %}
{{ s }}
{% else %}
{{ s }}
{% endif %}
Score
{% if run.total_score is not none %}
{{ "%.2f"|format(run.total_score) }}
{% else %}
—
{% endif %}
Progress
{{ run.current_task_index }} / {{ tasks_count }}
Duration
{% if run.started_at is none %}
Not started
{% elif run.finished_at is not none %}
{% set duration = (run.finished_at - run.started_at).total_seconds() %}
{% if duration >= 3600 %}
{{ "%.0f"|format(duration / 3600) }}h {{ "%.0f"|format((duration % 3600) / 60) }}m
{% elif duration >= 60 %}
{{ "%.0f"|format(duration / 60) }}m {{ "%.0f"|format(duration % 60) }}s
{% else %}
{{ "%.0f"|format(duration) }}s
{% endif %}
{% else %}
{% set duration = (now - run.started_at).total_seconds() %}
{% if duration >= 3600 %}
{{ "%.0f"|format(duration / 3600) }}h {{ "%.0f"|format((duration % 3600) / 60) }}m (running)
{% elif duration >= 60 %}
{{ "%.0f"|format(duration / 60) }}m {{ "%.0f"|format(duration % 60) }}s (running)
{% else %}
{{ "%.0f"|format(duration) }}s (running)
{% endif %}
{% endif %}