Skip to content
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

Retry Button Resets All Questions Irrespective of Correctness #87

Closed
kaveritekawade opened this issue Jun 11, 2024 · 1 comment
Closed

Comments

@kaveritekawade
Copy link

Subject of the issue

When using adapt-contrib-assessmentResults in conjunction with adapt-contrib-assessment, clicking the "Retry" button resets all questions regardless of whether they were answered correctly or not. This behavior is not ideal for scenarios where users might only want to retry the incorrect questions while keeping the correctly answered questions intact.

Your environment

  • Adapt Framework Version: 5.39.7
  • adapt-contrib-assessmentResults Version: 5.2.1
  • adapt-contrib-assessment Version: 5.2.1
  • Browser: Chrome Version 125.0.6422.61

Steps to reproduce

  • Set up a course with the adapt-contrib-assessmentResults and adapt-contrib-assessment plugins.
  • Complete an assessment, answering some questions correctly and some incorrectly.
  • Click the "Retry" button.

Expected behavior

Upon clicking the "Retry" button, only the incorrectly answered questions should be reset, allowing users to attempt those again. Correctly answered questions should retain their status and responses.

Actual behavior

All questions, including those answered correctly, are reset when the "Retry" button is clicked.

Screenshots

Reset Type is set to inherit in assessment results component.
image

Reset Type is set to hard in assessment settings.
image

In the video provided below, after answering one question correctly, clicking "Retry" resets all three questions.

Assessment_with_Results.mp4
@oliverfoster
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants