subscores - Initialization - Items API

Items API Initialization

subscores

Define which Items or Item Tags should be used to create subscore groups for further calculations and analysis. Subscores are a breakdown of a total score achieved for an Activity. They allow you to extract groups of Items, and focus on scoring them separately.

You would want to use this option so that you can view the processed results using Data API.

See Using Subscores With Your Activities for further information and examples.

Examples

// Start the assessment in the "review" state
var initializationOptions = {
    "subscores": [
        {
            "id": "subscore-test-1",
            "title": "Subscore Test 1",
            "items": [
                "Practice Test 10",
                "Practice Test 2"
            ]
        },
        {
            "id": "subscore-test-2",
            "title": "Subscore Test 2",
            "items": [
                "Practice Test 1",
                "379811379",
                "379805300"
            ]
        },
    ]
    // ...
};

Values

Attribute path subscores

Type array[subscoreDefinition]

Related articles

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.