Code Monkey home page Code Monkey logo

Comments (6)

jonatanschroeder avatar jonatanschroeder commented on July 22, 2024 1

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.

from prairielearn.

mwest1066 avatar mwest1066 commented on July 22, 2024

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.

from prairielearn.

jonatanschroeder avatar jonatanschroeder commented on July 22, 2024

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

from prairielearn.

eliotwrobson avatar eliotwrobson commented on July 22, 2024

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.

from prairielearn.

mwest1066 avatar mwest1066 commented on July 22, 2024

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?

from prairielearn.

mwest1066 avatar mwest1066 commented on July 22, 2024

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.

from prairielearn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.