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

Allow the same question multiple times in an assessment #9781

Open
trombonekenny opened this issue Apr 28, 2024 · 6 comments
Open

Allow the same question multiple times in an assessment #9781

trombonekenny opened this issue Apr 28, 2024 · 6 comments

Comments

@trombonekenny
Copy link
Contributor

PL currently doesn't have a way to use the same question multiple times in a single assessment.

Investigate to see if it's possible to allow this and turn the blocking error into a warning.

@mwest1066
Copy link
Member

The fundamental problem is that we need some way to know which assessment question corresponds to each question in infoAssessment.json. At the moment we use the QID to do this, which is why each QID can only appear once per assessment. If we want to allow repeated QIDs then we'd need to add some other unique identifier. We could use the pair (QID, index), where index is 0 for the first occurrence of the QID in the assessment, 1 for the second, etc. This would mean that the repeated-QID questions couldn't be reordered in the assessment, but that might not be too much of a limitation in practice. To allow reordering we'd need to add an (optional?) unique key to each question in the JSON file.

That being said, I haven't yet seen a convincing use case for allowing repeated QIDs in an assessment.

@jonatanschroeder
Copy link
Member

Instead of repeating it, it probably makes sense to add an option like "numInstances" or something like that.

@eliotwrobson
Copy link
Collaborator

Instead of repeating it, it probably makes sense to add an option like "numInstances" or something like that.

Agree here. If questions perform identically, then it's additionally annoying to make the instructor duplicate the QID in the
same file.

That being said, I haven't yet seen a convincing use case for allowing repeated QIDs in an assessment.

This could be quite useful if something like this feature ever makes it in: #3848
For the current feature set, agree that it's probably overkill.

@mwest1066
Copy link
Member

Instead of repeating it, it probably makes sense to add an option like "numInstances" or something like that.

I guess I still don't understand the use case here. Do you have any examples of when this would be used?

@mwest1066
Copy link
Member

This could be quite useful if something like this feature ever makes it in: #3848 For the current feature set, agree that it's probably overkill.

Great point! I agree that together with #3848 this would be very useful.

@jonatanschroeder
Copy link
Member

I guess I still don't understand the use case here. Do you have any examples of when this would be used?

I have seen cases in the past of instructors that wanted to test, in an exam environment, the same question multiple times with different variants. The idea is to assess that the student is competent in solving a problem in more than one variant.

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

No branches or pull requests

4 participants