Commit graph

20 commits

Author SHA1 Message Date
dartz b7033305ec we can save an api call here 2024-07-23 17:47:14 -04:00
dartz a5e824d5f0 only attach map if it actually exists 2024-07-23 17:24:05 -04:00
dartz a2a5eccdfa api test 2024-07-23 02:58:50 -04:00
Elijah R e7d63c3279 add popular vote to EC elections. TODO: add turnout counts to all other elections 2024-06-18 22:57:55 -04:00
Elijah R e8183499c6 add support for popular vote elections and add nk 2019 2024-06-18 21:57:56 -04:00
dartz f073c48cc7 Add approval rating command 2024-06-05 15:58:23 -07:00
dartz c3c543cf7e Add more elections 2024-06-05 15:57:45 -07:00
Elijah R 18ff28e0c2 add 1789 and 1968 2024-06-04 02:30:04 -04:00
Elijah R be525180c3 defer the response to prevent a fun little race condition 2024-06-04 01:16:47 -04:00
Elijah R 20292a7160 fix crash when all candidates end up with <=0 odds 2024-06-04 01:11:06 -04:00
Elijah R ccc2b6e205 huge election predictor overhaul 2024-06-04 00:44:03 -04:00
dartz cc9fb21fbc oops; change "presidential election" to "senate" 2024-06-03 12:13:26 -07:00
dartz 358b904871 correction: change "Electoral Votes" to "seats" 2024-06-03 12:11:56 -07:00
dartz dc7640692a Add polls command, add year and senate option to simulator 2024-06-03 12:02:57 -07:00
Elijah R f96fc83ac4 fix extra EV 2024-06-01 17:35:43 -04:00
Elijah R 7473a2f724 Use crypto.randomBytes instead of Math.random 2024-06-01 17:35:05 -04:00
Elijah R 60d41c2ef8 add customizable candidates 2024-06-01 15:13:00 -04:00
dartz ed4ab43caf New map 2024-06-01 14:59:02 -04:00
dartz 0e55449e7c Add bias option to simulation 2024-06-01 14:58:40 -04:00
Elijah R a1dfffe237 init 2024-06-01 02:14:08 -04:00