Ticket #429 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

annotated.groovy counts ratings incorrectly

Reported by: russ Assigned to: ebrown
Priority: critical Milestone:
Component: topaz Version: 0.7
Keywords: annotated.groovy Cc:
Blocking: Blocked By:

Description

annotated.groovy is counting ratings. this is a good thing! ratings are, of course, annotations and we do want to inform authors of their new ratings.

however, annotated.groovy is counting ratings incorrectly.

an article without ratings is counted correctly. an article with ratings is getting an extra +1 bonus.

for example, on our dev server:

  • article 448 has 0 annotations, 0 discussions, 2 ratings. annotated.groovy counts 3.
  • article 527 has 2 annotations, 1 discussion, 4 ratings. annotated.groovy counts 8.
  • article 258 has 10 annotations, 4 discussions, 0 ratings. annotated.groovy counts 14.

this shouldn't delay the 0.7 rpms, but it would be nice if it could be fixed some time next week.

[root@plosone-dev ~]# /usr/local/topaz/bin/rungroovy /usr/local/topaz/scripts/annotated.groovy -F fedora-dev.plos.org:9090 -M mulgara-dev.plos.org:9091
info:doi/10.1371/journal.pone.0000527   Human Muscle Satellite Cells as Targets of Chikungunya Virus Infection  ceccaldi@pasteur.fr     8.0
info:doi/10.1371/journal.pone.0000258   Urban Physiology: City Ants Possess High Heat Tolerance mangilletta@indstate.edu        14.0
info:doi/10.1371/journal.pone.0000448   LRP1 Functions as an Atheroprotective Integrator of TGFβ and PDGF Signals in the Vascular Wall: Implications for Marfan Syndrome    joachim.herz@utsouthwestern.edu 3.0

}}}

Dependency Graph

Change History

06/28/07 11:08:02 changed by amit

  • milestone changed from 0.7 to 0.71.

To avoid confusion this is being moved to 0.71

06/28/07 11:42:28 changed by russ

ahh, thanks! i didn't realize there was an interim milestone.

06/28/07 12:00:35 changed by amit

:) I just created it. Please see my email with regards to Trac process.

07/04/07 11:18:50 changed by ebrown

  • status changed from new to closed.
  • resolution set to fixed.

(In [3095]) fixes #429 Remove RatingSummaryAnnotation?-s from annotation counts

10/29/07 21:13:41 changed by

  • milestone deleted.

Milestone 0.71 deleted