{% extends "analysis/components/datatable.html" %} {% block style %} {% endblock %} {% block content %}

Analysis

Analysis for {{ type }} {{ subject }}.

Question List

Dataset Name {{ dataset.get_name() }}
Author {{ dataset.creator.get_username() }}
Last Updated {{ dataset.date.strftime('%d %b %Y %H:%M') }}
{% if dataset.default %}
Default Dataset
{% endif %}
{% for question in questions %} {% endfor %}
Question Percent Correct Answers Tags
{{ question.q_no + 1 }} {{ ((analysis.answers[question.q_no][question.correct] or 0)*100/(analysis.answers[question.q_no].values())|sum())|round(2) }} {% for option in question.options %} {% endfor %}
{{ option[1] }} {% if question.correct == option[0] %}
{{ ((analysis.answers[question.q_no][option[0]] or 0)*100/(analysis.answers[question.q_no].values())|sum())|round(2) }}%
{% else %}
{{ ((analysis.answers[question.q_no][option[0]] or 0)*100/(analysis.answers[question.q_no].values())|sum())|round(2) }}%
{% endif %}
    {% for tag in question.tags %}
  • {{ tag|safe }}
  • {% endfor %}
{% endblock %} {% block script %} {% endblock %} {% block custom_data_script %} {% endblock %}