ls1intum / Apollon

UML Modeling Editor written in React
https://apollon-library.readthedocs.io
MIT License
68 stars 22 forks source link

Support max count in score feature of SGI in Apollon #133

Open HanyaElhashemy opened 4 years ago

HanyaElhashemy commented 4 years ago

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.