Commit Graph

79 Commits

Author SHA1 Message Date
Cal Corum
1517283114 CLAUDE: Fix GROUP BY queries for PostgreSQL compatibility
- Refactor get_batting_totals() to conditionally build SELECT fields based on group_by parameter
- Refactor get_pitching_totals() with same pattern
- Ensures all non-aggregated SELECT fields are included in GROUP BY clause
- Based on successful Major Domo migration pattern
2025-11-07 10:25:00 -06:00
Cal Corum
db0635b01d Added search endpoints 2025-10-08 14:21:44 -05:00
Cal Corum
b20d0cdf88 Adding card variant support 2025-07-22 09:26:23 -05:00
Cal Corum
adaa8206c8 Players bug fix 2025-05-29 22:19:34 -05:00
Cal Corum
0b8234f9d6 Add poop_max to game summary 2024-12-23 10:14:02 -06:00
Cal Corum
21fe5c419a Flip image libraries due to white bar bug 2024-11-04 23:17:07 -06:00
Cal Corum
1e4569dfbf Clean up root_validators
Remove root_path from FastAPI
Update Season 8 Cardsets
Force pydantic 1.x
2024-11-03 01:46:40 -05:00
Cal Corum
17416cd50f Log mlbplayer dupes
Update cardsets for season 8
2024-11-02 23:44:32 -05:00
Cal Corum
2a2961983a Added All-Star teams to record 2024-08-19 14:38:20 -05:00
Cal Corum
a265b83c63 Add support for exhibition games 2024-07-14 13:23:15 -05:00
Cal Corum
18a6ed2ebd Support for Exhibition games & Swagger updates 2024-07-11 15:07:23 -05:00
Cal Corum
179947b536 Add schema privacy to docs 2024-07-07 22:53:29 -05:00
Cal Corum
421eea19ac Bugfixes 2024-06-03 12:09:44 -05:00
Cal Corum
d0c3caaf87 Add support for buying Promo pack 2024-05-13 17:03:48 -05:00
Cal Corum
79b59bb376 MlbPlayers update
Add initial support for /mlbplayers
2024-05-13 15:37:00 -05:00
Cal Corum
aca7d6df23 Add gauntlet_id to /games 2024-05-13 15:36:34 -05:00
Cal Corum
e4d2e432dd Fix standings bug & s9 update 2024-04-27 08:50:51 -05:00
Cal Corum
11568a2d2e Fix pitcher decisions across game_types 2024-04-27 08:50:33 -05:00
Cal Corum
563f46c30c Update human legal-check 2024-03-01 20:01:56 -06:00
Cal Corum
ac14e8517e Add high-inning preference for AI lineups 2024-02-24 23:34:36 -06:00
Cal Corum
eb49ded2d4 Add player_id to ratings & flashback rename 2023-11-20 01:00:10 -06:00
Cal Corum
b9e922acba Fix dupe PotG stats 2023-11-19 14:30:30 -06:00
Cal Corum
d81b63ce92 Update pitchingcardratings.py
Fix BB/9 inverse rating
2023-11-19 12:26:33 -06:00
Cal Corum
d9a63e1949 Add scouting update endpoint 2023-11-18 14:45:09 -06:00
Cal Corum
eb0babc78c Major League Campaign update
Prep for flashback campaign
2023-11-05 20:04:30 -06:00
Cal Corum
e9eb21b6b7 Update decisions.py
Bug fixing
2023-10-31 14:46:31 -05:00
Cal Corum
57bb15cf1b Added decisions/rest 2023-10-31 11:02:28 -05:00
Cal Corum
c884f45c17 Batting stats re24 sort update 2023-10-30 21:17:33 -05:00
Cal Corum
c0a94613a3 Serve scouting by static csv 2023-10-30 10:25:44 -05:00
Cal Corum
24cf331803 Pitching Basic Ratings Complete + Batting Refactor 2023-10-29 17:48:38 -05:00
Cal Corum
fb151f6bae Update gtype params 2023-10-29 14:11:08 -05:00
Cal Corum
60a4910735 Add image-reset call 2023-10-29 14:10:52 -05:00
Cal Corum
053f577c45 Tweak OF Arm rating 2023-10-29 14:10:39 -05:00
Cal Corum
07df617ae0 Refactor scouting df pull 2023-10-29 00:50:32 -05:00
Cal Corum
6dfbd33605 Update battingcardratings.py
Move db.close() to proper spot later in function
2023-10-29 00:50:01 -05:00
Cal Corum
eca69fe13c Bug fixes 2023-10-29 00:49:36 -05:00
Cal Corum
1a9f15b489 Clear excess logging 2023-10-27 20:05:12 -05:00
Cal Corum
4e60c11b3d Finished basic ratings 2023-10-27 15:27:33 -05:00
Cal Corum
b5d10f0060 Added Arm rating 2023-10-27 14:21:44 -05:00
Cal Corum
d3c4e4b575 Added Reaction to basic ratings 2023-10-27 12:54:54 -05:00
Cal Corum
58a0d10226 Added gauntlet query param 2023-10-27 12:54:27 -05:00
Cal Corum
633db7f565 Update teams.py
Add abbrev to PATCH /teams
Fix standings bug
2023-10-26 21:46:07 -05:00
Cal Corum
c62d0fc60e Update players.py
Adding headers and moving files to sub batting and pitching directories
2023-10-26 21:45:02 -05:00
Cal Corum
4e54e36bc9 Added team record query & poopers 2023-10-26 00:35:40 -05:00
Cal Corum
cce9b8e1c5 HR count bug 2023-10-24 18:32:23 -05:00
Cal Corum
3fa7e47880 Allow resetting choice packs 2023-10-24 18:32:15 -05:00
Cal Corum
67555d3b55 Add gauntlet to player replacement check 2023-10-24 10:18:11 -05:00
Cal Corum
e835b6e2f2 Update gauntletrewards.py
Fixed endpoint prefixes
2023-10-22 23:21:02 -05:00
Cal Corum
a49861bf31 Added /games/game-summary 2023-10-22 22:41:06 -05:00
Cal Corum
74a037b3fc Update /games and /plays for sheets import 2023-10-22 16:41:32 -05:00