This is the most technical post in the series — and the most consequential. A wrong bureau number (ju) invalidates the entire chart: every star, gate, and spirit downstream shifts, and the user can't see it happening. The dividing line hides in seven characters of the Yanbo Diaosou Song.
Layer 1 · The Verse (public-domain classical text)
Wǔ rì dōu lái jiē yī yuán, jiē qì chāo shén wéi zhǔn zé. — Yanbo Diaosou Song (Northern Song, rev. Ming dynasty)
Layer 2 · What It Means
Want to test this timing?
Cast a free chart with 3 readings — no signup needed.
Try Qimen Now →
Qimen divides the year's 24 solar terms into 72 "yuan" (each term holds three: upper, middle, lower — each mapped to a bureau number). Which day uses which bureau? The verse sets the standard:
- Five days per yuan. The sexagenary day-count groups into five-day blocks; the first day of each block (a Jia or Ji day, called the Fu Tou, "banner head") determines which yuan the block belongs to.
- Chao Shen and Jie Qi. The Fu Tou and the solar term's exact transition day rarely coincide. When the Fu Tou runs ahead of the term, that's "exceeding the spirit"; when it trails, that's "receiving the qi." How you handle the drift — mechanical re-alignment, or an accumulated intercalary correction — is where schools diverge.
- The Zhi Run method (the classical line we follow): only four days may serve as upper-yuan Fu Tou — Jiazi, Jimao, Jiawu, Jiyou (see Qimen Tongzong: "the four upper-yuan banner heads: Jiazi, Jimao, Jiawu, Jiyou"). Term membership follows the Fu Tou, not the transition day.
Layer 3 · The Verification (featuring our own bug)
This episode is not about other people's errors — it is about ours, which makes the better lesson.
Case: May 9, 2022
While benchmarking against the open-source "Zhangshang Qiankun" implementation, we found our engine charted this day as Lixia, Yang 7, while the reference gave Guyu, lower yuan, Yang 8. One bureau apart — a completely different chart.
Our rule: when a cross-check disagrees, adjudicate against the classical text before anything else. The adjudication:
- 2022-05-09 was a Jiyou day — and against Qimen Tongzong's four upper-yuan Fu Tou (Jiazi/Jimao/Jiawu/Jiyou), Jiyou is an upper-yuan banner head ✅
- Under Zhi Run, term membership follows the Fu Tou day: this five-day block belongs to Guyu, not Lixia (even though Lixia had already begun)
- Guyu lower yuan = Yang 8 ✅ — the reference was right; our engine was wrong
| Method | Logic | Result |
| Flawed approach (our earlier build) | Take the bureau from the day's actual term (Lixia) | Yang 7 ❌ |
| Zhi Run classical method (the verse's rule) | Fu Tou (Jiyou = upper yuan) assigns the block to Guyu, take lower yuan | Yang 8 ✅ |
| Qimen Tongzong, four Fu Tou | Jiyou listed as upper-yuan banner head | Corroborated ✅ |
Fix and regression
We rewrote the engine's Zhi Run function: recognize only the four upper-yuan Fu Tou, count five days per yuan from the Fu Tou, assign terms by Fu Tou day. The fix passed this case and entered our 61-case historical regression — 61/61 match. This very column exists because of that fix: without a cross-checking mechanism, the error would still be hiding in our own software.
Layer 4 · What This Means for You
When a chart backs a decision, the chart is the foundation of every inference. If the foundation is off by one number, the building is wrong no matter how pretty. So when choosing a charting tool, don't stop at the interface — ask: how does it handle Zhi Run? If it can't answer, be careful. Our 61-case record is public on the Track Record page; you are welcome to cross-check your own app against it.
The series continues (star strength cycles, the malefic formation family, host-vs-guest are all queued). For a fully replayed real case first, read Case Review #1: Should We Sell?