Picture of Tom Baum
Randomized question banks
by Tom Baum - Monday, 10 August 2015, 9:45 AM
 

Hi folks,

is there any documentation on the creation and use of randomized question banks? I am looking for a solution to create them without the authoring tool.

Picture of Matt Leathes
Re: Randomized question banks
by Matt Leathes - Monday, 10 August 2015, 10:40 AM
 

Hi Tom

Have you already had a look at the README?

Picture of Tom Baum
Re: Randomized question banks
by Tom Baum - Monday, 10 August 2015, 12:31 PM
 

Matt,

that's exactly what I was looking for. Thank you for this hint!

Picture of Ben Simons
Re: Randomized question banks
by Ben Simons - Wednesday, 28 October 2015, 1:02 PM
 

Hi Tom,

Did you get this working?

Whenever I try to use banks the course seems to break on me. I assign all the blocks bankIDs and then turn on banks in the assessment code and set the split to 2,1 just to try it. When i run the course it doesn't load. So i checked the console log and it cannot read property 'addBlock' --- What does this mean? 

The course will work if I put the split at just 2, I get no errors off this but it is pointless as it just shows all the questions still. So why is this happening?

Regards Ben

Picture of Bazz Facey
Re: Randomized question banks
by Bazz Facey - Wednesday, 28 October 2015, 4:01 PM
 

Hi,

I'm having the exact same problem.

Following the Read Me does not rectify the matter.

Any one get any solutions?

 

Bazz

Picture of Matt Leathes
Re: Randomized question banks
by Matt Leathes - Thursday, 29 October 2015, 9:59 AM
 

There's some fixes to the assessment plugin in the works that might solve this. You can grab the fixes from here or wait about 24 hours for them to be pushed into master.

Picture of Oliver Foster
Re: Randomized question banks
by Oliver Foster - Thursday, 29 October 2015, 5:03 PM
 

what bank id's do you have in your blocks.json ? and could you send a single example of one of the blocks? i'd like to confirm that the fixes i've done recently will help.

Picture of Oliver Foster
Re: Randomized question banks
by Oliver Foster - Thursday, 29 October 2015, 6:15 PM
 

I've just tried to do banking on our standard course. It turns out that despite a very large warning not to readme, the assessmentResults component is inside the assessment article. I'll correct this.

Also, i replicated your warning with the follow on my blocks: 

_assessment: {

  _quizBankId: 1

}

which should be:

_assessment: {

  _quizBankID: 1

}

readme blocks section 

Picture of Ben Simons
Re: Randomized question banks
by Ben Simons - Wednesday, 13 January 2016, 12:02 PM
 

Hi Oliver,

This is what my Blocks look like:

{
"_id": "b-95",
"_parentId": "a-20",
"_type": "block",
"_classes": "",
"title": "b-95",
"displayTitle": "",
"body": "",
"_trackingId": 17,
"_assessment": {
"_quizBankID": 1
}
},
{
"_id": "b-100",
"_parentId": "a-20",
"_type": "block",
"_classes": "",
"title": "b-100",
"displayTitle": "",
"body": "",
"_trackingId": 18,
"_assessment": {
"_quizBankID": 2
}
},
{
"_id": "b-105",
"_parentId": "a-20",
"_type": "block",
"_classes": "",
"title": "b-105",
"displayTitle": "",
"body": "",
"_trackingId": 19,
"_assessment": {
"_quizBankID": 3
}
},
{
"_id": "b-106",
"_parentId": "a-20",
"_type": "block",
"_classes": "",
"title": "b-105",
"displayTitle": "",
"body": "",
"_trackingId": 35,
"_assessment": {
"_quizBankID": 4
}
},
{
"_id": "b-107",
"_parentId": "a-20",
"_type": "block",
"_classes": "",
"title": "b-105",
"displayTitle": "",
"body": "",
"_trackingId": 36,
"_assessment": {
"_quizBankID": 5
}

 

And this is my Article: 

{
"_id": "a-20",
"_parentId": "co-20",
"_type": "article",
"_classes": "",
"title": "a-20",
"displayTitle": "",
"body": "",
"_assessment": {
"_isEnabled":true,
"_id": "Assessment 1",
"_banks": {
"_isEnabled": true,
"_split": "2,1,1,1,1",
"_randomisation": true
},
"_randomisation": {
"_isEnabled": false,
"_blockCount": 1
},
"_questions": {
"_resetType": "hard",
"_canShowFeedback": false,
"_canShowMarking": true,
"_canShowModelAnswer": false
},
"_isPercentageBased" : true,
"_scoreToPass" : 80,
"_includeInTotalScore": true,
"_assessmentWeight": 1,
"_isResetOnRevisit": false,
"_attempts": 5
}

 

but in the console log i'm getting this message: Cannot Read property '_quizBankID' of undefined.

Why?????