Font Size of New Cards should use Mode
Brought to you by:
ronnystandtke
When I choose all card in a batch and choose "set font", Pauker picks up the format of the most common formatting. This is quite handy to format newly added or imported cards to match the format of existing ones. However, for the font size Pauker picks the average (mean) of existing cards; it should pick the mode (most common size).
For example, if I select [Card 1: 30 pt] [Card 2: 30 pt] [Card 3: 30 pt] [Card 4: 9 pt],
Pauker should default to 30 pt, not 25 pt.
Here is the counter example:
You have selected cards with the following font sizes: 1, 1, 20, 21, 22
The average would be 13, the most common one would be 1. IMHO the average is the better selection. Any better ideas?
The solution would be to use the average, but disregard outliers... but then is it worth it to do the statistical analysis just for this?
The current implementation is a bit odd. For the font size, Pauker uses the average (mean), for the font colour, Pauker uses the mode (most common colour).
What about having a lesson default font and size? Ok, this would imply a dataformat change