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

{{ experiment.name }}

{% if experiment.switch_key %}
Connected to Gargoyle switch {{experiment.switch_key}}.
{% endif %}
{% 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.items %} {% if alternative != 'control' %} {% endif %} {% endfor %} {% for goal, data in results.items %} {% for alternative_name, results in data.alternatives.items %} {% if alternative_name != 'control' %} {% endif %} {% endfor %} {% endfor %}
control ({{ control_participants|intcomma }}){{ alternative }} ({{ participants|intcomma }})
{{ goal }} {{ data.control.conversions|intcomma }} ({{ data.control.conversion_rate|floatformat:2 }}%){{ results.conversions|intcomma }} ({{ results.conversion_rate|floatformat:2 }}%) {% with results.improvement as improvement %} {% if improvement != None %} {% if 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 and confidence >= 90 %} {% endif %} {% if confidence < 90 %} {% endif %} {% if confidence >= 99.995 %} ~{{ confidence|floatformat:2 }} % {% else %} {{ confidence|floatformat:2 }} % {% endif %} {% else %} N/A {% endif %} {% endwith %}
Toggle All Goals {% endblock content %}