Page tree
Skip to end of metadata
Go to start of metadata

If several attempts are possible per task, it might be the case that a participant will not score as many points in a follow-up attempt as were already scored before. If desired, the highest score achieved can be remembered and eventually used for the assessment. The participant should be informed accordingly through notes and shown the score of the current attempt, as well as the maximum score in all previous attempts.

In the following, the Example "Transport” – Assessment of the maximum score will help to explain how the assessment of the maximum score can be enabled.


Beispiel mit Wertung über mehrere Versuche

The following variables need to be defined:

The entire implementation is done using post-variables (post-processed variables), since, among other things, the score of the current attempt will be accessed.

Note: For the sake of simplicity, all of the variables for generating task and feedback content have been hidden in the screenshot.

  • The numerical variable {best_score} stores the highest score achieved in multiple attempts.
    The variable {best_score} is initialised without a value and later controlled by a condition:

    • On the first attempt, {best_score} is not yet initialised (NULL) and will be set to the current score {current_score}. Condition: IF best_score = NULL THEN best_score = value: current_score
    • For each successive attempt, it will then be checked whether the score achieved {current_score} is greater than the present maximum score {best_score}, in which case the latter will be adjusted accordingly. Condition: IF current_score > best_score THEN best_score = value: current_score

  • The numerical variable {current_score} stores the current score for the current attempt.
    The current score can be read out using the system variable SCORE. As this value is changed manually by the author, it should be temporarily stored in a variable. This guarantees access to the current score and, for example, the output of this value in notes and feedback.

    • With each attempt, the variable {current_score} is set to the value of the system variable SCORE. Condition: IF best_score = NULL THEN best_score = value: current_score

  • The numerical variable {best_score_is_used} stores whether the task assessment was changed manually.
    In the example, the participant should be shown an additional note if the best score is used for assessment instead of the current score. Therefore, the auxiliary variable {best_score_is_used} is applied, which will be set to the value 1 if the task assessment was changed manually.

    • The variable {best_score_is_used} is set to the value 1 if the current score is less than the highest score, which has been achieved so far. Otherwise, the variable is given the value 0. Condition: IF best_score > current_score THEN best_score_is_used = value: 1 ELSE best_score_is_used = value: 0

Note within the task:

Note within the task

In order to let the learners know which assessment procedure will be applied, a general note is included with the task. This note will be accompanied by some individual feedback information if the task assessment has been changed manually and the best score option has been configured.

Note as individual feedback:

Hinweis zur Wertung als individuelles Feedback

Feedback can be controlled using the auxiliary variable {best_score_is_used}, which displays individual feedback to the participant depending on whether its value is 0 or 1. It includes a reference to the current score {current_score} as well as to the maximum score {max_score} achieved so far. In addition, the system variable MAXSCORE is used to embed the maximum possible score in the note.

Beispielaufgabe Wertung in unterschiedlichen Versuchen


If the participant receives a lower score in a test attempt than in a previous attempt, the best score will be the one counted. In the example given, the exercise is configured in such a way that different values will be displayed for each test attempt. The participant has already solved the task on the second attempt and received the full score. On the third attempt, the participant therefore obtains the full score for the task despite giving an incorrect answer. The feedback displayed to the participant also indicates that they have received 0 points for the current attempt, but that their best score of 10 points will be assessed.

This example can be combined with the application scenarios described above:

  • No labels