Browse Source

Change magic number for deal breakers to 0.5

pull/220/head
Diana Shkolnikov 9 years ago
parent
commit
66710f0c88
  1. 2
      middleware/confidenceScore.js

2
middleware/confidenceScore.js

@ -52,7 +52,7 @@ function computeScores(req, res, next) {
function computeConfidenceScore(req, mean, stdev, hit) { function computeConfidenceScore(req, mean, stdev, hit) {
var dealBreakers = checkForDealBreakers(req, hit); var dealBreakers = checkForDealBreakers(req, hit);
if (dealBreakers) { if (dealBreakers) {
hit.confidence = 0; hit.confidence = 0.5;
return hit; return hit;
} }

Loading…
Cancel
Save