diff --git a/middleware/confidenceScore.js b/middleware/confidenceScore.js index ef27b1e5..6c55bc27 100644 --- a/middleware/confidenceScore.js +++ b/middleware/confidenceScore.js @@ -52,7 +52,7 @@ function computeScores(req, res, next) { function computeConfidenceScore(req, mean, stdev, hit) { var dealBreakers = checkForDealBreakers(req, hit); if (dealBreakers) { - hit.confidence = 0; + hit.confidence = 0.5; return hit; } @@ -252,4 +252,4 @@ function computeStandardDeviation(scores) { } -module.exports = setup; \ No newline at end of file +module.exports = setup;