This updates the student_view_data of Assignment XBlocks so that for each child block:
graded is no longer based on the deprecated graded attribute, but rather has_score etc.
max_attempts is returned, if known
weight (maximum score that can be earned) is set, if known
This also updates the XBlock to properly handle unit children that themselves contain problems, e.g. if a Video or HTML is grouped together with a capa problem.
This updates the
student_view_data
of Assignment XBlocks so that for each child block:graded
is no longer based on the deprecatedgraded
attribute, but ratherhas_score
etc.max_attempts
is returned, if knownweight
(maximum score that can be earned) is set, if knownThis also updates the XBlock to properly handle
unit
children that themselves contain problems, e.g. if a Video or HTML is grouped together with a capa problem.