fix: astrologer round-5 rulings 2/3/4/5/10/13 (BUG-1746..1752)

- Functional default = PVR Table 30 (functional_profile=pvr_table_30); the former
  product table is bphs_exception_profile, scored only when named (rectification
  names it, scores unchanged). profile_divergence shows both roles side by side;
  movable-lagna Moon by the table's paksha note; dual-lordship note; prior rulings
  BUG-1570/1590/#166 Q4 checked against Table 30.
- Shadbala: six open items labelled parameter_sensitive; every option combination
  computed; only planets whose pass/fail flips get minimum_check=parameter_sensitive.
- Vimshottari AD/PD rows carry parent_period_start / visible_period_start; the
  consult card cuts the balance MD from its full parent and clips at birth.
- KP DBA: full first parent, clipped at birth (no balance rescale).
- Mudda: balance fields + balance_method (angle default, time comparison apart),
  nominal_year_days, her crossing wording; Harsha combined blocked reason lists items.
- D30 _meta describes the unequal parts (as her r40).
- Golden recaptured with TTL=0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
This commit is contained in:
2026-11-08 11:57:22 +08:00
co-authored by Claude Opus 5.5
parent 05a11cefbf
commit 5d64f71b81
47 changed files with 1355 additions and 178 deletions
+6 -2
View File
@@ -243,7 +243,9 @@ def _score_event(
target_lords = _house_lords(ascendant_index, target_houses)
if functional is None:
functional = functional_benefics.derive_functional_benefic_malefic(
natal_chart["ascendant"].get("sign")
natal_chart["ascendant"].get("sign"),
# 第五轮裁定 3 后默认是 PVR 表 30;校正打分在冻结身份里,明确选中原产品表,分数不变(BUG-1746)。
functional_profile=functional_benefics.FUNCTIONAL_PROFILE_BPHS,
)
functional_benefics_set = set(functional.get("functional_benefics") or [])
functional_malefics_set = set(functional.get("functional_malefics") or [])
@@ -578,7 +580,9 @@ def build_candidate_static_context(
except (KeyError, TypeError, ValueError):
narayana_periods = None
functional_profile = functional_benefics.derive_functional_benefic_malefic(
chart["ascendant"].get("sign")
chart["ascendant"].get("sign"),
# 第五轮裁定 3 后默认是 PVR 表 30;校正打分在冻结身份里,明确选中原产品表,分数不变(BUG-1746)。
functional_profile=functional_benefics.FUNCTIONAL_PROFILE_BPHS,
)
narayana_antardasha_by_md = None
if narayana_periods: