This PR adds support for migrating the legacy "magic spreadsheet" - and applying the learning model found there to a course digest.
The approach here is straightforward:
There is a new, optional command line parameter for the convert action: spreadsheetPath, which should point to the location of the magic spreadsheet for the course that one is wanting to convert.
The digest tool will read and process the spreadsheet file, normalizing the four tabs of data into a collections of spreadsheetSkills, spreadsheetObjectives and spreadsheetAttachments.
Finally, the learning model processed from the spreadsheet is applied to the resources and learning model that was initially found in the XML of course. This step is careful to allow 'merging' of data... so cases where an objective is defined in XML, but then present in the spreadsheet with different parameters is honored.
Note: an new parameters field is created for Objective resources. This is the skill and objective learning parameters used in the learning dashboard algorithm. There will need to be a follow up PR in oli-torus to add this as a new filed to Revision and to process it on ingest.
This PR adds support for migrating the legacy "magic spreadsheet" - and applying the learning model found there to a course digest.
The approach here is straightforward:
convert
action:spreadsheetPath
, which should point to the location of the magic spreadsheet for the course that one is wanting to convert.spreadsheetSkills
,spreadsheetObjectives
andspreadsheetAttachments
.Note: an new
parameters
field is created for Objective resources. This is the skill and objective learning parameters used in the learning dashboard algorithm. There will need to be a follow up PR inoli-torus
to add this as a new filed toRevision
and to process it on ingest.