Parley Bug Fix: #266368

Andreas Cord-Landwehr cordlandwehr at
Mon Feb 3 16:03:48 UTC 2014

On Monday 03 February 2014 20:53:25 Amarvir Singh wrote:
> The %age completion is calculated in a recursive manner, in simple 
terms it
> depends on the no. words in each grade. So, it doesn't depend on just 
> grade bar, but all of the grade bars. If I understand it correctly, (and I
> have checked by calculating manually :P ) if for eg, all of the words in a
> lesson of 28 words are untried (grade 0), and then 1 of the words is 
> to be at the highest level (grade 7), then it will calculated as %age= (no.
> of words * grade of each word) / (total words * total grades=7)*100. So, 
> the eg stated it is (1*7)/(28*7)*100=3.57=4% as I checked. Even 
though this
> is quite difficult to depict as such in a progress bar, the bar can be seen
> as having layers one top of the other. Here we have grade 0 (untried 
> as white part of the bar, and each grade as a light green layer in itself.
> Now as few words increase in grade, it can be viewed as placing another
> light green layer on top signifying the completion of that grade. This
> makes that part of the bar darker, depicting an overall increase in 
> (I tried this with mom, and she could infer this pretty easily :) )

Thanks for the explenation! That made it clear for me. And this also 
convinced me that your proposed solution is the way to go :)
Could you put your patch at reviewboard? That is the simplest way to 
discuss such things.

Also I agree that there should be a way to explain to the user how the 
grade is calculated. But I would stay away from "tip of the day" or other 
messages which are doomed to be never read, since they are displayed at 
a moment when the user is not interested in getting informed. I would 
prefer to have an optional detailed view for the bars (appearing when 
clicking on them for example) which displays the actual boxes, words 
therein, numbers of words and visually calculates the grade...


PS: for completeness, in my last mail I had the _wrong_ assumption that 
one box contains the words that a learner never tried to learn and another 
box the words that were tried but marked as skipped (though they are 
obviously both in the same box)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-edu mailing list