Bug in spread priorities in the browser
From: {{{From}}}
Country: {{{Country}}}
Sent: {{{Sent}}}
Subject: {{{Subject}}}
Question:
I found a bug in Spread priorities. I have 13 elements in the browser and if I set minimum to Position=1 and then Step=1, only 12 elements get reprioritized. The last one is simply skipped.
Answer:
Yes. This is a bug. SuperMemo takes priority positions only as the input, but floating point numbers are used in actual conversions. In a large collection, for Step=1, rounding errors may result in the last element falling out of the desired range maximum. In such a case, instead of correcting the priority to fit the range, SuperMemo skips the conversion, which is not a desirable outcome. If you spot the error, increase the range, e.g. in your case to Maximum=14 (instead of Maximum=13).