.
This commit is contained in:
@@ -7,9 +7,12 @@
|
||||
</div>
|
||||
<div id="stats-block">
|
||||
<h2>Stats</h2>
|
||||
Max score: {{max_score}}<br />
|
||||
Mean: {{mean}}, Median {{median}}, Mode {{mode}}
|
||||
|
||||
<div id="stats-plot"><h3>Distribution of results</h3>{{plot|safe}}</div>
|
||||
|
||||
<div id="stats-plot">
|
||||
<h3>Distribution of results</h3>{{plot|safe}}
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<table>
|
||||
@@ -25,4 +28,37 @@
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
<div>
|
||||
<h3>Answers as a table</h3>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Candidate</th>
|
||||
{% for cid in cids %}
|
||||
<th>{{cid}}</th>
|
||||
{% endfor %}
|
||||
|
||||
</tr>
|
||||
{% for question in questions %}
|
||||
<tr>
|
||||
<td>Question {{forloop.counter}}</td>
|
||||
{% for zipped_answers in by_question|get_item:question %}
|
||||
<td>
|
||||
<ol class="physics-ans" style="list-style-type: lower-alpha;">
|
||||
{% for ans, score in zipped_answers %}
|
||||
<li class="user-answer-score-{{score}}" title="answer score: {{score}}">{{ans}}</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
<td>Score:</td>
|
||||
{% for score in user_scores_list %}
|
||||
<td>{{score}}</td>
|
||||
{% endfor %}
|
||||
<tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user