{% extends 'physics/exams.html' %} {% block content %}

{{ exam.name }}

Stats

Candidates: {{cids|length}}
Max score: {{max_score}}
Mean: {{mean}}, Median {{median}}, Mode {{mode}}

Distribution of results

{{plot|safe}}
{% for user, value in user_answers_marks.items %} {% endfor %}
Candidate ID Score
{{user}} {{user_scores|get_item:user}}

Answers as a table

{% for cid in cids %} {% endfor %} {% for question in questions %} {% for zipped_answers in by_question|get_item:question %} {% endfor %} {% endfor %} {% for score in user_scores_list %} {% endfor %}
Candidate{{cid}}
Question {{forloop.counter}}
    {% for ans, score in zipped_answers %}
  1. {{ans}}
  2. {% endfor %}
Score:{{score}}
{% endblock %}