From 71d506c01f8d6d8f380555df90f78e23ed509eaf Mon Sep 17 00:00:00 2001 From: Steve Colburn Date: Sun, 20 Sep 2020 22:34:23 -0400 Subject: [PATCH] Update collection.cpp Doubles sigma rate as per accepted Board motion and proposal as described by https://www.usgo.org/sites/default/files/boardminutes/AGA%20Board%20Minutes%209-8-2019.pdf --- collection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collection.cpp b/collection.cpp index 81cb8a1..dad9d2c 100644 --- a/collection.cpp +++ b/collection.cpp @@ -614,7 +614,7 @@ void collection::initSeeding(map &tdList) { if (deltaR < 0) { It->second.seed = tdListIt->second.rating; int dayCount = boost::gregorian::date_period(tdListIt->second.lastRatingDate, tournamentDate).length().days(); - It->second.sigma = sqrt(tdListIt->second.sigma * tdListIt->second.sigma + 0.0005 * 0.0005 * dayCount * dayCount); + It->second.sigma = sqrt(tdListIt->second.sigma * tdListIt->second.sigma + 0.001 * 0.001 * dayCount * dayCount); } // Is this a self promotion by more than three stones? // If so, treat as a reseeding. Players must win at least one game @@ -632,7 +632,7 @@ void collection::initSeeding(map &tdList) { else { It->second.seed = tdListIt->second.rating; int dayCount = boost::gregorian::date_period(tdListIt->second.lastRatingDate, tournamentDate).length().days(); - It->second.sigma = sqrt(tdListIt->second.sigma * tdListIt->second.sigma + 0.0005 * 0.0005 * dayCount * dayCount); + It->second.sigma = sqrt(tdListIt->second.sigma * tdListIt->second.sigma + 0.001 * 0.001 * dayCount * dayCount); } } // cout << "Seed: " << It->second.id << '\t' << It->second.seed << '\t' << It->second.sigma << endl;