Files
Jyotisha/tests/test_affliction_weight_profile.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

15 lines
652 B
Python

from scripts.affliction_evidence import validate_affliction_weight_profile
def test_affliction_weights_require_all_signal_types():
result = validate_affliction_weight_profile({'conjunction': 1})
assert result['status'] == 'parameter_sensitive'
assert 'varga_pressure' in result['missing']
def test_affliction_weights_are_shared_across_domains():
names = ('conjunction', 'graha_aspect', 'functional_malefic', 'debilitated', 'combust', 'dusthana_placement', 'varga_pressure')
result = validate_affliction_weight_profile({name: 1 for name in names})
assert result['status'] == 'ready'
assert 'parents' in result['domains']