Picture of Suresh Kumar
Urgent: Multiple assessments
by Suresh Kumar - Saturday, 14 October 2017, 4:37 AM
 

Hi

I have developed a course with two assessments. The completion criteria are that the learner has to visit all the pages in the course and take both the assessments and get a minimum of 80% on both of the assessments. The assessment weight is set as 0.5 for both the assessments.

The first assessment has 17 questions. To get the passing score the learner should get 14 questions correct. This gives 82%.

The second assessment has 12 questions. To get the passing score the learner should get 10 questions correct. This gives 83%.

The problem I face here is that if I get the 100% in the first assessment and 75% in the second assessment, the course treated as completed. Because the cmi.core.score.raw _value set as 90. That makes the cmi.core.lesson_status _value as completed.

But I did not get the passing score on the second assessment, so cmi.core.lesson_status _value should be incomplete.

I am wondering how cmi.core.score.raw value becomes 90. It would be great if someone can suggest what I am missing or doing wrong.

I have shared the SCORM log in the attachment.

Here are the details for both the assessments and the completion criteria set on the Spoor:

Assessment 1:

"_assessment": {
"_isEnabled": true,
"_id": "test01",
"_attempts": -1,
"_isPercentageBased": true,
"_scoreToPass": 80,
"_includeInTotalScore": true,
"_assessmentWeight": 0.5,
"_suppressMarking": false,
"_isResetOnRevisit": true,
"_randomisation": {
"_isEnabled": false,
"_blockCount": -1
},
"_banks": {
"_isEnabled": false,
"_split": "",
"_randomisation": false
},
"_questions": {
"_resetType": "soft",
"_canShowFeedback": true,
"_canShowMarking": true,
"_canShowModelAnswer": true
}
},


Assessment 2: 

"_assessment": {
"_isEnabled": true,
"_id": "test02",
"_attempts": -1,
"_isPercentageBased": true,
"_scoreToPass": 80,
"_includeInTotalScore": true,
"_assessmentWeight": 0.5,
"_suppressMarking": false,
"_isResetOnRevisit": true,
"_randomisation": {
"_isEnabled": false,
"_blockCount": -1
},
"_banks": {
"_isEnabled": false,
"_split": "",
"_randomisation": false
},
"_questions": {
"_resetType": "soft",
"_canShowFeedback": true,
"_canShowMarking": true,
"_canShowModelAnswer": true
}
},

Spoor - Completion criteria:

"_spoor": {
"_advancedSettings": {
"_commitOnVisibilityChangeHidden": true,
"_suppressErrors": false,
"_commitRetryDelay": 2000,
"_maxCommitRetries": 5,
"_timedCommitFrequency": 10,
"_commitOnStatusChange": true,
"_showDebugWindow": true
},
"_reporting": {
"_resetStatusOnLanguageChange": false,
"_onAssessmentFailure": "incomplete",
"_onTrackingCriteriaMet": "completed"
},
"_tracking": {
"_shouldRecordInteractions": true,
"_shouldStoreResponses": true,
"_shouldSubmitScore": true,
"_requireAssessmentPassed": true,
"_requireCourseCompleted": true
},
"_isEnabled": true
}

 

Picture of Suresh Kumar
Re: Urgent: Multiple assessments
by Suresh Kumar - Monday, 16 October 2017, 12:15 PM
 

I made a minor code update on the assesment.js file under the adapt-contrib-assessment extension.

Updated the following line from

https://github.com/adaptlearning/adapt-contrib-assessment/blob/c395d4cb15f98f59664b5f1d5b6d9f468fd47c6d/js/assessment.js#L298

to

 if (state.isPass) assessmentsComplete++;

This update helped to ensure both the assessments are passed before the cmi.core.lesson_status _value set to completed.