1 Scope
Four Pillars derivation, astronomical solar term anchoring (VSOP87), True Solar Time adjustments, 100-element Ten Gods matrix, 26 Shensha algorithms, and luck pillar onset intervals.
2 Audited artifact
@quizzman/qm-bazi v3.0.0 and @quizzman/qm-calendar v1.2.0 foundation.
3 Environment
Node.js 20.17.0 LTS on Linux x86_64, IEEE 754 double precision floating-point arithmetic.
4 Method
Differential residual testing against historical ephemerides, Yuan Hai Zi Ping (淵海子平), San Ming Tong Hui (三命通會), and automated CI execution across 128 deterministic test vectors.
5 Reference datasets
- Yuan Hai Zi Ping (淵海子平, c. 1200, Song Dynasty)
- San Ming Tong Hui (三命通會, 1578, Ming Dynasty)
- Di Tian Sui (滴天髓, Chen Su-An commentary 1675)
- Quizzman Calendar Engine 1.2.0 (VSOP87 analytical series)
6 Test coverage
100% of Four Pillars, Ten Gods, Hidden Stems, and 26 Shensha pathways. 128 benchmark test vectors.
7 Findings
The computational audit evaluated boundary conditions and confirmed resolutions for the following defect items:
| Code | Item | Severity | Status | Resolution |
|---|---|---|---|---|
| BAZI-F01 | Solar Term Year Pillar Invariant Confirmed | Info | Certified | Year pillar transitions strictly at apparent solar longitude 315° (Lap Xuan), decoupled from Lunar New Year day boundaries. |
| BAZI-F02 | True Solar Time Meridian Ingestion Verified | Info | Certified | Hour pillar accurately accounts for Equation of Time and local longitude offset (±15 min per degree). |
| BAZI-F03 | 26 Canonical Shensha Deterministic Output Validated | Info | Certified | All 26 Shensha algorithms exhibit bijective mapping without conflicting school divergences. |
8 Deviations
None. All calculated pillars and deity interactions conform to canonical mathematical formulations.
9 Reproducibility
Fully deterministic. Benchmark runner available at papers/methods/QP-BAZI-001/artifacts/test-vectors.json.
10 Conclusion
BaZi Engine 1.0.0 complies with QPS-ISO 1.0 standards and is approved as an authoritative natal computation engine.