Commit Graph

83 Commits

Author SHA1 Message Date
Cal Corum
b3fa68b80e Bug fixes for uncapped doubles 2025-05-30 21:16:51 -05:00
Cal Corum
17680a2348 Added /substitution defense 2025-05-30 01:19:45 -05:00
Cal Corum
cffc9380f1 Replacing 1998 Live with 1998 Season 2025-04-14 16:28:14 -05:00
Cal Corum
9218bd6047 Update cache reset command
Decrease cache limit to 3 days
Add kickstart live scorecard function
2025-03-09 14:20:30 -05:00
Cal Corum
35a62362ce Fix card cache bug 2025-03-09 00:58:47 -06:00
Cal Corum
8e35812cd3 Increase concurrent db connections
Decrease timeout on Scorebug buttons to reduce open connections
2025-03-03 22:13:40 -06:00
Cal Corum
579bde6c03 Updated lineup string 2025-02-28 22:48:34 -06:00
Cal Corum
8b8fa65023 Add lineup embed field without links 2025-02-28 22:24:11 -06:00
Cal Corum
61df90b2ea Update caching of pitcher and batter scouting 2025-02-23 23:23:59 -06:00
Cal Corum
f8aad38739 Update cache refresh logic to replace vs delete 2025-02-23 22:50:58 -06:00
Cal Corum
149c4f3ab9 Update play order to use play_num instead of id 2025-02-08 16:53:21 -06:00
Cal Corum
f6bae8c208 Local db to Postgresql 2025-02-08 04:11:04 -06:00
Cal Corum
db52625899 Day 1 Gauntlet Updates
Baserunner advancement bug fixes
Pitcher sub bug fixes
2025-02-06 10:00:56 -06:00
Cal Corum
282a7e7ac2 Added live scorecard functionality
Added new pitcher embed highlighting
2025-02-05 11:30:56 -06:00
Cal Corum
c9b5b45961 Reliever bug 2025-02-05 09:41:06 -06:00
Cal Corum
fc130e6a98 Update buffer message for ballpark fly
Bolded new pitcher text
2025-02-03 13:58:51 -06:00
Cal Corum
3b6bcfb186 Beta day 1 bug fixes 2025-02-02 22:01:33 -06:00
Cal Corum
cd9d5e49d0 Add confirmation_message param to ask_with_buttons 2025-02-01 21:33:12 -06:00
Cal Corum
e850ee5519 Allow manual override of xcheck 2025-01-26 11:50:33 -06:00
Cal Corum
4a76d59481 Check for AI fatigue 2025-01-26 02:20:29 -06:00
Cal Corum
3273af6465 Helpers checks 2025-01-24 10:08:35 -06:00
Cal Corum
cd0a8a739a Catchup edits 2025-01-23 10:59:03 -06:00
Cal Corum
724b8922f2 Update gauntlet get SP for new objects
Handle gamestates without full lineups
Added /set command for lineup and SP
Fixed uncapped hit bugs
Added league_name property to Games
Fix get_team for gauntlets
Fixed SelectSP dropdown bug
2024-12-27 16:12:25 -06:00
Cal Corum
3db25b177a Refactor new game checks
Trail batter-runner on uncapped hits
2024-12-26 14:36:04 -06:00
Cal Corum
c3c88af14a Fixed HR unearned bug
Added pitching statline
2024-12-25 19:30:23 -06:00
Cal Corum
f40347e0bb Fixed chaos button bug
Added batting statline to batter & OT to catchers
2024-12-25 16:10:24 -06:00
Cal Corum
ac7b564e67 Fixed extra innings wpa bug
Fix earned run bug
Fix HBP batter_final
Fixed poop line
2024-12-24 23:32:47 -06:00
Cal Corum
7015fb3125 Added baserunning ai notes
Added get_batter_card to gameplay_queries
2024-12-24 21:08:00 -06:00
Cal Corum
c7b45aecf4 Fixed only_forced bug
Fixed scouting caching bug
2024-12-24 16:11:28 -06:00
Cal Corum
7f6472bbc6 Batter subs plus cleanup 2024-12-23 10:09:11 -06:00
Cal Corum
55b35a242a Add gauntlet team support to get_team_or_none 2024-12-18 09:58:59 -06:00
Cal Corum
95ee071ef8 Add DTwentyRoll
Add /log lineout
Add ManagerAi.tag_from_third()
2024-12-06 20:41:38 -06:00
Cal Corum
8118b4a691 Added PO/FO to fielding roll
Complete /log xcheck and /log groundball
2024-12-06 00:46:49 -06:00
Cal Corum
d6d3d7beb0 Log stealing done
Log xchecks started
2024-11-25 13:17:51 -06:00
Cal Corum
073bd04b4b Added RosterLinks to remove card_id from setup process
Add SelectStartingPitcher dropdown
New .sync function
2024-11-23 19:53:48 -06:00
Cal Corum
a4af7652fc ask_confirm bug fix
manual_end_game complete
2024-11-21 10:38:39 -06:00
Cal Corum
7a718d45f0 AbRoll and JumpRoll objects
Add handedness to pitcher/batter
2024-11-20 21:31:31 -06:00
Cal Corum
f7685ff0e3 Added AbRoll and JumpRoll
Added auto_roll and roll_buttons to Game
Added log chaos
2024-11-17 14:57:54 -06:00
Cal Corum
baffabfe4c Bunts are done 2024-11-16 01:34:02 -06:00
Cal Corum
3d333dabc3 Update api logging
New Position exception
Pull scouting data with lineups
More bunt types
String validation on gameplay models
AI Defensive alignment
2024-11-16 00:31:54 -06:00
Cal Corum
bfd72ae0f5 Update logging to RotatingFileHandler
Add auto game end
Calculate stats and decisions
Support raising instantiated exceptions
2024-11-09 23:14:54 -06:00
Cal Corum
c3418c4dfd New show-card dropdown view
Added PlayInitException
Added complete_and_post_play for log commands
Added many more log plays
Add undo-play
Added query logging
2024-11-09 00:48:13 -06:00
Cal Corum
fc3b407f2d ask_confirm helper added to buttons
Singles are complete
Doubles are complete
Uncapped advance is complete
2024-11-08 10:10:30 -06:00
Cal Corum
0327b6af62 Added ThrowResponse as managerai response
Added /log single, all but uncapped complete
Added check_uncapped_advance, ai on defense complete
2024-11-07 11:38:45 -06:00
Cal Corum
e399fec853 Calculating wpa for plays 2024-11-06 02:17:28 -06:00
Cal Corum
d0f635034b Continuing progress on complete_play plus tests 2024-11-05 18:09:18 -06:00
Cal Corum
650ffdb147 Begun complete_play function 2024-11-05 12:07:52 -06:00
Cal Corum
736897efad Added tag_from_second decision for AI
Flyball A and B complete
2024-11-04 00:12:35 -06:00
Cal Corum
0335b32673 Update exception function 2024-11-03 21:54:55 -06:00
Cal Corum
8da859b63a Merge branch 'master' into sqlmodel-alembic-pytests-rebuild 2024-11-03 18:20:01 -06:00