Initial commit: yu-zhi-ran platform with automation integration

This commit is contained in:
lt
2026-04-19 14:05:09 +08:00
commit 3cb2df51c8
209 changed files with 80379 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env python3
import sys
from pathlib import Path
PROJECT_ROOT = Path(__file__).parent.parent
DATA_DIR = PROJECT_ROOT / "automation" / "data"
topics_file = DATA_DIR / "sustainability_topics.json"
print(f"Project root: {PROJECT_ROOT}")
print(f"Looking for: {topics_file}")
print(f"Exists: {topics_file.exists()}")
if topics_file.exists():
import json
with open(topics_file, 'r', encoding='utf-8') as f:
topics = json.load(f)
print(f"Loaded {len(topics)} topics")
if topics:
print("First topic:", topics[0]['title'], f"score={topics[0]['priority_score']}, status={topics[0]['status']}")