-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shuffle Question Order in Quiz Assessments/Homeworks #121
base: main
Are you sure you want to change the base?
Conversation
@@ -136,6 +175,7 @@ async def create_session(session: Session): | |||
current_session["time_remaining"] = last_session.get("time_remaining", None) | |||
current_session["has_quiz_ended"] = last_session.get("has_quiz_ended", False) | |||
current_session["metrics"] = last_session.get("metrics", None) | |||
current_session["question_order"] = last_session["question_order"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you sure this shouldn't have a default value here? i'm wondering if it will cause issues. with previously completed quizzes, etc. this necessitates that we add identity order to all existing sessions, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes but how about having checking if in the last_session question_order is present or not if not then we can add identity order here itself rather than updating the db.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks ok to me.. needs tests
Description
This PR enhances the quiz assessment feature by introducing randomized question shuffling and ensuring accurate response storage under shuffled conditions.
Key Highlights