Picture of Renan Jon Manuel
Require assessment pass
by Renan Jon Manuel - Monday, 1 June 2020, 11:32 PM
 

Good day,

Programmed a course using Adapt framework v4, I set the spoor on the config.json as follows:

"_spoor": {
        "_isEnabled"true,
        "_tracking": {
            "_requireCourseCompleted"false,
            "_requireAssessmentPassed"true,
            "_shouldSubmitScore"true,
            "_shouldStoreResponses"true,
            "_shouldRecordInteractions"true
        },

It is my understanding that the learner doesn't have to go through the whole course, just pass the assessment in order to get a completion status submitted on the LMS, but somehow, it doesn't complete.

The spoor extension version im using is "2.1.3"
and adapt-contrib-assessment is "2.1.2"

Thank you
Picture of Matt Leathes
Re: Require assessment pass
by Matt Leathes - Friday, 5 June 2020, 7:38 PM
 

If you're using FW v4 then you really need to be using a more up-to-date version of the spoor extension than v2.1.3 - I'm honestly a little surprised this is the only problem you've encountered!

You should probably use the latest version of spoor i.e. v3.3.2

(Essentially in v3 (?) of Adapt we had to move a lot of the 'completion logic' out of spoor and into the framework code so that it didn't have to be duplicated in the xAPI extension)

You should also probably consider moving to a more recent version of both the assessment extension (v3.1.1) and, if used, the assessmentResults component (v3.3.1)