Skip to content

Yoga Calculation Typo/Bugs #22

@ghost

Description

src/jhora/horoscope/chart/yoga.py

Ln 238
Hamsa yoga
hamsa_yoga_1 = any('4' in x for x in [h_to_p[y] for y in [8,9,11]])

Appears to incorrectly be listing Sagittarius, Capricorn, and Pisces. Should be [3,8,11] for Cancer, Capricorn, and Pisces.

Ln 435
chaapa yoga also appears to be appearing as a false positive, ascendant house in test case is empty (except Lagna)

Ln 444
ardha chandra yoga false positive, all planets exist in 2-4,10-12 and none in 1 (except Lagna)

Ln 526
subha yoga false positive
1st house empty in test case, second house contains malefic, 12th house contains benefic

Ln 534
asubha yoga false positive
see above

Ln 650
Bheri yoga false positive
9th lord exalted, however other conditions not met: venus in 12th, lagna lord in 2nd, 7th and 1st houses empty

Ln 930
Bhaarathi yoga
A little confused on the logic with this one.
Test case conditions:
-9th lord Jupiter exalted in rasi
-11th lord (in Rasi, Aquarius - Saturn) in Pisces (Navamsa)
-Jupiter-Jupiter self-referential?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions