Only compute the number of completed review when ratings is not empty
@@ -1338,11 +1338,11 @@ var buildSPCTableRow = function(index, areaChair, papers) {
averageRating = _.round(_.sum(ratings) / ratings.length, 2);
minRating = _.min(ratings);
maxRating = _.max(ratings);
- }
if (ratings.length == numOfReviewers) {
numCompletedReviews++;
}
+ }
if (paper.metaReview) {
numCompletedMetaReviews++;
