summaryrefslogtreecommitdiff
path: root/lib/scoring
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-04-27 18:25:10 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-04-27 18:25:10 -0400
commit8b1e26bf00c7e536def47ae4ef3441192f154aa8 (patch)
treed439d299ab281df4c51af06fc3c13bfb416e546c /lib/scoring
parentc16c1b2928d0156fc00617a6abd81f4714045e5e (diff)
parentcc7faa1bc3a542e0ea057971d37aa400f711d8c0 (diff)
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'lib/scoring')
-rw-r--r--lib/scoring/README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/scoring/README.md b/lib/scoring/README.md
index 95dd5e0..5beb0a2 100644
--- a/lib/scoring/README.md
+++ b/lib/scoring/README.md
@@ -1,10 +1,15 @@
-Files in this directory should be modules implementing the following
+Scoring interface
+=================
+
+Files in this directory should be _modules_ implementing the following
interface:
- `stats_needed() => Array[i]=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.