Make the evaluator's review weights configurable.
[match/match.git] / program / PMDefaults.hs
index a68d182..2f4a687 100644 (file)
@@ -67,6 +67,14 @@ expertBonus = 1000,
 numTopics = 20,
 
 -- Exponent of the Zipf distribution used to choose topics for each proposal.
-topicZipfExponent = -0.5
+topicZipfExponent = -0.5,
+
+-- === Parameters for the matching evaluator ===
+
+-- The weights given to the best, ..., worst review of a proposal in evaluating
+-- its "unhappiness".  Default is [reviewsEachProposal, ..., 1] since it's most
+-- important for the best review to be good.
+reviewEvalWeights = let rep = reviewsEachProposal pmDefaults in
+       map numAsWt [rep, rep-1 .. 1]
 
 }