Hi,
I believe I've encountered a bug. When a teacher regrades a student's attempt, it updates the marks correctly new from the AI response but doesn't save the new feedback comment generated by the AI. However, performing a dry run (which processes everything from scratch) works as expected.
While debugging the grade_response function, I noticed that the array was null when regrading without a dry run. Since we're manually adding comments to question_attempt_step_data, it seems the insertion process might be where the issue lies. I couldn't fully figure it out.
Hi,
I believe I've encountered a bug. When a teacher regrades a student's attempt, it updates the marks correctly new from the AI response but doesn't save the new feedback comment generated by the AI. However, performing a dry run (which processes everything from scratch) works as expected.
While debugging the grade_response function, I noticed that the array was null when regrading without a dry run. Since we're manually adding comments to question_attempt_step_data, it seems the insertion process might be where the issue lies. I couldn't fully figure it out.