{% extends "base.html" %} {% block title %}Admin Dashboard{% endblock %} {% block content %}

Study Results Dashboard

{{ rows | length }} Participants
{{ rows | selectattr('study_group', 'equalto', 'A') | list | length }} Group A (treatment)
{{ rows | selectattr('study_group', 'equalto', 'B') | list | length }} Group B (control)
{{ rows | rejectattr('final', 'none') | list | length }} Completed
{% if rows %}
{% for row in rows %} {% set total_copy = row.events | selectattr('event_type', 'equalto', 'copy') | sum(attribute='cnt') %} {% set total_paste = row.events | selectattr('event_type', 'equalto', 'paste') | sum(attribute='cnt') %} {% endfor %}
Pseudo Group Started Tasks submitted Copy events Paste events Final survey
{{ row.participant_id }} Group {{ row.study_group }} {{ row.created_at[:16] | replace('T', ' ') }} {{ row.submissions | length }} / 3 {{ total_copy }} {{ total_paste }} {% if row.final %} ✓ Done {% else %} {% endif %} View
{% else %}

No participants yet. Share the study URL to get started.

{% endif %}
{% endblock %}