claude-memory/graph/solutions/position-validation-missing-in-lineup-sheet-loading-40da57.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

724 B

id type title tags importance confidence created updated
40da57ca-02da-48b1-9672-73a0e53c6b6e solution Position validation missing in lineup sheet loading
paper-dynasty
python
fix
discord-bot
position-validation
0.7 0.8 2026-02-08T01:32:51.886765+00:00 2026-02-08T01:32:51.886765+00:00

Paper Dynasty discord bot: get_lineups_from_sheets reads position+card_id from Google Sheets but never validated if the player can actually play that position. Added check against player.pos_1-pos_8 fields. Also added PositionNotFoundException handling at all read_lineup call sites in cogs/gameplay.py. Error manifested as 'C ratings not found for 2024 Aaron Judge' when an outfielder was listed at Catcher.