Bug: Karana name is incorrectly mapped/indexed in Panchang calculation

While validating a chart against three other astrology applications and the classical Karana sequence, I found that the Karana number is calculated correctly, but the displayed Karana name is incorrect.

For this chart:
Calculated Karana index/number: 47
Expected Karana: Taitila
Currently displayed in the application: Bava
The screenshot also confirms that Karana 47 corresponds to Taitila, followed by 48 Garaja.
Expected Result
When the calculated Karana number is 47, the application should display:
47 – Taitila
Actual Result
The application displays:
Bava
Suspected Issue
This appears to be a Karana name lookup/indexing problem, rather than an astronomical calculation issue. The Karana number is correct, but the name may be fetched from the wrong array position—possibly due to a zero-based versus one-based indexing mismatch.
Kindly review the Karana sequence mapping and correct the name associated with index 47.
Please connect with me for more details
Log in to comment and vote
No comments yet
Be the first to share your thoughts.