ahammel / arpad

elo ratings bot
Eclipse Public License 1.0
4 stars 1 forks source link

Fix data storage #5

Open ahammel opened 9 years ago

ahammel commented 9 years ago

This needs a real database solution.

Ideally, it should keep the raw results of each game with a timestamp, and a moving average summary. The summary would be essentially a materialized view on the current state of the pool. This would allow the 'undo' function to reach back into the past and update all subsequent games. We could also calculate new summary statistics as the need arises, or try out alternative rating schemes.

Good use case for Datomic?