From 8473fc839a549d1647b61a2c32331104521ddbcd Mon Sep 17 00:00:00 2001 From: Tom Bloor Date: Thu, 17 Aug 2017 15:29:00 +0100 Subject: [PATCH] Initial docs on Leaderboard concepts --- doc/Leaderboards.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/Leaderboards.md diff --git a/doc/Leaderboards.md b/doc/Leaderboards.md new file mode 100644 index 0000000..8902337 --- /dev/null +++ b/doc/Leaderboards.md @@ -0,0 +1,12 @@ +# Leaderboards + +## Recalculation + +To figure out if a Leaderboard needs recalculation, the easiest way is to get +the transaction set that it corresponds to, and compare either the sum or count +of that result set to the sum of the leaderboard values. + +This can be done at any time, but if recalculation is needed then ALL +leaderboards newer than one that doesnt match (of the same type) will need +recalculating due to possible position changes, and therefore the trend +changing.