A better default scoring script for Amarok 2

Mark Kretschmann kretschmann at kde.org
Mon Dec 15 06:11:20 CET 2008


On Mon, Dec 15, 2008 at 1:23 AM, Karthik Periagaram <karthikp at gatech.edu> wrote:
> Thanks to Andreas for raising concerns about the score approaching 100 - in
> making the plot I've attached, I found that I left out a damping 0.01 factor
> that tempers the effect of the 1/playCount function. The newScore line should
> read as follows:
>
> newScore = ( ( 5 * rating + 0.5 * oldScore ) + ( 100 - ( 5 * rating + 0.5 *
> oldScore ) ) * ( 0.01 * playCount / ( 0.01 * playCount + 1 ) ) ) * ( 0.9 + 0.1
> * playedFraction );

All that said, it would be nice if you could make a real patch out of
this (even if the change is trivial), instead of pasting the code
here.

Proceed like this:

svn diff > new_scoring.patch

-- 
Mark Kretschmann
Amarok Developer
www.kde.org - amarok.kde.org


More information about the Amarok-devel mailing list