Slab rebuild Phase 2: Card Hedge catalog crosswalk (one-time + weekly delta) #602

Open
opened 2026-09-05 00:21:57 +00:00 by gambit-admin · 1 comment
Owner

Part of epic #599. 2 days — one-time job + weekly delta. Parallel with Phase 1.

  • Enumerate Card Hedge's Pokémon catalog set by set via card-search (page ≤ 100, page param). Store cardhedge_card_link (their card id → our card_id + variant_id), joined on set alias + number + variant vocabulary. Run slowly, tell Card Hedge first.
  • Same pass fills grader_set_alias for every set they carry (suffix match auto-accepts; the rest → one-time human pass, ~30–50 rows on the sample's miss rate) and the variant vocabulary (Base, Reverse Foil, Master Ball, Poké Ball, Full Art…).
  • Rows they have that we don't (vintage JP, promos) → a catalog-gap list, not wrong matches.
  • Bonus: this is also the sports catalog link #576 needs.

Plan: https://claude.ai/code/artifact/4adadc1e-a0f5-4c78-ac6f-a7f93bbbd8ca


Filed from a Claude Code session

Part of epic #599. **2 days — one-time job + weekly delta.** Parallel with Phase 1. - Enumerate Card Hedge's Pokémon catalog set by set via `card-search` (page ≤ 100, `page` param). Store `cardhedge_card_link` (their card id → our `card_id` + `variant_id`), joined on set alias + number + variant vocabulary. **Run slowly, tell Card Hedge first.** - Same pass fills `grader_set_alias` for every set they carry (suffix match auto-accepts; the rest → one-time human pass, ~30–50 rows on the sample's miss rate) and the variant vocabulary (Base, Reverse Foil, Master Ball, Poké Ball, Full Art…). - Rows they have that we don't (vintage JP, promos) → a **catalog-gap list**, not wrong matches. - Bonus: this is also the sports catalog link #576 needs. Plan: https://claude.ai/code/artifact/4adadc1e-a0f5-4c78-ac6f-a7f93bbbd8ca --- Filed from a Claude Code session
gambit-admin added the featureapi labels 2026-09-05 00:21:57 +00:00
Author
Owner

Re-scoped by Kris 2026-09-05. The alias dictionary is built from real slabs the team scans with the live cert scanner, plus a confirm action that writes the alias rows — NOT from a bulk card-search enumeration. Enumeration is now optional (catalog-gap list only). Card Hedge card objects carry no cert fields (cert → GemRate → card only), so enumeration could never substitute for scanning anyway.

Child: #622 — confirm button + alias write endpoints + backfill. That is the only code on this phase's critical path; the rest is people and slabs.

Team explainer: https://claude.ai/code/artifact/3e1cfa33-ca29-42a1-a573-79f0838f0433

**Re-scoped by Kris 2026-09-05.** The alias dictionary is built from real slabs the team scans with the live cert scanner, plus a confirm action that writes the alias rows — NOT from a bulk card-search enumeration. Enumeration is now optional (catalog-gap list only). Card Hedge card objects carry no cert fields (cert → GemRate → card only), so enumeration could never substitute for scanning anyway. Child: #622 — confirm button + alias write endpoints + backfill. That is the only code on this phase's critical path; the rest is people and slabs. Team explainer: https://claude.ai/code/artifact/3e1cfa33-ca29-42a1-a573-79f0838f0433
Sign in to join this conversation.