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

Add an assessment review option to always show feedback for incorrect answers but not the correct answer. #2114

Open
FrenjaminBanklin opened this issue Sep 29, 2023 · 1 comment
Labels
assessment document authoring editor enhancement New feature or request questions involves obojobo questions (practice/assessment/etc) user experience something that benefits or hinders UX

Comments

@FrenjaminBanklin
Copy link
Contributor

See:
image

Currently Obojobo assessments only have three 'review' options, as shown. Feedback on responses is only shown when the responses (and correct answers) are shown.

The default selection is to never show responses in review, meaning feedback will also never be visible. The third option will show feedback for selected responses but only after students have exhausted all of their attempts, and the first option will show feedback for selected responses but will also give away the correct responses on all attempts.

We need an option (potentially default) that will always show feedback without also giving away the correct answer.

@FrenjaminBanklin FrenjaminBanklin added enhancement New feature or request questions involves obojobo questions (practice/assessment/etc) editor user experience something that benefits or hinders UX document authoring assessment labels Sep 29, 2023
@FrenjaminBanklin FrenjaminBanklin self-assigned this Sep 29, 2023
@FrenjaminBanklin FrenjaminBanklin removed their assignment Oct 6, 2023
@FrenjaminBanklin
Copy link
Contributor Author

I've spent a lot of time trying to figure this out, but at this point I'm calling it potentially more trouble than it's worth. I'll leave the issue open for now in case anybody else can find a more clever way of accomplishing this.

What I've determined:

  • Additional code to add an assessment review option needs to be added here and here.
    • The switch to determine whether an assessment is in 'full review' mode here may need to be changed as well.
  • As far as I can tell, the determination between whether to show a 'full review' or just the question content occurs here.
    • It's not clear whether the best course of action would be to keep this 'full or not full' review design and just modify one or the other depending on whether the assessment's review type is the new 'show chosen answer and feedback' option. Alternatively, this would have to be rewritten to render components one of three ways depending on which review type was chosen - 'full', 'basic', or 'partial', possibly.
  • Currently both the 'full review' and 'basic review' approaches determine the component class to proceed with based on the output of a questionModel.getComponentClass() function, though based on what I've seen I'm not sure if this could ever be anything other than 'ObojoboDraft.Chunks.Question' which would use this code. If it's possible for questionModel.getComponentClass() to result in anything else I have no idea how.
  • Assuming this is the only possible next step, an optional prop showContentOnly is checked to determine whether to only show the question's content (which only renders this component which, somehow, works just fine regardless of whether the question is multiple choice or numeric) or the whole question component, which would be this.
    • In the latter case, the actual child component to render is determined based on the result of a method called on one of the props passed into QuestionComponent. From what I can tell, this results in rendering either a MCAssessment component or a NumericAssessment component. The actual elements to be rendered on the page are actually still two or three layers down from either one of those, depending on which one is being used, but I'm not sure what exactly would have to happen in either case to only show the selected answer and its associated feedback.

This is so far beyond what I'd hoped would have been a relatively easy addition that I'm tempted to scrap the idea altogether, since it looks like adding an option to only show the selected answer and its feedback if applicable would require significantly re-engineering a lot of the assessment viewer component rendering workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assessment document authoring editor enhancement New feature or request questions involves obojobo questions (practice/assessment/etc) user experience something that benefits or hinders UX
Projects
None yet
Development

No branches or pull requests

1 participant