Open KrKOo opened 2 weeks ago
Can I confirm that the scores in the assignment list are taken from the feedback file(s) in the students directory-tree?
[I think that's how I read it....]
Yes
Why do you need to contact the exchange to get the score for display? When the feedback is already downloaded by the user, the assignment_list
JupyterLab extension can just contact its Jupyter server counterpart that would extract the values from the downloaded file. This would avoid the need to upgrade any external exchange code to support the new functionality.
With this PR, the scores for each assignment are displayed directly on the assignment list page, significantly enhancing the course overview from the student's perspective.
Updated feedback template The only source of scores accessible to students is the feedback.html file. To facilitate easier parsing, the default template has been modified by adding tags to store the student's earned score. This change also allows custom templates to be parsed conveniently, provided they incorporate these meta tags.
Updated Exchange The default exchange now parses the feedback file and retrieves the score and max_score attributes for each submission. If multiple feedbacks are available, the score from the last one is returned.
Backward Compatibility