summaryrefslogtreecommitdiff
path: root/lib/scoring/README.md
blob: dce71d0989cfa8899149b6b627ff3f6f40ba9eb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Scoring interface
=================

Files in this directory should be _modules_ implementing the following
interface:

 - `stats_needed(Match) => Array[]=Symbol`

   Returns which statistics need to be collected for this scoring
   algorithm.

 - `score(Match) => Hash[User]=Integer`

   User scores for this match, assuming statistics have been
   collected.