[haiku-depot-web] Re: Update; Fixes, Russian Updates, Edit Fallback Localization Changes

  • From: Andrew Lindesay <apl@xxxxxxxxxxxxxx>
  • To: haiku-depot-web@xxxxxxxxxxxxx
  • Date: Tue, 21 Apr 2015 07:26:02 +1200

Hi Stephan;

Yes, as you have guessed, it is a bit more complex on the HDS side with a few rules around choosing which user ratings to utilize in the average. See the documentation [1] (which I'm hoping to get into a more digestable format sometime!) section 4. Would it be possible to use those ones derived from HDS? If that were the case then there would be no chance of a discrepancy.

Regards

[1] http://www.silvereye.co.nz/tmp/haikudepotserver-docs-30mar2015-tmp.pdf

On 21/04/15 2:42 am, Stephan Aßmus wrote:

Hi,

Am 19.04.2015 um 12:37 schrieb Andrew Lindesay:
Stephan; are you independently calculating those user-ratings
desktop-side as well?

yes. This was present way before there was HDS and I planned to
synchronize this, but have not gotten around to it. I do read the HDS
average rating and display it in the list, but as soon as a user clicks
a package and I download the actual ratings for it, HaikuDepot
calculates its own average rating. I don't know how you do it, but I
just sum them up and divide by their number. Maybe you do something more
elaborate and also factor in for which version a rating had been given
and so weight more recent ratings higher.

Best regards,
-Stephan





--
Andrew Lindesay

Other related posts: