Instructors have the option in Artemis to add a max number of how often the score of a grading instruction should be counted in the total score.
The property is called usageCount in Artemis.
In order to correctly calculate the total score in respect of this property, we must reference the instruction in the feedback on which the instruction was applied.
This was done for text and file upload exercises as the feedback is created in Artemis but as for modelling exercises the feedback is created in Apollon so the reference must be created in Apollon (on drop of an instruction in Apollon's assessment editor) in order to support this feature.
Additional context
For more context please review updateFeedbackWithStructuredGradingInstructionEvent method in Artemis where the above explained solution is already implemented for text and file upload exercises.
Is your feature request related to a problem?
Instructors have the option in Artemis to add a max number of how often the score of a grading instruction should be counted in the total score. The property is called
usageCount
in Artemis. In order to correctly calculate the total score in respect of this property, we must reference the instruction in the feedback on which the instruction was applied. This was done for text and file upload exercises as the feedback is created in Artemis but as for modelling exercises the feedback is created in Apollon so the reference must be created in Apollon (on drop of an instruction in Apollon's assessment editor) in order to support this feature.Additional context
For more context please review
updateFeedbackWithStructuredGradingInstructionEvent
method in Artemis where the above explained solution is already implemented for text and file upload exercises.