Skip to content

Conversation

@drgrice1
Copy link
Member

First, this makes it so that feedback is shown on initial render. This occurs both on initial page load (for the initially selected user), and also occurs when a different user is selected from the dropdown.

Second, this fixes some issues with tests and answers. The test answer prefix needs to be preserved in the form so that checking answers works. Also, the ProblemGrader.html.ep template was constructing the quiz prefix from the problem number and should be using the problem_id (which is what the GatewayQuiz.pm module uses). That means the last answers were not working at all for tests with random problem order.

@drgrice1 drgrice1 force-pushed the problem-grader-answers branch 2 times, most recently from d3144f5 to 0e9f9e4 Compare December 18, 2025 17:12
First, this makes it so that feedback is shown on initial render.  This
occurs both on initial page load (for the initially selected user), and
also occurs when a different user is selected from the dropdown.

Second, this fixes some issues with tests and answers.  The test answer
prefix needs to be preserved in the form so that checking answers works.
Also, the `ProblemGrader.html.ep` template was constructing the quiz
prefix from the problem number and should be using the `problem_id`
(which is what the GatewayQuiz.pm module uses).  That means the last
answers were not working at all for tests with random problem order.
@drgrice1 drgrice1 force-pushed the problem-grader-answers branch from 0e9f9e4 to dad7cc0 Compare December 19, 2025 11:37
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.

1 participant