Skip to content

Teacher Regrading #12

@bugranaimacar

Description

@bugranaimacar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions