{% extends "base.html" %} {% block title %}{{ course.title or "Cold Call" }}{% endblock %} {% block body %}

{{ course.title or course.lti_context_id }}

Hi {{ user.name }}{% if user.pronouns %} ({{ user.pronouns }}){% endif %}.

Your name and pronouns here are drawn from Canvas. If they are not right, update them in your Canvas account settings and they will be picked up here automatically.

Your standing

You have answered {{ answered }} question{{ "s" if answered != 1 }}. {% if missing %} You were called but absent (without opting out) {{ missing }} time{{ "s" if missing != 1 }}. {% endif %} You have opted out of {{ optouts|length }} class{{ "es" if optouts|length != 1 }}.

How you compare

{% set d = distribution %} {% set fewer = d.bins | selectattr("calls", "lt", d.my_count) | sum(attribute="students") %} {% set more = d.bins | selectattr("calls", "gt", d.my_count) | sum(attribute="students") %} {% set same = d.bins | selectattr("calls", "eq", d.my_count) | sum(attribute="students") - 1 %}

{{ fewer }} classmate{{ "s have" if fewer != 1 else " has" }} answered fewer questions than you, {{ same }} the same number, and {{ more }} more. The class median is {{ d.median }}.

Students by number of questions answered; your bar is the highlighted one.

Opting out

{% if optouts %} {% for o in optouts %} {% endfor %}
Date
{{ o.date.isoformat() }} {% if o.date >= today %}
{% else %} past {% endif %}
{% else %}

You have not opted out of any classes.

{% endif %}
{% if upcoming_days %} {% else %} {% endif %}
{% if my_calls %}

Your calls

{% for c in my_calls %} {% endfor %}
DateOutcome
{{ c.session_date.isoformat() }} {% if c.status == "missing" %} missing {% elif course.show_assessments and c.assessment %} {{ c.assessment }} {% else %} answered {% endif %}
{% endif %} {% endblock %}