<% import json %>

${username | h} > ${course_id | h} > ${location | h}

% for i, (entry, score) in enumerate(zip(history_entries, scores)):
#${len(history_entries) - i}: ${entry.updated} UTC
Score: ${score.grade} / ${score.max_grade}
${json.dumps(entry.state, indent=2, sort_keys=True) | h}
% endfor