Imprevista

Deploy Log

← Back to Deploy Log
|Sports Dashboard|DEPLOYED

Fix systemic team name mapping: load verified JSON map at runtime

Root cause of recurring settlement failures: settler had a hardcoded 100-entry team map while a verified 588-team JSON map existed unused. Every unmapped team silently failed to settle.

Root cause of recurring settlement failures: settler had a hardcoded 100-entry team map while a verified 588-team JSON map existed unused. Every unmapped team silently failed to settle.

Changes:

  • Load footystats-to-cache-team-map.json at runtime (league-qualified)
  • Keep hardcoded map as fallback for formal long names
  • Add diagnostic logging on unmatched bets (shows near-matches to

surface name mapping gaps instead of silent "no result" messages)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Files Changed

Commit:cb67eea