config.score_overrides_enabled - Initialization - Items API

Items API Initialization

score_overrides_enabled

Controls whether Question score overrides are applied when processing an Activity or Item request.

You would want to use this so that you can assign Activity-specific point values to Questions without modifying the original Item validation settings.

When set to true:

  • Allows Item-level score_overrides to be applied to Questions.
  • Each Item can specify a score_overrides array mapping Question references to numeric points.
  • These points are applied as validation_overrides.valid_response.score on matching Questions.

When set to false or not set:

  • Points overrides are not applied, even if Items contain score_overrides data.
  • Questions retain their original validation points.

Examples

var initializationOptions = {
    "config": {
        "score_overrides_enabled": true
    },
    "items": [
        {
            "reference": "item-1",
            "score_overrides": {           // <-- Mapping of custom points per question
                "question-ref-1": 10,
                "question-ref-2": 5
            }
        }
    ]
};

Values

Attribute path config.score_overrides_enabled

Type boolean

Versioning

Version added: v2026.1.LTS

Was this article helpful?

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