{% extends "nexus/module.html" %} {% load humanize %} {% load experiment_helpers %} {% block head %} {{ block.super }} {% endblock %} {% block content %}

{{ experiment.name }}

{% if experiment.description %}

{{ experiment.description }}

{% endif %}
Started: {{ experiment.start_date }} {% else %} style="display:none;">Started: {% endif %}
Ended: {{ experiment.end_date }} {% else %} style="display:none;">Ended: {% endif %}
{% for alternative, participants in alternatives %} {% if alternative != 'control' %} {% endif %} {% endfor %} {% for goal, data in results.items %} {% for alternative_name, results in data.alternatives %} {% if alternative_name != 'control' %} {% endif %} {% endfor %} {% if data.mwu %} {% endif %} {% endfor %}
control ({{ control_participants|intcomma }})
{% if user_alternative == 'control' %} Enrolled {% else %} Join {% endif %}
{{ alternative }} ({{ participants|intcomma }})
{% if user_alternative == alternative %} Enrolled {% else %} Join {% endif %}
{% if data.mwu %} {{ goal }} {% else %} {{ goal }} {% endif %} {{ data.control.conversions|intcomma }} ({{ data.control.conversion_rate|floatformat:2 }}% {% if data.mwu %} - APU {{ data.control.average_goal_actions|floatformat:2 }} {% endif %} ) {{ results.conversions|intcomma }} ({{ results.conversion_rate|floatformat:2 }}% {% if data.mwu %} - APU {{ results.average_goal_actions|floatformat:2 }} {% endif %} ) {% with improvement=results.improvement confidence=results.confidence %} {% if improvement != None %} {% if confidence >= 95 and improvement < 0 %} {% elif confidence >= 95 and improvement > 0 %} {% else %} {% endif %} {{ improvement|floatformat:2 }} % {% else %} N/A {% endif %} {% endwith %} {% with results.confidence as confidence %} {% if confidence != None %} {% if confidence >= 95 %} {% endif %} {% if confidence < 95 %} {% endif %} {% if confidence >= 99.995 %} ~{{ confidence|floatformat:2 }} % {% else %} {{ confidence|floatformat:2 }} % {% endif %} {% else %} N/A {% endif %} {% endwith %} {% if data.mwu %} MWU: {{ results.mann_whitney_confidence|floatformat:2 }}% {% endif %}
Toggle All Goals {% endblock content %}