Store all answer attempts

Created on 19 December 2014, almost 10 years ago
Updated 6 August 2024, 2 months ago

Follow-up to #2391723: Normalize data storage for question responses β†’

Problem/Motivation

There is no way to measure performance improvement without multiple attempts. When using "repeat until correct" this makes performance improvement impossible to measure as the first attempt is discarded.

Proposed resolution

Now that we have the Quiz layout being built and stored in the database, this makes the ability to store all answer attempts possible.

This is good for measuring performance improvement without having the user take multiple attempts as was required in the past. An adaptive mode "repeat until correct" will log all the user's responses to the question, but only the last one will be associated with the attempt. Previous attempts will be recorded for later user.

Remaining tasks

- Add a new field to the quiz_result_answer table to indicate the visible answer (the answer used with the result).
- #2391723: Normalize data storage for question responses β†’
- Toggle this field so that we can pull the most recent answer easily, but list previous ones as well.

User interface changes

None

API changes

- Some work to filter out non-current answers associated with results.
- Field changes on question tables.

✨ Feature request
Status

Closed: outdated

Version

5.0

Component

Code - Quiz core

Created by

πŸ‡ΊπŸ‡ΈUnited States djdevin Philadelphia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    With D7 approaching EOL soon I've started the process of triaging the D7 queue here. Since there hasn't been any movement on this going to close out.

    If needed for 7.0.x (D10+) please reopen under there

Production build 0.71.5 2024