Mingfold 命笺 English

Method · verification

24 reproducible test vectors

Every rule in spec v1.0.0 has a case you can run yourself.

Engine spec v1.0.0 · 24 golden vectors · 12 independently cross-checkable against lunar_python 1.4.9 (all agree).

What the vectors cover

A rule worth knowing

The first six vectors (click to expand)
#InputYearMonthDayHour
11990-04-15 10:00 Asia/Shanghai庚午庚辰辛丑癸巳
21988-02-17 23:30 Asia/Shanghai戊辰甲寅甲子丙子
32000-01-01 00:30 Asia/Tokyo己卯丙子戊午壬子
41975-08-21 14:00 America/Los_Angeles乙卯甲申己丑辛未
52003-12-31 23:59 Asia/Shanghai癸未甲子甲子甲子
61965-06-15 05:30 Europe/London乙巳壬午庚子己卯

Full readable version: Method. The complete machine-runnable test file is published with the specification. Run python verify.py to check all 24 vectors, or python verify.py --crosscheck to also compare the 12 cross-checkable vectors against lunar_python 1.4.9.

For self-reflection and entertainment only. Not a prediction, and not advice about health, money, relationships or career.