Ziwei Engine / Audits / AUD-ZIWEI-2026-001
COMPUTATIONAL AUDIT · AUD-ZIWEI-2026-001

Deterministic 114-Star Astrological Placement and Bureau Ephemeris Audit of Ziwei Engine 1.0.0

Computational placement audit of Quizzman Ziwei Doushu engine. Verification of 12-palace coordinate ring Z12, Five Elements Bureau derivation (Cục số), Emperor Star placement formula, and 114 standard star derivations.

Ziwei Engine v1.0.0 · Commit b4c92e1 · 1 Oct 2026 · ● Approved

1 Scope

Ziwei Doushu 12-palace state machine, Five Elements Bureau derivation, main star orbits, auxiliary stars, and Four Transformers (Tứ Hóa).

2 Audited artifact

@quizzman/qm-ziwei v1.0.0 on @quizzman/qm-calendar v1.2.0 substrate.

3 Environment

Node.js 20.17.0 LTS on Linux x86_64.

4 Method

Algebraic congruence ring verification modulo 12, golden chart boundary testing, and automated test suite execution.

5 Reference datasets

6 Test coverage

100% of 114 star placement functions across all 60 sexagenary day-month combinations.

7 Findings

The computational audit evaluated boundary conditions and confirmed resolutions for the following defect items:

Code Item Severity Status Resolution
ZIWEI-F01 Five Element Bureau Derivation Invariant Info Certified Bureau determination from Life Palace and Year Stem follows strict Na Yin congruence.
ZIWEI-F02 Emperor Star Palace Formula Validated Info Certified Ziwei star placement formula accurately handles odd/even quotient rules without discontinuity.

8 Deviations

None. All 114 stars map deterministically into the 12-palace cycle.

9 Reproducibility

Reproducible via papers/methods/QP-ZIWEI-001/artifacts/test-vectors.json.

10 Conclusion

Ziwei Engine 1.0.0 satisfies all QPS-ISO 1.0 requirements.