Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,12 @@ The rating, rating deviation and volatility parameters will change as follows:
//newRating.toGlicko1: rating: 1600, deviation: 227.74, volatility: 0.059998
```

## Customisation
## Customise

### Weights of results

The simple implementation of the `EloResult` trait provided allows three outcomes: win, draw or loss with
weights 1.0, 0.5, 0.0, respectively. This can be fine tuned to differentiate between outcomes like 3:0 and 3:2,
to better reflect true players' level in ELO computations. An example implementation for racquet sports can be found
[here](https://github.com/forwardloop/highrung-model/blob/master/src/main/scala/highrung/model/RacquetEloResult.scala)

5 changes: 5 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@ publishTo := Some(
else
Opts.resolver.sonatypeStaging
)

coverageEnabled := true

scapegoatVersion in ThisBuild := "1.1.0"

7 changes: 5 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ import sbt._

logLevel := Level.Warn

addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.3.5")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")

addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.1.0")

addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.0")

addSbtPlugin("com.sksamuel.scapegoat" %% "sbt-scapegoat" % "1.0.4")

Loading