Skip to content

[ENHANCEMENT] [MER-4998] preserve custom points on instructor-graded pool questions#289

Merged
rgachuhi merged 3 commits intomasterfrom
MER-4998-preserve-instructor-graded-points
Oct 6, 2025
Merged

[ENHANCEMENT] [MER-4998] preserve custom points on instructor-graded pool questions#289
rgachuhi merged 3 commits intomasterfrom
MER-4998-preserve-instructor-graded-points

Conversation

@andersweinstein
Copy link
Contributor

Legacy instructor-graded pool questions for French carry custom point values via the score_out_of attribute, but these point values are not being preserved in migration. Instructor graded questions are the only questions that depend on this attribute for custom point values.

In addition, any custom points on pool questions are now overridden by the new pointsPerQuestion attribute on selection, which defaults to 1.

This updates the migration tool to do two things:

  • Carry through custom points from the score_out_of on instructor graded questions.

  • Set the points per question on selection statements where that is possible (all possible questions have the same non-default point value) so default pointsPerQuestion does not override custom points.

Note 2 is independent of 1 and is a general improvement for ALL pool selections, whether instructor graded or not.

This PR also takes the opportunity to remove the spurious scoringStrategy: "average" which was attached to parts in earlier versions of the code. This is not used by torus.

@andersweinstein andersweinstein changed the title [ENHANCEMENT] preserve custom points on instructor-graded pool questions [ENHANCEMENT] [MER-4998] preserve custom points on instructor-graded pool questions Oct 3, 2025
@rgachuhi rgachuhi merged commit 00715c0 into master Oct 6, 2025
2 checks passed
@rgachuhi rgachuhi deleted the MER-4998-preserve-instructor-graded-points branch October 6, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants