Cal Corum
a34e553b25
2005 Live Series Updates
2025-11-08 18:25:08 -06:00
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
f6e8aa7108
CLAUDE: Add PostgreSQL support and table names to models
...
- Add environment-based PostgreSQL configuration to db_engine.py
- Add table_name to all 30 models (Meta class)
- Update db_migrations.py to auto-select migrator based on DB type
- Add comprehensive PostgreSQL migration plan document
2025-11-07 10:23:14 -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
2791e1964b
Gauntlet 8 updates
2025-05-29 22:19:19 -05:00
Cal Corum
acb65ef47c
Gauntlet 7 cardsets
2024-12-23 16:13:05 -06: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
75e2f05f48
Add support for Swagger
2024-07-11 15:06:58 -05:00
Cal Corum
179947b536
Add schema privacy to docs
2024-07-07 22:53:29 -05:00
Cal Corum
889db717d1
Update for Swagger URL
2024-07-07 22:18:51 -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
f0e3b38938
Cardset updates
2024-05-13 15:37:08 -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
b9a64e8333
2024 Updates
2024-04-21 17:48:51 -05:00
Cal Corum
62bcfd5e45
Cardset updates
2024-03-08 00:26:00 -06: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
1f917b8a6b
Mark '18 Promo as ranked legal
2024-02-24 21:36:56 -06:00
Cal Corum
a31f451089
Update card_creation.py
...
Bug fix: add second arm rating for C + OF players
2024-02-24 21:36:44 -06:00
Cal Corum
e217375974
Update db_engine.py
...
Update ranked cardsets
2023-12-04 13:40:10 -06:00
Cal Corum
dbbe257654
Update db_engine.py
...
Move 2023 from primary to secondary in the gauntlet
2023-11-29 10:34:41 -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
ed296a0b13
Update Major League cardsets
2023-10-29 14:10:27 -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
b03cf19bf7
Fix 2-way position string bug
2023-10-27 21:00:09 -05:00
Cal Corum
7a5dd257ef
X-Check and BP-SI cleanup
2023-10-27 20:13:58 -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
f0cd9b814f
Double fatigue bug
2023-10-24 23:44:55 -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
e8a5c6f503
Added gauntlet cardset data
2023-10-23 00:58:47 -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
Cal Corum
23181d55e3
Add RP lookup
2023-10-22 13:53:39 -05:00
Cal Corum
22bbb3e3bb
Fix loop on batter cards
2023-10-22 13:53:27 -05:00
Cal Corum
714345c589
Decision endpoint functional
2023-10-22 00:08:11 -05:00
Cal Corum
25be95090a
Plays/pitching is functional
2023-10-21 23:32:05 -05:00
Cal Corum
edde7a1b82
StratPlays added
2023-10-21 19:54:31 -05:00
Cal Corum
0b3c4b2f55
Added StratGame to db
2023-10-21 15:31:49 -05:00
Cal Corum
0a59d3e98d
Moved AI lineup creation to db
2023-10-21 15:31:36 -05:00
Cal Corum
b40409e844
Update card_creation.py
...
Calculate slash line once card creation is complete
2023-10-21 15:30:46 -05:00
Cal Corum
47d7a7cad4
Add fatigue to pitcher cards
2023-10-20 17:03:01 -05:00
Cal Corum
ed6e73528f
Added /scouting error messages
2023-10-20 16:02:43 -05:00
Cal Corum
96be768ec9
Pre-Season 6 Updates
2023-10-19 23:16:47 -05:00
Cal Corum
a44250803a
Batting Card Generation Complete
2023-10-14 23:43:50 -05:00
Cal Corum
485a046855
First pass of real card gen
2023-10-11 00:58:30 -05:00
Cal Corum
1776df7173
Final test updates
2023-10-03 12:07:34 -05:00
Cal Corum
07c1b51d0f
Bug fixes for unique indeces
2023-10-03 12:06:48 -05:00
Cal Corum
561c7e99d4
Pitching card updates for card gen
2023-09-25 00:19:41 -05:00
Cal Corum
d4f26a6a2e
Update dupe player check to use bbref_id
2023-09-25 00:19:26 -05:00
Cal Corum
23e1fd6f58
Update player_scouting.py
2023-09-24 19:00:21 -05:00
Cal Corum
89aebd441d
Phase 1 card images
2023-09-24 18:59:32 -05:00
Cal Corum
8a0d094227
Scouting tables added to db
2023-09-22 01:29:35 -05:00
Cal Corum
d5386f86f8
Added /scouting
2023-09-17 00:25:42 -05:00
Cal Corum
995735d878
Added cardpositions
2023-09-16 18:36:15 -05:00
Cal Corum
6183a125bc
Cards and ratings updates
2023-09-16 17:21:01 -05:00
Cal Corum
51a5251c92
Add pitchercards and ratings
2023-09-16 00:05:10 -05:00
Cal Corum
22cc01d200
Added battingcards and ratings
2023-09-15 22:38:15 -05:00
Cal Corum
88b723d9f2
Added query_to_csv helper
2023-09-15 00:01:59 -05:00
Cal Corum
be5bda6652
Add battingcards & bugfixes
2023-09-15 00:01:30 -05:00
Cal Corum
4a7a8ad397
Import cleanup
2023-09-14 22:11:31 -05:00
Cal Corum
144ced6875
Added admin, gamerewards, gauntletrewards, gauntletruns, notifications, paperdex
2023-09-14 22:05:51 -05:00
Cal Corum
177ca2c585
Added results, rewards, batstats, and pitstats
2023-09-14 15:48:41 -05:00
Cal Corum
7f008f9d98
Added cards and events
2023-09-13 16:42:14 -05:00
Cal Corum
6325698a10
Added cardsets, packs, packtypes, players
2023-09-13 16:19:56 -05:00
Cal Corum
0872362869
Added teams & rarity
2023-09-13 15:12:44 -05:00
Cal Corum
e7039eb83e
Initial Commit with /current
2023-09-13 14:44:26 -05:00