setItemDifficulty - Methods - Author API

Author API Methods

setItemDifficulty()

Sets the difficulty of the Item being edited.

You would want to use this method so that you can make your own calculations based on the difficulty value in an adaptive assessment context, for example.

Examples

var hasUpdatedDifficulty = authorApp.setItemDifficulty(difficulty);
console.log(hasUpdatedDifficulty);

Arguments

  • difficulty number

    The difficulty to apply to the current Item. This is a numeric measure according to the Rasch model.

Return value

Type boolean

Returns true if successful.

Returns false if unable to set the Item difficulty, for example, when not in the Item editor view.

Related articles

Was this article helpful?

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