This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
import json
|
||||
|
||||
path = "ai-engine/data/mappings.json"
|
||||
try:
|
||||
with open(path, 'r') as f:
|
||||
data = json.load(f)
|
||||
leagues = data.get('leagues', {})
|
||||
print(f"Total Leagues in Mapping: {len(leagues)}")
|
||||
print("Sample Leagues:", list(leagues.keys())[:5])
|
||||
|
||||
target_id = "e21cf135btr8t3upw0vl6n6x0"
|
||||
if target_id in leagues:
|
||||
print(f"✅ Found target league {target_id}: {leagues[target_id]}")
|
||||
else:
|
||||
print(f"❌ Target league {target_id} NOT FOUND!")
|
||||
|
||||
except Exception as e:
|
||||
print(f"Error: {e}")
|
||||
Reference in New Issue
Block a user