Commit graph

90 commits

Author SHA1 Message Date
Kiana Sheibani 6f969cd231
Fix underflow bug when computing time decay 2023-11-02 14:03:01 -04:00
Kiana Sheibani e51f4e2962
Update version to 0.2.0 2023-10-14 00:45:07 -04:00
Kiana Sheibani 21e0c62480
Improve dataset management UI 2023-10-14 00:13:00 -04:00
Kiana Sheibani 56bb676545
Update unit tests to mock datasets properly 2023-10-13 22:26:56 -04:00
Kiana Sheibani de9e668a72
Allow configuration of country and state when creating dataset 2023-10-13 19:13:17 -04:00
Kiana Sheibani 3d97028b92
Add more configurable metadata to datasets 2023-10-13 18:15:25 -04:00
Kiana Sheibani fae735d29b
Update README 2023-10-13 18:15:10 -04:00
Kiana Sheibani 71b81789f3
Transition to Glicko-based scoring system 2023-10-13 15:23:36 -04:00
Kiana Sheibani 0477d76322
Tweak hypothetical advantage algorithm 2023-10-05 22:37:36 -04:00
Kiana Sheibani f905dfdbc3
Remove outdated code 2023-10-05 22:14:29 -04:00
Kiana Sheibani 1013a1ee17
Use shortest-path to calculate hypothetical adv.
This is much more efficient than taking an average, at the cost of being
slightly less optimal.
2023-10-05 22:10:24 -04:00
Kiana Sheibani 0771e5c370
Fix hypothetical advantage not being calculated 2023-10-05 22:10:13 -04:00
Kiana Sheibani 38e0937d8f
Fix SQL view not being deleted with dataset 2023-10-05 22:08:13 -04:00
Kiana Sheibani 376a8588b9
Create convenience view for each dataset 2023-10-05 01:55:31 -04:00
Kiana Sheibani 473b9c60a6
Write unit tests and fix various bugs 2023-10-05 01:47:09 -04:00
Kiana Sheibani 2e3bd017f3
Implement RNR rating adjustment 2023-10-04 18:06:44 -04:00
Kiana Sheibani 1b603bf727
Update README 2023-10-03 23:48:25 -04:00
Kiana Sheibani d3459346f7
Rename to StartRNR
We're pivoting, baby!
2023-10-03 23:37:51 -04:00
Kiana Sheibani ad6445bcd2
Improve dialog if no datasets exist 2023-10-03 23:21:31 -04:00
Kiana Sheibani 1421720b2b
Various improvements 2023-10-03 01:26:25 -04:00
Kiana Sheibani 5dc8a6d766
Make the dataset listing slightly more polished 2023-10-03 01:25:35 -04:00
Kiana Sheibani 6afcd444a7
Prevent 2-second sleep every query 2023-10-02 20:39:32 -04:00
Kiana Sheibani 07f95ddd17
Require query variables to be Copy 2023-10-02 20:34:54 -04:00
Kiana Sheibani 23ecce06d5
Add more metadata to datasets 2023-10-02 20:29:39 -04:00
Kiana Sheibani a4f130b36e
Add better error messages 2023-10-01 14:55:15 -04:00
Kiana Sheibani e16b0be447
Separate sync query to reduce complexity 2023-09-30 18:16:00 -04:00
Kiana Sheibani c70fc7506a
Add usage help and documentation 2023-09-30 05:14:50 -04:00
Kiana Sheibani 9feba1a136
Various fixes 2023-09-30 04:37:10 -04:00
Kiana Sheibani 0f71cfa3c5
Fix declaration of deleted module 2023-09-30 01:46:06 -04:00
Kiana Sheibani cd98f0cd26
Implement basic logic for syncing 2023-09-30 01:43:33 -04:00
Kiana Sheibani 3ed8c6ad71
Rename default dataset 2023-09-30 00:23:50 -04:00
Kiana Sheibani c3a35c5ef6
Implement dataset deletion 2023-09-30 00:22:48 -04:00
Kiana Sheibani 0e9fddec9e
Rework database to store all datasets in one sqlite file 2023-09-27 15:19:28 -04:00
Kiana Sheibani 3130d82e95
Implement beginnings of CLI 2023-09-26 22:36:03 -04:00
Kiana Sheibani c8cb974762
Create struct for global app state 2023-09-26 21:37:13 -04:00
Kiana Sheibani da6b4a9220
Fix dataset file getting cleared on startup 2023-09-26 21:35:14 -04:00
Kiana Sheibani 5d0fbcd107
Update documentation 2023-09-23 03:37:22 -04:00
Kiana Sheibani dd4f0838ab
Move CLI crate to root of workspace
Somehow I missed that this was a thing you could do? It's a much
cleaner organization, and it makes it so that you don't have to
explicitly specify the crate to build.
2023-09-23 03:01:36 -04:00
Kiana Sheibani 2c6587aca1
Implement glue code between queries and sqlite 2023-09-23 02:39:29 -04:00
Kiana Sheibani d30dfb5372
Rework dataset functions to construct file 2023-09-23 02:38:49 -04:00
Kiana Sheibani 651c339ced
Write score calculation code 2023-09-23 02:36:28 -04:00
Kiana Sheibani 847547c248
Rework queries to be more convenient 2023-09-23 02:35:24 -04:00
Kiana Sheibani 6ce463b529
Add player names to tournament query 2023-09-23 00:11:53 -04:00
Kiana Sheibani fe4f82daeb
Rename query response datatypes 2023-09-02 23:25:17 -04:00
Kiana Sheibani 326da19523
Make player name optional 2023-09-02 21:27:21 -04:00
Kiana Sheibani 98f140afff
Remove generic variable type from QueryUnwrap trait 2023-09-02 21:22:29 -04:00
Kiana Sheibani 9d5ff8f125
Write player info query 2023-09-02 20:46:23 -04:00
Kiana Sheibani abd9f947ab
Hide implementation details of query 2023-09-02 19:48:47 -04:00
Kiana Sheibani 6287c325ef
Throw out sets containing invalid players
The previous code would keep these sets, but filter out the
invalid players. This has been changed to discard the set entirely.
2023-09-02 18:55:10 -04:00
Kiana Sheibani 1d870362b5
Generalize API request to handle teams of any size 2023-09-02 03:15:38 -04:00