Randomization failure when creating a quiz from a question pool

Description

Steps to reproduce:

1. Populate a question pool with the folllowing procedure:
1.1 Create a question that we will use as a model (the same question text but with different numeric data)
1.2 Create a new question using the model above.
1.3 Create a second question model and another question (i.e. repeat steps #1-#2)
2. Do the same with 11 questions pools.
3. Create (and publish) a quiz with 11 parts, each part loaded "randomly" from a different question pool.
4. When students take the exam we have observed the following:
4.1 Numeric answer questions from two models are not mixed but MC/SA questions are mixed.
4.2 It seems that when generating a quiz, it takes the first question from each pool for the first quiz; the second question from each pool, for the second quiz; and so on.

It seems as if Samigo uses the same seed to determine which question to take from each pool. This seed should recalculated for each question pool.

NOTE: Question pools only have numeric answer or multiple choice, single answer (MC/SA) questions, but not mixed. If a pool has numeric answer questions, it won't have MC/SA questions and viceversa.
NOTE: Numeric answer questions have four choices and MC/SA have three choices.

Hope this helps.

Attachments

1
  • 07 Jul 2011, 04:31 AM

Activity

Show:

David Roldán Martínez January 20, 2012 at 12:14 AM

Yes...The bug still happens. One of our experts on Statistics can certified that. The problem is that if you apply the patch, you'll find problems when previewing exams. We are still working on it. As soon as I fix it, I'll post it here.
Any suggestion?

Sam Ottenhoff January 19, 2012 at 9:33 AM

Hi David,

Any update on this ticket? Can anyone reproduce this issue locally?

David Roldán Martínez December 2, 2011 at 12:07 AM

Upsss...I'm terribly sorry. Probably, I missed your mail. OK...I'll forward it you asap. Anyway, I must say that we have find some issues with this patch when previewing exams (in fact, we reverted it in production). :-\

Hui Tsao December 1, 2011 at 4:13 PM

Hi David,

I have sent you an email earlier but didn't get your reply. Can you please send me your XML so I can reproduce it? The randomization works fine for me...

Thanks,
Karen

David Roldán Martínez July 7, 2011 at 4:32 AM

Karen,
I've spent 6 hours testing this with the instructor that found out the issue.
You have a patch for trunk at samigo_SAM-1212.patch.txt. We are going to put it in production under 2.8.0.
Let me know if I can help.

Details

Priority

Affects versions

Fix versions

Assignee

Reporter

Created May 23, 2011 at 4:51 AM
Updated April 17, 2018 at 8:02 AM