Active
Project:
Fivestar Recommender
Version:
6.x-3.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2011 at 17:46 UTC
Updated:
30 Sep 2011 at 13:23 UTC
Dan,
I installed the newest version of the Fivestar Recommender (6.x-3 Alpha 2) -- and I'm getting the same issue that came up with the duplicate ratings.
What's the logic you're using to check for dupes? The dupes that I'm seeing (and I still don't know WHY) seem to be from someone changing their ratings REALLY quickly, so you get two different ratings in the system for the same uid/content_id combination. (in some cases, there's even 3).
I will be writing a script to clean these up, but I'd rather not have to run it as frequently as I run the recommender (which is pretty constant).
Cheers,
-Connor
Comments
Comment #1
angusmccloud commentedI verified it is still breaking on dupes. I wrote a quick script that deletes duplicates, and now it's running. Script is pasted below in case anyone else wants to grab it (this could almost definitely be done with less lines of code, I was just trying to get something together).
Comment #2
danithaca commentedcool. will take a look soon.