Menu

#41 Score is stored twice

open
8
2011-07-11
2011-06-13
No

We are analyzing the scoring service to implements features using this service in our tool.

I create a challenge "http://tid.es/challenges#Newbie_badge" and i try to making events to store users scores. But these scores are stored in a strange way. It seems scoring has a internal algorithm and do not store scoreDifference directly. This, or have a bug in one of the functions provided. I did not found this "algorithm", so i suppose this is a bug.

I try to explain this with the following example:

http://services.insemtives.eu/platform-rest/scoring-service/changeScore?
json=
{
"date": "2011-06-13 9:12",
"challenge": "http://tid.es/challenges%23Newbie_badge",
"user": "http://www.facebook.com/people/Pau_Gasol",
"scoreDifference": 1,
"name": "Tag Annotation with OKenterprise tool",
"createdAnnotationURI" : "http://uriAnotation",
"annotatedResourceURI" : "http://tid.es/imagenes/einstein.jpg"
}

Returns an 1 value.

But if i load scores to this challenges:

http://services.insemtives.eu/platform-rest/scoring-service/loadScores?json=\{%22challenge%22:%20%22http://tid.es/challenges%23Newbie_badge%22}

"challenge" : "http://tid.es/challenges#Newbie_badge",
"user" : "http://www.facebook.com/people/Pau_Gasol",
"score" : 2,
"badges" : [ ]
} ]

I obtain a "2". Its is a bug? I think the score is stored twice.

Discussion

  • Daniel Fernández Casado

    • priority: 5 --> 6
     
  • Daniel Fernández Casado

    • priority: 6 --> 7
     
  • Daniel Fernández Casado

    • priority: 7 --> 8
     
  • Daniel Fernández Casado

    Any news?

    I increased ticket priority because we are very interesting with the integration of the scoring-service in our application.

    Thanks!

     

Log in to post a comment.

MongoDB Logo MongoDB