Enhance Jyotish precision techniques and tests

This commit is contained in:
732642856
2026-06-13 15:06:11 +08:00
parent ee82af5ecb
commit 3f355de1db
37 changed files with 7162 additions and 718 deletions
+9 -6
View File
@@ -176,8 +176,9 @@ class OrchestratorBridge:
current=ash["current"],
total_cycle=ash.get("total_cycle", 108),
)
except Exception:
pass
except Exception as e:
import logging
logging.warning(f"[orchestrator] ashtottari dasha calculation failed: {e}")
# 2. Yogini Dasha (普遍适用)
try:
@@ -189,8 +190,9 @@ class OrchestratorBridge:
current=yog["current"],
total_cycle=yog.get("total_cycle", 36),
)
except Exception:
pass
except Exception as e:
import logging
logging.warning(f"[orchestrator] yogini dasha calculation failed: {e}")
# 3. Kalachakra Dasha (条件性推运)
try:
@@ -202,8 +204,9 @@ class OrchestratorBridge:
current=kal["current"],
total_cycle=kal.get("total_cycle", 0),
)
except Exception:
pass
except Exception as e:
import logging
logging.warning(f"[orchestrator] kalachakra dasha calculation failed: {e}")
# 4. 将推运结果也作为 TechniqueResult 注入所有主题
self._inject_dasha_technique_results(results)