{% if (config['CONDITIONS'] | length) > 0 %} {% set ns = namespace(any_enabled=false) %} {% for cond in config['CONDITIONS'] %} {% if cond.get('enabled', True) %}{% set ns.any_enabled = true %}{% endif %} {% endfor %} {% if not ns.any_enabled %} {% endif %} {% endif %}
{% if (config['CONDITIONS'] | length) > 1 %} {% set counts_by_condition = {} %} {% for r in summary_groups %} {% if r.condition is not none and r.condition > 0 %} {% set _ = counts_by_condition.update({r.condition: r}) %} {% endif %} {% endfor %} {% set num_conditions = config['CONDITIONS'] | length %} {% set orphan_groups = [] %} {% for r in summary_groups %} {% if r.condition is none or r.condition == 0 or r.condition > num_conditions %} {% set _ = orphan_groups.append(r) %} {% endif %} {% endfor %}
{% for cond in config['CONDITIONS'] %} {% set cnum = loop.index %} {% set r = counts_by_condition.get(cnum) %} {% set enabled = cond.get('enabled', True) %} {% endfor %} {% for r in orphan_groups %} {% endfor %}
Condition Count In Progress Abandoned Finished Time Taken Status
{{ cond.label }} {{ r.count if r else 0 }} {{ r.countInProgress if r else 0 }} {{ r.countAbandoned if r else 0 }} {{ r.countFinished if r else 0 }} {{ display_time(r.minutes) if r else "" }}
Unassigned {{ r.count }} {{ r.countInProgress }} {{ r.countAbandoned }} {{ r.countFinished }} {{ display_time(r.minutes) }}
{% endif %}

Summary

Total Participants {{ summary.count }} In Progress {{ summary.countInProgress }} Abandoned {{ summary.countAbandoned }} Finished {{ summary.countFinished }}

Completion Time

Average {{ display_time(summary.seconds) }} Minimum {{ display_time(summary.minSeconds) }} Maximum {{ display_time(summary.maxSeconds) }}