store: Reset retrosheet_data.py to Live defaults after every PotM run

This commit is contained in:
Cal Corum 2026-02-22 12:14:20 -06:00
parent b3bd5de4ac
commit 6f1cb9e8af

View File

@ -0,0 +1,30 @@
---
id: 7b5c1a49-28fb-4e7e-8fb4-dd989564e869
type: procedure
title: "Reset retrosheet_data.py to Live defaults after every PotM run"
tags: [paper-dynasty, potm, retrosheet, workflow, procedure]
importance: 0.6
confidence: 0.8
created: "2026-02-22T18:14:20.625352+00:00"
updated: "2026-02-22T18:14:20.625352+00:00"
---
# Reset retrosheet_data.py After PotM Runs
## Why
`retrosheet_data.py` is shared between Live series runs and PotM promo runs. After every PotM run it must be reset so that the next Live series update doesn't accidentally POST to the promo cardset.
## Reset Steps
1. Uncomment `PLAYER_DESCRIPTION = 'Live'` and comment out the PotM description line
2. Comment out all entries in `PROMO_INCLUSION_RETRO_IDS` (keep them as comments for reference)
3. Restore `SEASON_PCT` to the cumulative season value (e.g., `81/162` if through end of July)
4. Restore `START_DATE` to `20050403` (Opening Day 2005)
5. Confirm `CARDSET_ID` is back to `27` (Live), not `28` (Promos)
## Notes
- The linter auto-reformats single quotes to double quotes on save — this is expected behavior
- Keep the PotM retro IDs in the file as commented-out lines for historical reference
- Do this immediately after the PotM S3 upload and scouting steps complete