{% extends "base.html" %} {% block js_init %} setAllNotifyCheckboxes = function(state) { var boxes = $(".notify_user_box"); for (i = 0; i < boxes.length; i++) { boxes[i].checked = state; } }; setDefaultNotifyCheckboxes = function() { var boxes = $(".default_notify_on"); for (i = 0; i < boxes.length; i++) { boxes[i].checked = true; } var boxes = $(".default_notify_off"); for (i = 0; i < boxes.length; i++) { boxes[i].checked = false; } }; setDefaultNotifyCheckboxes(); {% endblock js_init %} {% block core %} {% set current_score_type = none %}

Preview dataset change for {{ task.title }} ({{ task.name }})

Current dataset: {{ task.active_dataset.description }} [View results]
New dataset: {{ dataset.description }} [View results]

NOTE: The preview on this page uses the existing scoring information for both datasets. If you have made modifications to a dataset, you need to ensure that the scores are up to date. This may require re-compiling, re-evaluating or just re-scoring the entire dataset. To do so, use the buttons below, and wait for it to complete.

Reevaluate all submissions for the dataset "{{ dataset.description }}": {{ ReevaluationButtons( url("dataset", dataset.id), dataset_id=dataset.id) }}

{{ xsrf_form_html|safe }} {% if changes|length == 0 %}

Good news! At present, switching to this dataset will have no effect on the scores. No notifications will be sent.

{% else %}

Switching to this dataset will cause the following changes:

{% for p, changes_by_participation in changes|groupby("submission.participation.id")|sort %} {% for c in changes_by_participation|sort(attribute="submission.id") %} {% endfor %} {% endfor %}
Notify User Submission id Change
{% if loop.first %} {% endif %} {% if loop.first %} {{ c.submission.participation.user.username }} {% endif %} {{ c.submission.id }}{{ " (Tokened)" if c.submission.tokened() else "" }} {% if c.old_score is not none or c.new_score is not none %} Score: {{ c.old_score }} -> {{ c.new_score }}
{% endif %} {% if c.old_public_score is not none or c.new_public_score is not none %} Public score: {{ c.old_public_score }} -> {{ c.new_public_score }}
{% endif %} {% if c.old_ranking_score_details is not none or c.new_ranking_score_details is not none %} Ranking score: {{ c.old_ranking_score_details|tojson|forceescape }} -> {{ c.new_ranking_score_details|tojson|forceescape }}
{% endif %}

Notify: [All users] [No users] [Users with visible changes only]

By default, users with changes to their public score, or changes to the score of a tokened submission, will be notified.

The following message will be sent to the selected users:

Subject:
Text:
{% endif %}

{% endblock core %}