Skip to content

Conversation

@syoopie
Copy link
Contributor

@syoopie syoopie commented Oct 15, 2024

Motivation

Old Behavior - When question is updated and regrading is triggered, there was no preservation of the:

  1. Previous question state
  2. Previous test case evaluations

This resulted in a dilemma when randomness in test cases (such as in machine learning) resulted in a student failing test cases that were previously passing

Details

image
  • parentId added to course_assessment_question_programming and course_assessment_answer_programming_auto_gradings
  • All evaluation data is preserved now
  • Old evaluations and there corresponding questions can be accessed via the parentId

@syoopie syoopie force-pushed the yupei/programming-question-audit-trail branch 6 times, most recently from 42b2875 to 1bbfd55 Compare October 21, 2024 09:47
@syoopie syoopie force-pushed the yupei/programming-question-audit-trail branch 2 times, most recently from 2f05498 to 2d65d34 Compare October 24, 2024 09:49
@syoopie syoopie force-pushed the yupei/programming-question-audit-trail branch from 2d65d34 to 32b673b Compare October 30, 2024 05:16
@bivanalhar bivanalhar force-pushed the yupei/programming-question-audit-trail branch 2 times, most recently from 547ba38 to 1c65185 Compare February 25, 2025 13:12
add parentId for:
- programming auto grading
- programming question
- include an option to add elipses beside the title to better indicate that accordion can be opened
- make new of new accordion ellipses feature
- QuestionDetails -> Question
- AllAnswerDetails -> Answer

- previous naming was verbose and communicated the wrong idea of what information the type has
- free up naming for use in details components
@bivanalhar bivanalhar force-pushed the yupei/programming-question-audit-trail branch from 1c65185 to 603e962 Compare February 25, 2025 13:13
@bivanalhar bivanalhar force-pushed the yupei/programming-question-audit-trail branch from 603e962 to 051ce26 Compare February 25, 2025 13:16
- updated types for processed vs non processed data
- removed unnecessary data from jbuilders
- added parsing / processing of programming question data and linked to display
- lines removed is data that is no longer being rendered
- use update column instead of update to prevent validation error when duplicating question with deprecated programming language
syoopie and others added 5 commits February 25, 2025 21:48
- also add redicrect edit url to return when updating question, so that id can be used to revalidate question
- this situation can occur when question is added after submission
@bivanalhar bivanalhar force-pushed the yupei/programming-question-audit-trail branch from 051ce26 to 9183fd7 Compare February 25, 2025 13:48
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.

4 participants