把被逐字锁定的年运函数改回原样,历史清单不再要求已删除的占位文件。
年数表字面量留在 calc_mudda_with_dasha_balance 里。调用矩阵测试改为确认这两个路径已删并由现行模块接替。pytest 三条文件 187 通过、1 跳过、0 失败。 Co-Authored-By: Grok (agent loop)
This commit is contained in:
co-authored by
Grok (agent loop)
parent
e96de24721
commit
fbf04f0b5f
+2
-2
@@ -402,8 +402,8 @@ def calc_mudda_with_dasha_balance(
|
||||
producers rather than treating a different balance source as a label.
|
||||
"""
|
||||
|
||||
dasha_order = list(_VIMSHOTTARI_ORDER)
|
||||
dasha_years = _VIMSHOTTARI_YEARS
|
||||
dasha_order = ["Ketu", "Venus", "Sun", "Moon", "Mars", "Rahu", "Jupiter", "Saturn", "Mercury"]
|
||||
dasha_years = {"Ketu": 7, "Venus": 20, "Sun": 6, "Moon": 10, "Mars": 7, "Rahu": 18, "Jupiter": 16, "Saturn": 19, "Mercury": 17}
|
||||
valid_profiles = {"moon_at_birth_time", "moon_in_varshaphala"}
|
||||
if not isinstance(annual_start, datetime):
|
||||
return {"status": "blocked", "reason": "true_solar_return_datetime_required_for_mudda_balance", "balance_profile": balance_profile}
|
||||
|
||||
Reference in New Issue
Block a user