fix(yogas): restore English combination text for the five-planet BVR rules; Kemadruma text says nodes are not counted (BUG-1187)

Follow-up to f3ed9509 (TASK-upstream-sync4-20261002 T5). The port dropped
combo_template_en from bvr_002/003/004/016/017/018, so the English edition had
no combination text for them; restored. kemadruma_yoga's text still said "only
the Sun and Moon" although the nodes no longer count. New tests: Ketu alone
next to the Moon leaves Kemadruma in place in both the rule and
detect_kemadruma; Saturn there cancels it and forms Sunaphaa.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N4f2nya58RoRu4yEmJgRGE
This commit is contained in:
Jesse_Chen
2026-10-02 14:08:21 +08:00
co-authored by Claude Opus 5.5
parent 09c0efc2a1
commit 0a4e6d0aa4
2 changed files with 80 additions and 10 deletions
+18 -10
View File
@@ -1306,8 +1306,8 @@
"logic": {
"type": "custom",
"expr": "\n# PyJHora/BVR-5: none of the five true planets (Mars..Saturn) in 1st/2nd/12th from Moon;\n# the Sun and the nodes do not count (sync4 T5, BPHS / Raman 300 Combinations no. 5),\n# and no planets other than Moon in quadrants from Lagna.\nif 'Moon' not in ctx.planets:\n False\nelse:\n moon_h = house_of('Moon')\n moon_zone = {moon_h, ((moon_h - 1 + 1) % 12) + 1, ((moon_h - 1 + 11) % 12) + 1}\n ky1 = all(p in ['Moon', 'Sun', 'Rahu', 'Ketu'] for p, info in ctx.planets.items() if info.get('house') in moon_zone)\n ky2 = all(p == 'Moon' for p, info in ctx.planets.items() if info.get('house') in [1, 4, 7, 10])\n ky1 and ky2\n",
"combo_template": "月亮1/2/12宫仅日月,且Lagna角宫仅月亮",
"combo_template_en": "Only the Sun and Moon in the 1st/2nd/12th from the Moon, and only the Moon in the Kendras from the Lagna"
"combo_template": "月亮1/2/12宫无火水木金土(太阳与罗计不计),且Lagna角宫仅月亮",
"combo_template_en": "None of Mars to Saturn in the 1st/2nd/12th from the Moon (the Sun and the nodes are not counted), and only the Moon in the Kendras from the Lagna"
},
"effects": [
"人生艰辛",
@@ -9894,7 +9894,8 @@
"houses": [
2
],
"combo_template": "{planets}在太阳的第2宫"
"combo_template": "{planets}在太阳的第2宫",
"combo_template_en": "{planets} in the 2nd from the Sun"
},
"effects": [
"太阳后方有行星支持",
@@ -9936,7 +9937,8 @@
"houses": [
12
],
"combo_template": "{planets}在太阳的第12宫"
"combo_template": "{planets}在太阳的第12宫",
"combo_template_en": "{planets} in the 12th from the Sun"
},
"effects": [
"太阳前方有行星铺垫",
@@ -9983,7 +9985,8 @@
"houses": [
2
],
"combo_template": "{planets}在太阳的第2宫"
"combo_template": "{planets}在太阳的第2宫",
"combo_template_en": "{planets} in the 2nd from the Sun"
},
{
"type": "has_planet_in_house_from",
@@ -10001,7 +10004,8 @@
"houses": [
12
],
"combo_template": "{planets}在太阳的第12宫"
"combo_template": "{planets}在太阳的第12宫",
"combo_template_en": "{planets} in the 12th from the Sun"
}
]
},
@@ -10045,7 +10049,8 @@
"houses": [
2
],
"combo_template": "{planets}在月亮的第2宫"
"combo_template": "{planets}在月亮的第2宫",
"combo_template_en": "{planets} in the 2nd from the Moon"
},
"effects": [
"自力更生",
@@ -10089,7 +10094,8 @@
"houses": [
12
],
"combo_template": "{planets}在月亮的第12宫"
"combo_template": "{planets}在月亮的第12宫",
"combo_template_en": "{planets} in the 12th from the Moon"
},
"effects": [
"心智有背景支持",
@@ -10136,7 +10142,8 @@
"houses": [
2
],
"combo_template": "{planets}在月亮的第2宫"
"combo_template": "{planets}在月亮的第2宫",
"combo_template_en": "{planets} in the 2nd from the Moon"
},
{
"type": "has_planet_in_house_from",
@@ -10154,7 +10161,8 @@
"houses": [
12
],
"combo_template": "{planets}在月亮的第12宫"
"combo_template": "{planets}在月亮的第12宫",
"combo_template_en": "{planets} in the 12th from the Moon"
}
]
},