Commit Graph
14 Commits
Author SHA1 Message Date
swaits 4167b05bc0 chore: remove Sourcehut CI manifest
Migrated to git.swaits.com; Sourcehut builds no longer run.
2026-08-31 17:16:26 -06:00
swaits 51ca8a90eb add github mirror 2024-01-29 10:37:49 -07:00
swaits c5fa604d86 add LICENSE 2020-04-24 09:42:09 -07:00
swaits e8a0474c8b add and update license 2013-07-30 02:15:09 -07:00
swaits 73bc8ffa23 add comments, change constant name, add ProbWin() 2013-07-30 02:12:55 -07:00
swaits f4b06ae191 merge 2013-07-30 01:54:47 -07:00
swaits a8d34856b2 first version in go 2013-07-30 01:42:45 -07:00
swaits cbe79afd1f add decay when results are empty and retab file 2013-07-30 01:42:17 -07:00
swaits 6d99d00885 cleanup
* pull more stuff into temps to clarify long equations
2011-12-19 17:39:28 -08:00
swaits 26d92ea617 misc. cleanup
* minor variable rename for clarity (x => x1)
* use temps in long calculation (rating update) for clarity
2011-12-19 17:31:58 -08:00
swaits fbce23608e add p_win method and misc cleanup and refactoring
* change g2rating,etc. to attr_reader (instead of attr_accessor)
* move @dvolatility into DVOL constant
* add p_win
* make comparison operator use p_win(self,other)
* use << when adding to results array instead of .push()
* improved comments; mostly from Glicko2 document
* minor variable renaming to improve readability
* clear results array after ratings are finally updated (no functional change, just cleaner)
2011-12-19 17:13:45 -08:00
swaits 59537258f7 refactoring (some formatting, mostly ruby'ization) 2011-12-19 15:23:11 -08:00
swaits b240814147 update() now handled case correctly when a player hasn't participated in a session
* when a player has no results, deviation is slightly increased properly now
2011-12-19 15:10:38 -08:00
swaits 723952b178 formatting updates 2011-04-26 18:03:21 -07:00