fix(transit): double-transit aspect check counts houses from 1 (upstream 2dd6062a)

Saturn's 7th aspect was judged on the 8th house, Jupiter 5/9 on 6/10, Mars
4/8 on 5/9. Ported from yinduzhanxing 2dd6062a with product authorization
(TASK-upstream-sync4-20261002 T2).

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 13:50:24 +08:00
co-authored by Claude Opus 5.5
parent a18f8d4e1a
commit 42d1582f4c
2 changed files with 31 additions and 1 deletions
+1 -1
View File
@@ -13072,7 +13072,7 @@ def _check_pac(planet_name, planet_lon, target_lon, asc_idx):
}
aspects = planet_aspects.get(planet_name, [7])
for offset in aspects:
if ((t_house - p_house + 12) % 12) == offset:
if ((t_house - p_house + 12) % 12) + 1 == offset:
results.append({'type': 'Aspect', 'offset': offset, 'desc': f'{offset}宫相位'})
return results