This commit is contained in:
nose
2025-12-05 03:41:16 -08:00
parent 79d4f1a09e
commit e3747555bf
22 changed files with 3669 additions and 388 deletions

27
debug_paths.py Normal file
View File

@@ -0,0 +1,27 @@
from tarot.tarot_api import Tarot
print("Initializing Tarot...")
# Force initialization
Tarot._ensure_initialized()
Tarot.tree._ensure_initialized()
print("Checking Paths...")
paths = Tarot.tree.path()
print(f"Found {len(paths)} paths")
found_aleph = False
for p in paths.values():
print(f"Path {p.number}: {p.hebrew_letter} -> {p.tarot_trump}")
if p.hebrew_letter == "Aleph":
found_aleph = True
if not found_aleph:
print("Aleph path not found!")
else:
print("Aleph path found.")
print("Checking Cards...")
cards = Tarot.deck.card.filter()
print(f"Found {len(cards)} cards")
fool = Tarot.deck.card.filter(name="Fool")
print(f"Fool card: {fool}")