fix(ci): pin Lahiri on CLI smoke fixtures after Raman default
Raman is the product default; these dignity and Dasha assertions were measured under Lahiri and must pass the ayanamsa explicitly. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -24,6 +24,9 @@ BASE_BIRTH_ARGS = [
|
||||
"--lon", "116.4",
|
||||
"--tz", "8",
|
||||
]
|
||||
# Lahiri-calibrated comparison fixtures. Product default is Raman; these
|
||||
# assertions lock Dasha/D9/DK labels that were measured under Lahiri.
|
||||
LAHIRI_ARGS = ["--ayanamsa", "lahiri"]
|
||||
|
||||
|
||||
def run_engine(*args: str) -> dict:
|
||||
@@ -138,6 +141,7 @@ def test_chart_reports_richer_d1_dignity_labels_for_user_case() -> None:
|
||||
"--lat", "37.7749",
|
||||
"--lon", "-122.4194",
|
||||
"--tz", "8",
|
||||
*LAHIRI_ARGS,
|
||||
)
|
||||
|
||||
assert result["planets"]["Jupiter"]["sign"] == "Gemini"
|
||||
@@ -227,6 +231,7 @@ def test_full_reading_accepts_second_and_preserves_birth_time_precision() -> Non
|
||||
"--lat", "37.7749",
|
||||
"--lon", "-122.4194",
|
||||
"--tz", "8",
|
||||
*LAHIRI_ARGS,
|
||||
"--today", "2026-06-24",
|
||||
"--transit-date", "2026-06-24",
|
||||
)
|
||||
@@ -699,7 +704,7 @@ def test_full_reading_exposes_sensitive_point_modules() -> None:
|
||||
|
||||
|
||||
def test_full_reading_uses_d9_context_for_navamsa_dignity() -> None:
|
||||
result = run_engine("full-reading", *BASE_BIRTH_ARGS)
|
||||
result = run_engine("full-reading", *BASE_BIRTH_ARGS, *LAHIRI_ARGS)
|
||||
|
||||
d9_jupiter = result["modules"]["d9_navamsa_expanded"]["Jupiter"]
|
||||
assert d9_jupiter["sign"] == "Capricorn"
|
||||
@@ -717,6 +722,7 @@ def test_full_reading_uses_d9_context_for_darakaraka_dignity() -> None:
|
||||
"--lat", "35.6895",
|
||||
"--lon", "139.6917",
|
||||
"--tz", "9",
|
||||
*LAHIRI_ARGS,
|
||||
)
|
||||
|
||||
darakaraka = result["modules"]["jaimini"]["darakaraka"]
|
||||
@@ -736,6 +742,7 @@ def test_full_reading_uses_d9_context_for_vimsopaka_navamsa_dignity() -> None:
|
||||
"--lat", "35.6895",
|
||||
"--lon", "139.6917",
|
||||
"--tz", "9",
|
||||
*LAHIRI_ARGS,
|
||||
)
|
||||
|
||||
navamsa = result["modules"]["vimsopaka"]["Sun"]["varga_scores"]["Navamsa"]
|
||||
@@ -743,7 +750,7 @@ def test_full_reading_uses_d9_context_for_vimsopaka_navamsa_dignity() -> None:
|
||||
|
||||
|
||||
def test_full_reading_maps_advanced_dignity_labels_into_vimsopaka_scores() -> None:
|
||||
result = run_engine("full-reading", *BASE_BIRTH_ARGS)
|
||||
result = run_engine("full-reading", *BASE_BIRTH_ARGS, *LAHIRI_ARGS)
|
||||
|
||||
jupiter_d9 = result["modules"]["d9_navamsa_expanded"]["Jupiter"]
|
||||
assert jupiter_d9["dignity"] == "NEECHA_BHANGA"
|
||||
|
||||
Reference in New Issue
Block a user