A better default scoring script for Amarok 2

Karthik Periagaram karthikp at gatech.edu
Mon Dec 15 18:02:12 CET 2008


New scoring patch attached.

On Monday 15 December 2008 00:11:20 Mark Kretschmann wrote:
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_scoring.patch
Type: text/x-patch
Size: 2143 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/amarok-devel/attachments/20081215/239c4e6a/attachment.patch 


More information about the Amarok-devel mailing list