first (part 2: other directories)
Deploy Iddaai Backend / build-and-deploy (push) Failing after 18s

This commit is contained in:
2026-04-16 15:11:25 +03:00
parent 7814e0bc6b
commit 2f0b85a0c7
203 changed files with 59989 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import sys
import os
import json
AI_ENGINE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, AI_ENGINE_DIR)
from services.single_match_orchestrator import get_single_match_orchestrator
from dotenv import load_dotenv
load_dotenv()
if len(sys.argv) < 2:
print("Match ID needed.")
sys.exit(1)
match_id = sys.argv[1].strip()
orch = get_single_match_orchestrator()
result = orch.analyze_match(match_id)
print(json.dumps(result, indent=2, ensure_ascii=False))