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_overridesto be applied to Questions. - Each Item can specify a
score_overridesarray mapping Question references to numeric points. - These points are applied as
validation_overrides.valid_response.scoreon matching Questions.
When set to false or not set:
- Points overrides are not applied, even if Items contain
score_overridesdata. - 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