summaryrefslogtreecommitdiff
path: root/lib/scoring/README.md
blob: efdc3cc197435bf3ebe765e8b3c9989e2a1d8424 (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[]=String`

   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.