fix(bhava): use the named mirrored equal-house strength profile

Upstream a4d4a249. Dig tables, Capricorn's first half, the sputa formula, and the benefic set now match jyotishganit_mirrored_equal_house_v2. Mercury is neutral. The result names that profile and does not call it a classical ruling. BUG-1385.

Co-Authored-By: Grok (agent loop)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jesse-ux
2026-10-18 16:32:26 +08:00
co-authored by Grok (agent loop) Cursor
parent e8a7f3ac22
commit 6cbae4ce23
3 changed files with 122 additions and 35 deletions
+17 -2
View File
@@ -16309,7 +16309,7 @@
- 修复:`6feb1a4a`。报告改用正式三分量(Bhavadhipati = 宫主 Shadbala Virupa、Bhava Dig、Bhava Drishti;等宫),列 Total(Virupa / Rupa);本地评分改名、不再出现在任何结果里。其他使用者:无(补救、健康叙述只读 Shadbala Rupa)。
- 验证:`tests/test_bhava_bala_formal.py`;`tests/test_report_longform_gaps2.py`、`tests/test_shadbala_complete.py` 按三栏更新。
- 防复发:同上测试对报告全文 grep「(Benefic): +2」。
- 相关记录:BUG-1208。
- 相关记录:BUG-1208、BUG-1385(2026-10-18 三分量内部改成具名实现 jyotishganit_mirrored_equal_house_v2)。
- 复发自:无
- 修复版本:待发布
@@ -34407,7 +34407,7 @@
- 修复:`6feb1a4a`。报告改用正式三分量(Bhavadhipati = 宫主 Shadbala Virupa、Bhava Dig、Bhava Drishti;等宫),列 Total(Virupa / Rupa);本地评分改名、不再出现在任何结果里。其他使用者:无(补救、健康叙述只读 Shadbala Rupa)。
- 验证:`tests/test_bhava_bala_formal.py`;`tests/test_report_longform_gaps2.py`、`tests/test_shadbala_complete.py` 按三栏更新。
- 防复发:同上测试对报告全文 grep「(Benefic): +2」。
- 相关记录:BUG-1208。
- 相关记录:BUG-1208、BUG-1385(2026-10-18 三分量内部改成具名实现 jyotishganit_mirrored_equal_house_v2)。
- 复发自:无
- 修复版本:待发布
@@ -36563,3 +36563,18 @@
- 相关记录:BUG-1209。
- 复发自:无。
- 修复版本:分支 `codex/upstream-sync8-20261017`。上游提交 `30b43643`。
## BUG-1385 | Bhava Bala 的方向表、相位和吉星集合与所标来源不一致
- 状态:resolved
- 首次发现 / 最近更新:2026-10-17 / 2026-10-18
- 来源:issue #80,任务书 T5。上游 `a4d4a249`。检索「BHAVA_STRENGTH_FROM_SIGN_NATURE」「vanaspati」,关联 BUG-1210。
- 现象:报告和咨询卡的每宫 Bhava Bala 用错了方向表。人象和四足共用一张表,还多一档植物。摩羯前半被当成水象。相位是阶梯表,没有火、木、土的特殊角度。吉星拿了水星,没拿月亮。
- 触发条件:`calc_bhava_bala` 和 `bhava_bala_from_chart`。
- 根因:标成 jyotishganit,实际表和相位公式不是那套镜像角实现。
- 修复:Dig 表、摩羯前半改四足、BPHS 分段相位、火木土特殊相位、吉星改为月亮木星金星。结果标明 `jyotishganit_mirrored_equal_house_v2`,并写明这不是经典定论。
- 验证:`tests/test_bhava_bala_vendor_profile.py` 与供应商公式逐角对照。`tests/test_bhava_bala_formal.py` 通过。
- 防复发:上述对照测试。
- 相关记录:BUG-1210。
- 复发自:无。
- 修复版本:分支 `codex/upstream-sync8-20261017`。上游提交 `a4d4a249`。