We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fbfab2 + aa78ce5 commit 8e5d08dCopy full SHA for 8e5d08d
static/js/randomize_settings.js
@@ -105,7 +105,7 @@ function random_multi_select_setting(weights_obj) {
105
/** Generate a random list of values for a multi-select setting. */
106
const settingList = [];
107
for (const [option, weight] of Object.entries(weights_obj)) {
108
- let randValue = Math.random();
+ let randValue = Math.random() * 100.0;
109
if (randValue <= weight) {
110
settingList.push(option);
111
}
0 commit comments