fix(avastha): keep simultaneous conditions and use the PVR activity formula
Upstream e628118d, 7d545039, f75a6e77, and ac565836. Dignity follows the sign, Deeptadi keeps every condition that applies, and Shayanadi hours come from the previous Hindu sunrise. BUG-1389. Co-Authored-By: Grok (agent loop) Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Grok (agent loop)
Cursor
parent
0bd254cf18
commit
83c97a8976
@@ -36623,3 +36623,18 @@
|
||||
- 相关记录:无。
|
||||
- 复发自:无。
|
||||
- 修复版本:分支 `codex/upstream-sync8-20261017`。上游提交 `9f9f16b3`、`872eaecf`。
|
||||
|
||||
## BUG-1389 | Avastha 友敌恒为假,落陷只认精确点,Shayanadi 按元素猜
|
||||
|
||||
- 状态:resolved
|
||||
- 首次发现 / 最近更新:2026-10-17 / 2026-10-18
|
||||
- 来源:issue #80,任务书 T8。上游 `e628118d` 只取 Avastha 部分,以及 `7d545039`、`f75a6e77`、`ac565836`。检索「Deeptadi」「Shayanadi」,无既有编号。
|
||||
- 现象:友星座和敌星座判定恒为假。旺、落只认精确度数前后 5°。年龄状态不按奇偶宫翻转。警觉状态按宫位,交点星也套七曜规则。标签把落陷写成残缺、燃烧写成恶意。姿态状态按星座元素猜测。完整解读没有把月亮、上升和日出后小时数送进公式。
|
||||
- 触发条件:`AvasthaCalculator.calculate_all_avasthas`,以及 `cmd_full_reading` 的 Avastha 步骤。
|
||||
- 根因:友敌函数是空实现。旺落用度数窗口。Shayanadi 没有 PVR 公式,主链也没有日出上下文。
|
||||
- 修复:友敌读 `shat_bala_constants.json` 的自然关系。旺落按整座。年龄状态按奇偶宫翻转,老年不编分数。警觉按尊贵,交点标未分类。Deeptadi 按 Science of Light:落陷 Khala、燃烧 Kopa、友 Shanta、中性 Dina、敌 Duhkhita。并存条件全部留下;单标签标明「无经典出处」;大友和凶星同宫标明「未计算」。Shayanadi 在主链改用 PVR 公式,小时数来自前一次 Hindu 日出。报告表和英文表在有并存条件时把它们拼进 Deeptadi 格。
|
||||
- 验证:`tests/test_avastha_dignity_regressions.py`、`tests/test_shayanadi_pvr.py`、`tests/test_avastha_full_reading_wiring.py`。前端 `tests/report-fact-tables.test.ts` 11 项通过,含中英文并存条件格。
|
||||
- 防复发:无活动上下文时 Shayanadi 仍标 `simplified_heuristic`;主链传入上下文后必须是 `pvr_15_4_4_running_ghati`。
|
||||
- 相关记录:BUG-1388。
|
||||
- 复发自:无。
|
||||
- 修复版本:分支 `codex/upstream-sync8-20261017`。上游提交 `e628118d`、`7d545039`、`f75a6e77`、`ac565836`。
|
||||
|
||||
Reference in New Issue
Block a user