Most of the procedure is settled; every source we read gives the same Life Palace rule,
the same bureau, the same Emperor arithmetic and the same star spacing. Three things are
not, and a hand-cast chart that differs from an app's is usually differing on one of
these.
Three rows of the transformation table. For seven year stems everyone
agrees. For Wu, Geng and Ren years, the repute star depends on which book you open, and
the difference is often one written character: the Quanshu's Ren line reads "fu", which
is the Treasury, while the Quanji puts the Left Assistant, whose name is also pronounced
fǔ. Our calculator follows the Quanshu for Wu and Geng and the Quanji for Ren. That is a
choice, not a verdict, and nobody should pretend the question is closed.
In a Geng year the affliction moves with it: where the Treasury takes repute, as in Wang
Tingzhi's notes, the Child takes affliction and the Moon gets nothing. Chinese Wikipedia's
comparison table prints the Quanshu's Geng row with the Moon and the Child the other way
round, which only shows that editions of the Quanshu differ too.
Leap months. The Quanshu is explicit: someone born in a leap first month
sets up the chart in the second month, and every leap month follows that example.
Our calculator instead counts a leap month as the month it is numbered, and when you were
born in one, the result page shows what a split at the fifteenth day would do. That makes
three rules in circulation, and the arithmetic says what each one does. Since the Life
Palace is counted forward from the Tiger palace by the month and back by the hour, the Quanshu rule
always moves it one palace forward, and the Body Palace, the Left and Right Assistants
and possibly the bureau with it. The split at the fifteenth leaves a birth on days 1 to
15 exactly as our calculator has it and treats days 16 onward the way the Quanshu does.
Where the first decade starts. The Quanshu's line on decade limits names
the Parents palace for a yang man or yin woman and the Siblings palace for the others.
Those are the two neighbors of the Life Palace, so the line certainly fixes the direction;
read literally, it could also mean the count begins one palace along. The modern teaching
starts the first decade in the Life Palace itself.
A smaller one: a birth between 11pm and midnight. Chinese Wikipedia notes that rolling it
into the next day is now the mainstream practice, and our calculator does that, but some
schools keep it on the calendar day, which can move the Emperor star.