The score can be negative
@@ -442,11 +442,9 @@ public class SegmentServiceImpl extends AbstractServiceImpl implements SegmentSe
if (scoreModifiers != null && scoreModifiers.containsKey(scoringId) && scoreModifiers.get(scoringId) != null) {
score += scoreModifiers.get(scoringId);
}
- if (score > 0) {
scores.put(scoringId, score);
}
}
- }
return new SegmentsAndScores(segments, scores);
}
