Files
Jyotisha/tests/test_affliction_evidence.py
T
ClaudeandClaude Opus 5.5 8ed5b5f3c9 feat(engine): port upstream skill calculation fixes into the engine (BUG-1699)
- affliction_evidence / career_semantic_profile / career_analysis (functional
  roles, affliction signals, user-industry gate)
- sade_sati.build_saturn_cycle_timeline with bisected ingress moments
  (FLG_SIDEREAL frame, BUG-1275)
- Chesta profile candidates and PL9 AV cell profile as sidecars
  (shadbala.py / ashtakavarga.py stay frozen, ERR-110)
- Raman Sahams in the annual pack; book rule packets + admission gate
- consultation_native_layers: affliction_evidence, career_analysis,
  sade_sati_timeline, shadbala_chesta_profiles, book_rules,
  annual_tajika.raman_sahams

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXoyn7Hj3LCW3BUs5bZ8
2026-11-07 14:42:54 +08:00

20 lines
738 B
Python

from scripts.affliction_evidence import collect_affliction_evidence
def test_affliction_evidence_collects_signals_without_verdict():
result = collect_affliction_evidence(
target_house=4,
target_lord='Moon',
planets={
'Moon': {'house': 9, 'combust': True},
'Saturn': {'house': 2},
'Rahu': {'house': 9},
},
functional_malefics={'Moon'},
)
kinds = {row['type'] for row in result['signals']}
assert {'conjunction', 'functional_malefic', 'combust', 'dusthana_placement'} <= kinds
assert result['status'] == 'parameter_sensitive'
assert result['pressure_language_allowed'] is True
assert 'no universal weight' in result['claim_boundary']