4ceb3a5157
* feat: enforce precise timing output contract * fix: recognize package imports in fragment audit * test: make workflow stream contract formatting-independent * fix: preserve VedAstro evidence across async workflows * feat: enforce commercial technique truth contract * feat: add rectification technique receipt * feat: extend rectification event evidence * feat: score rectification arudha evidence * feat: gate high rigor rectification confirmation * feat: add controlled transit to rectification * feat: include d11 in rectification finance scoring * feat: add ashtakavarga rectification auxiliary * feat: show rectification technique receipt * feat: use verified shadbala components in rectification * fix: trace transitive script references in fragment audit * feat: run request-level rectification parity packet
16 lines
819 B
Python
16 lines
819 B
Python
from scripts.rectification_three_engine_packet import build_packet, case_hash
|
|
|
|
|
|
CASE = {"year": 1990, "month": 1, "day": 1, "hour": 12, "minute": 0, "lat": 0.0, "lon": 0.0, "tz": 0.0}
|
|
|
|
|
|
def test_packet_is_private_and_never_confirms(monkeypatch) -> None:
|
|
monkeypatch.setattr("scripts.rectification_three_engine_packet._local_d1", lambda _: {"Sun": "Aries"})
|
|
monkeypatch.setattr("scripts.rectification_three_engine_packet._pyjhora_d1", lambda _: {"Sun": "Aries"})
|
|
monkeypatch.setattr("scripts.rectification_three_engine_packet._jyotishganit_d1", lambda _: {"Sun": "Aries"})
|
|
packet = build_packet(CASE)
|
|
assert packet["case_hash"] == case_hash(CASE)
|
|
assert "year" not in str(packet)
|
|
assert packet["can_confirm"] is False
|
|
assert packet["vedastro"]["status"] == "requires_gateway_raw_archive"
|