Closed mariajgrimaldi closed 11 months ago
These changes conflict with https://github.com/edly-io/h5pxblock/pull/27 since we're using similar definitions. Depending on which is merged first, @Ian2012 and I will make the necessary changes to solve the conflicts. Thanks!
@mariajgrimaldi, When I try to delete a student's status I get the following error
File "/openedx/edx-platform/lms/djangoapps/instructor/enrollment.py", line 382, in _fire_score_changed_for_block
max_score = block.max_score()
TypeError: 'int' object is not callable
Apparently max_score
is a method, and is being overwritten.
@BryanttV: thanks! Can you try again?
Now it works fine!
@mariajgrimaldi could you please rebase it with master?
Hi there folks @ziafazal @BryanttV: I made some changes according to the new commits in the master branch that affected this PR. I also updated the cover letter reflecting those. Could you check again? Thank you!
@mariajgrimaldi, By default, the score displayed is always (1.0/x.0), in this case: (1.0/100.0). Shouldn't the score be 0?
@BryanttV: check again :)
@mariajgrimaldi, Perfect, LGTM!
Description
This PR adds new fields to inform students about their interaction status with the problem. Have they answered? What's their score? Since some H5P components do not explicitly show this.
We decided to use two states:
Not attempted
: the defaultCompleted
: when a student submits a problem, the status is updated to this one.When the instructor cleans the student status, the state resets to
Not attempted
. Regarding the score, we're currently showing what the H5P content returns as raw score and max score. When the problem is not scored, then just the submission status is shown.How to test