Observed behavior
In the user interface for editing exercises, if nothing has been toggled for randomize then it shows as unselected in the UI. However, when publishing, if there is no randomize attribute in extra_fields it assumes that it should be randomized.
This mismatch would lead to confusion.
Expected behavior
I think the simplest fix is for the UI to display randomize as checked if extra_fields.randomize is undefined, this would then be in line with the publishing behaviour. Changing the default in publishing might have unexpected consequences for cheffed channels and previously published channels.
User-facing consequences
Confusion about ordering of questions.
Observed behavior
In the user interface for editing exercises, if nothing has been toggled for
randomizethen it shows as unselected in the UI. However, when publishing, if there is norandomizeattribute inextra_fieldsit assumes that it should be randomized.This mismatch would lead to confusion.
Expected behavior
I think the simplest fix is for the UI to display
randomizeas checked ifextra_fields.randomizeis undefined, this would then be in line with the publishing behaviour. Changing the default in publishing might have unexpected consequences for cheffed channels and previously published channels.User-facing consequences
Confusion about ordering of questions.