- 313 new markdown files created - 30 relationships embedded - 313 entries indexed - State initialized with usage data
1.1 KiB
1.1 KiB
| id | type | title | tags | importance | confidence | created | updated | relations | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 3ea784ee-2bee-4ee4-994a-c6af3aff2c80 | solution | Player command stats only show for cardsets with game data |
|
0.7 | 0.8 | 2025-12-08T03:29:38.569388+00:00 | 2025-12-08T03:29:38.569388+00:00 |
|
The /player command stats display uses player_id which is unique per cardset. Player 'Mike Trout 2024' (cardset 17) has different player_id than 'Mike Trout 2005' (cardset 27). Stats are recorded in StratPlay with batter FK to Player. Stats only appear for player_ids that have game data. New cardsets like 27 (2005 Live) won't show stats until games are played using cards from that cardset. This is working as designed - each cardset version is distinct. Code path: get_card_embeds() in helpers/main.py -> db_get('plays/batting') -> stratplays.py /batting endpoint -> filters by Player.player_id. Also found PD_SEASON mismatch: helpers/constants.py=9 vs root constants.py=10.