brackt/scripts
Chris Parsons 8186dbb525
scripts: add backfill orchestrator for canonical layer
Populates canonical tournaments, participants, tournament_results, and
participant_surface_elos from per-window data for qualifying-points
sports. Skips already-linked rows, is idempotent, and supports dry-run
mode.

Critical invariants enforced by the implementation:
- qualifying_points_awarded is never copied to tournament_results
- season_participant_qualifying_totals is never touched
- conflicting surface-Elo values between windows raise a loud error
  (recorded in report.errors) rather than overwriting
2026-05-01 20:57:38 +00:00
..
__tests__ scripts: add backfill orchestrator for canonical layer 2026-05-01 20:57:38 +00:00
backfill scripts: add extractTournamentIdentity helper for backfill 2026-05-01 20:47:23 +00:00
backfill-canonical-layer.ts scripts: add backfill orchestrator for canonical layer 2026-05-01 20:57:38 +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
migrate-clerk-passwords.mjs Migrate authentication from Clerk to BetterAuth (#324) 2026-04-24 22:00:49 -07:00
migrate.mjs Fix migrate.mjs: also convert leagues.created_by from Clerk IDs to UUIDs 2026-04-24 22:46:14 -07:00
sync-prod-db.sh Load PROD_DATABASE_URL from .env automatically (#259) 2026-04-03 15:38:09 -07:00