From 6f1cb9e8af6b75ec49a04cfbce42b2e77993933e Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Sun, 22 Feb 2026 12:14:20 -0600 Subject: [PATCH] store: Reset retrosheet_data.py to Live defaults after every PotM run --- ...ive-defaults-after-every-potm-ru-7b5c1a.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 graph/procedures/reset-retrosheet-datapy-to-live-defaults-after-every-potm-ru-7b5c1a.md diff --git a/graph/procedures/reset-retrosheet-datapy-to-live-defaults-after-every-potm-ru-7b5c1a.md b/graph/procedures/reset-retrosheet-datapy-to-live-defaults-after-every-potm-ru-7b5c1a.md new file mode 100644 index 00000000000..16e0d10abc3 --- /dev/null +++ b/graph/procedures/reset-retrosheet-datapy-to-live-defaults-after-every-potm-ru-7b5c1a.md @@ -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