]> git.tuebingen.mpg.de Git - paraslash.git/commit
Rework score formula.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 25 Nov 2019 20:22:35 +0000 (21:22 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 13 May 2021 16:07:57 +0000 (18:07 +0200)
commit86b5aba882056a6ff6d8645684e59222ba74a818
treee92ec988a27b05590c4ba768f21a91d028b2288f
parent5950bc81d20b5b6f9ddf1b34df3141cd542d2c6a
Rework score formula.

Currently the two scales for the num_played and the last_played
components of the score value are computed independently of each
other. There is, however, a natural link between the two scales:
a file with best possible num_played value (zero) and worst possible
last_played value (now) should receive the average score zero.

This patch employs this idea to rescale the two components. See the
new comment to compute_score() for details about the implementation.
mood.c