Deploying Stack-questions problem

Re: Deploying Stack-questions problem

by Mikko Västi -
Number of replies: 3

Sure I can deploy seeds randomly for each and every question... 

But then either one of these 2 options will happen:

  1. Different questions will not have the same values for variables and the exams are built on assumptions that one will have multiple questions using same values for variables.
  2. The system will pick one pre-randomized seed number for the first question in the exam and will calculate each other question with the picked pre-randomized seed number. Thus eliminating all benefits of caching.

The main goal here is that I can have multiple questions using same values for variables and to cache the pre-calculated solutions.

Yours truly,

Mikko

In reply to Mikko Västi

Re: Deploying Stack-questions problem

by Thorsten Bartel -
Picture of Core developers
Hey Mikko,

I'm a little bit confused about the propositions you are making. Maybe you can be so kind and help me understand...

- If there are multiple variants deployed per question, how would you ensure that different questions within the same quiz actually draft the same variant (seed)?
- Using the same random seed for consistent variable generation is most likely not reliable. If, at all, wouldn't this only work as long as variable generation in both questions is exactly identical? (That's a guess on my part, not verified.)
- As far as caching is concerned, aren't you good to go as soon as variants are deployed? We always suggest adding at least basic test cases to cover answer testing, too.

Seeds can be chosen manually, too... for a large number of variants / questions this will surely be impractical, but it might serve well for a proof of concept.

Cheers
Thorsten
In reply to Thorsten Bartel

Re: Deploying Stack-questions problem

by Martin Kraska -
Does that mean that the use of entries in the field "Random group" is useless if deployed questions are used in a test?
In reply to Martin Kraska

Re: Deploying Stack-questions problem

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Not entirely useless, but the requirement to deploy the same seeds for each question is a major pain. We ought to make a solution to that, once we can work out what a good solution looks like.