Commit graph

83 commits

Author SHA1 Message Date
1d07cf67b1
fix: handling bdrs from ones 2024-01-01 11:38:57 +01:00
ea723bdaff
fix: count ones as bdr only if the second copy is lost 2023-12-31 20:23:00 +01:00
542d40282a
correctly detect bottom deck situations 2023-12-31 20:17:17 +01:00
7a1adfa178
remove print 2023-12-31 12:06:17 +01:00
975c275718
name PSQL subquery 2023-12-31 12:05:38 +01:00
e249ff5cf7
change x-axis scale: number games for elo charts 2023-12-31 12:03:52 +01:00
5a7db5a873
stash 2023-12-30 23:03:36 +01:00
6408d24de9
add variant elo progression charts 2023-12-30 23:03:36 +01:00
aedf4a1008
Fix: evaluate k-factor per rating type correctly
For a low number of games (K=20 for default config),
the K-factor is higher than usual. This was evaluated globally
and not per rating type as it should be.

This commit introduces counting the number of played games per
rating type now, leading to K-factors which are independ across
rating types
2023-12-30 22:00:20 +01:00
b16b90e1c1
Add API endpoint 2023-12-28 23:59:46 +01:00
57a5a6aa35
variant stat overview per rating type 2023-12-28 23:13:45 +01:00
4b3c4eb3cf
fix url encoding in player names 2023-12-28 12:25:12 +01:00
5af11b9134
add list of games to variant pages 2023-12-27 18:42:50 +01:00
1481817a72
remove prints 2023-12-27 17:33:34 +01:00
42b103343c
fix update 2023-12-26 18:01:58 +01:00
7a44378e9e
remove prints 2023-12-26 17:28:50 +01:00
a529a72388
add cli to refresh all games 2023-12-26 17:23:53 +01:00
78bdd8397c
rework game fetching: deduplicate code, fetch timestamps 2023-12-26 17:19:02 +01:00
e01b7fe823
Add time stamps to games in tables 2023-12-26 16:16:35 +01:00
181dd35ea6
Revert "Add time stamps to games in tables"
This reverts commit 41e8fb9c85.
2023-12-26 14:11:53 +01:00
66a08496d8
stats page: add list of variant ratings 2023-12-26 13:47:31 +01:00
41e8fb9c85
Add time stamps to games in tables 2023-12-26 12:49:53 +01:00
498f460ccd
leader cards: implement ties 2023-12-26 12:49:53 +01:00
8c29d0ddc0
remove print 2023-12-24 23:40:16 +01:00
c525f80fe9
postgres: add table alias to query 2023-12-24 23:39:34 +01:00
8e1b84467b
Add player tab featuring table of players 2023-12-24 23:33:36 +01:00
d3f0f56244
only show active players in leaderboards 2023-12-24 11:35:39 +01:00
7446bd2916
Add table of played games to user pages 2023-12-23 10:50:18 +01:00
d238c3b67e
Add 'loss' to game outcomes in case nothing else has been found 2023-12-23 02:48:35 +01:00
295458f3f6
expand CLI 2023-12-22 12:23:22 +01:00
dee13076e4
proper description for current streak 2023-12-22 11:49:26 +01:00
ef48441483
Fix display of games on webpage: Do not show passive variant rating
changes
2023-12-22 11:38:13 +01:00
4b760e5f84
Variant ratings: Constant sum of rating
Whenever a variants gains/loses points now,
we ensure that the sum of all variant ratings of that type stays
constant by adjusting all other variants in the opposite direction.
2023-12-22 11:20:58 +01:00
707c1814ef
adjust database scheme: rename some fields and introduce rating type to
variants
2023-12-20 01:20:49 +01:00
b376d1b95b
update variants.json url 2023-12-19 22:19:15 +01:00
dd13cd4ae9
player pages: add rating, fix bug on rating type 2023-12-11 00:18:54 +01:00
b1d0ae5dfd
Add player pages (draft) 2023-12-10 19:47:07 +01:00
cd3c4190b2
Add links to player column in tables 2023-12-10 12:04:31 +01:00
42a0d7059c
Implement fetching new league users 2023-12-09 13:51:10 +01:00
45300c1779
better variant sorting 2023-12-08 22:16:35 +01:00
0e0bb06780
add dropdown menu for easier variant navigation 2023-12-08 22:12:46 +01:00
5553124d59
maximum streak sorting: use age of streak as tiebreak 2023-12-08 17:47:32 +01:00
42aa041406
fix stored variant ids and streak ordering 2023-12-08 12:46:27 +01:00
d5ec46a3dd
Generate empty leader cards 2023-12-08 12:02:46 +01:00
29e0e9b189
simply variant tables: less data repetition 2023-12-07 16:37:55 +01:00
89a14b6bc1
add summary stats 2023-12-05 18:17:06 +01:00
4461a680fd
rename main template 2023-12-05 17:40:38 +01:00
befb81caa8
deduplicate website templates 2023-12-05 17:39:33 +01:00
80964bbe21
html cleanup 2023-12-05 17:28:55 +01:00
1b3ca35dd6
use string representations for game outcomes 2023-12-05 16:02:08 +01:00