brackt/scripts
Claude c48d54d873 Add backfill for rounded tie splits and missing ledger rows
Two stored artifacts went stale when the tie-split math was unified.
team_standings totals hold pre-rounding values, and standings are only
rewritten when something re-triggers a recalculation, so already-finished
leagues would keep 217.50-style figures indefinitely. Separately,
qualifying_points and season_standings seasons finalized before this
change have no team_score_events rows, so their results stay missing from
Recent Scores.

The script re-ledgers every already-finalized one-shot sports season and
recalculates standings for every fantasy season. Both operations are pure
recomputes and ledger rows upsert on (team, season, scoring event), so it
is safe to re-run. Supports --dry, following backfill-qp-resplit.ts.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019LZLF1PAfeKdpYog3NKtyz
2026-08-23 01:57:54 +00:00
..
backfill-major-linking.ts Unify majors: score once, fan out across windows + tennis bracket EV 2026-06-22 20:32:22 -07:00
backfill-qp-resplit.ts claude/wimbledon-qp-scoring-bug-xevhlf (#127) 2026-07-03 21:40:11 +00:00
backfill-rounded-tie-splits.ts Add backfill for rounded tie splits and missing ledger rows 2026-08-23 01:57:54 +00:00
build-server.mjs refactor: migrate server code from JavaScript to TypeScript with build pipeline 2025-10-18 22:16:04 -07:00
capture-baseline.ts Fix capture-baseline.ts: postgres-js returns rows directly 2026-05-01 06:07:14 +00:00
fix-group-match-times-utc.mjs claude/practical-newton-4v041g (#98) 2026-06-18 02:33:05 +00:00
gen-fifa-third-place.mjs Reflect group stage in World Cup sim; seed R32 from real 2026 bracket 2026-06-23 12:15:45 -07:00
generate-sitemap.mjs Add robots.txt and sitemap.xml.gz for SEO 2026-05-24 22:05:37 -07:00
migrate-clerk-passwords.mjs Migrate authentication from Clerk to BetterAuth (#324) 2026-04-24 22:00:49 -07:00
migrate.mjs Add email verification for email/password signups (#400) 2026-05-09 23:58:45 -07:00
sync-prod-db.sh Add branded dark-themed HTML email template (#402) 2026-05-10 11:18:57 -07:00