fix: 修复4个P0计算错误+1个P1数据结构问题

P0: Jaimini 8-Karaka Rahu度数取反(30-deg→deg)
P0: Vimsopaka 16分盘全部复制Rashi尊贵值→每盘独立计算5-fold
P0: Yoga检测返回0→新增Solar/Lunar Yoga(6种)
P1: Vivah Saham full-reading中vivah_saham=null→添加嵌套key
P1: Arudha Lagna count公式修正(lord+distance-1→lord+count-1)
This commit is contained in:
732642856
2026-05-04 23:54:52 +08:00
parent 6c20faffd5
commit 849205b37f
3 changed files with 85 additions and 18 deletions
+2 -2
View File
@@ -108,8 +108,8 @@ def calc_chara_karaka_8(planet_degrees: Dict[str, float]) -> Dict:
if pname == 'Ketu':
continue
if pname == 'Rahu':
# Rahu逆行:用反向度数(30 - 度数),不取模以保留30.0边界值
planets[pname] = 30.0 - deg
# Rahu直接使用星座内度数(与其它行星相同),不做取反
planets[pname] = deg
else:
planets[pname] = deg