summaryrefslogtreecommitdiff
path: root/lib/scoring_algorithms/Recommended.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/scoring_algorithms/Recommended.rb')
-rw-r--r--lib/scoring_algorithms/Recommended.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/scoring_algorithms/Recommended.rb b/lib/scoring_algorithms/Recommended.rb
deleted file mode 100644
index 8033bd2..0000000
--- a/lib/scoring_algorithms/Recommended.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-class Recommended
- def self.score(votes, win, blowout)
- fibonacci = Hash.new{ |h,k| h[k] = k < 2 ? k : h[k-1] + h[k-2] }
- fibonacci[votes+3] + (win ? blowout ? 12 : 10 : blowout ? 5 : 7)
- end
-end
-
-#puts Recommended.score(4, true, false)