Skip to content
Daovian

How we calculate

Engine first, sources second, language last — the full method behind Daovian’s claim of transparent Chinese metaphysics.

Daovian is built around a simple rule: if a strong claim cannot be tied to a deterministic calculation or a citable source, we do not ship it as destiny.

That sounds obvious until you look at how most “AI metaphysics” products work. They accept a birth time, call a model, and return fluent prose. The prose may mix correct calendar facts with invented classical authority. You cannot tell which is which, because calculation and storytelling share one opaque reply.

We split the stack on purpose.

1. Engine first — deterministic facts

The engine owns calendar and chart math:

Same inputs must yield the same facts for every user. No LLM sits on this path. No sampling temperature. No “creative reinterpretation” of a day master.

Rule forks we will document

Chinese calendar practice is not one global standard. Transparent software states its fork instead of hiding it:

When the app exposes toggles, diffs must be explainable from those toggles alone. Silent forks are how two “accurate” apps disagree while both claim authority.

What “recompute” means for you

You should be able to read a fact panel, re-enter the same birth data and timezone policy, and land on the same result. If we cannot meet that bar for a feature, the feature is not ready.

2. Sources next — rules and passages

Traditional explanations need a trail:

Free keeps facts and rules visible, with limited passage previews. Pro expands the citation trail. We start from open Markdown / JSON corpora with thin retrieval, then curate sources over time.

What we do when sources are missing

We show the chart or day facts without forcing an interpretation. Empty space is better than fabricated lineage. “AI sounded confident” is not a source.

3. AI only explains — never invents math

When AI features run, the model receives:

  1. structured engine output
  2. retrieved passages / rule descriptions

It may translate, summarize, and clarify. It must not invent new clash logic, new five-phase scoring, or new classical citations that were not retrieved.

If a Pro explanation cannot be grounded, we prefer a weaker, clearly labeled note over a strong ungrounded verdict.

4. Free vs Pro in method terms

Layer Free Pro
Engine facts Yes Yes
Algorithm rules Yes Yes
Passage preview Limited Full expansion
AI narration No (or tightly limited later) Yes, within fence
Date selection tools Day browse Auspicious selection

We do not lock the chart itself behind a paywall. Verification is not a premium feature. Soft-free: signed-in users currently get the Pro column above while paid checkout is prepared — see Pricing.

5. Life reference, not absolute fate

Everything Daovian publishes is cultural and analytical reference. It is not medical, psychological, legal, financial, or guaranteed destiny advice. A skilled human practitioner may add judgment we do not claim. Use the product as an inspectable aid — not as a substitute for professional counsel or personal responsibility.

6. Ziwei (紫微斗数) — natal + decadal/yearly structure

Ziwei is available as a natal palace–star chart, plus decadal / yearly stems and mutagen star names for a target civil date (placement structure). Same stack contract: engine facts first, open rules second, AI only narrates what was computed and retrieved.

Inputs

Unknown birth hour is not supported in v1: palace placement depends on the Chinese double-hour (时辰).

Upstream fork (documented)

Construction uses iztro with:

We do not silently switch schools. If a future toggle appears, it will be named and test-locked.

What the engine returns

For each of the twelve palaces: palace name, heavenly stem / earthly branch, major stars, and a short list of auxiliary stars. Also soul/body labels, five-elements class, and decadal/yearly stem–branch plus mutagen names for the target date. Same inputs (and same target date) → same JSON.

What we refuse

Module page: Ziwei.

7. Liuyao (six lines)

Liuyao in Daovian is Najia packing facts, not a full yuanchen verdict.

Inputs

Line values come from either:

  1. Electronic three-coin cast — server-side cryptographic randomness for three coins (yang=3, yin=2), summing to 6/7/8/9; faces are HMAC-bound to your account. Cast time is China Standard Time when the sixth line finishes
  2. Manual entry — values from a cast you already made offline, with a time you choose

The packing engine consumes the final line values and time; the shake procedure does not change the Najia algorithm. Unknown hour is not supported in v1.

Upstream fork (documented)

Packing is self-hosted Jing Fang Najia in packages/engine (liuyaoLib: daovian.najia):

We will not silently switch schools. If we add another fork later, it will be named and locked with tests.

What the engine returns

Original (and optional changed) hexagram names, palace, six line rows (value, Najia, relative, six god, 世/应, hidden spirit), day pillar, month branch. Same inputs → same JSON.

What we refuse

Module page: Liuyao.

8. Qimen Dunjia

Qimen in Daovian is hourly Chaibu zhuanpan packing facts, not pattern verdicts or auspicious-direction advice.

Inputs

Unknown hour is not supported in v1.

Upstream fork (documented)

We will not silently switch to feipan, Maoshan, or Zhirun. If we add another fork later, it will be named and locked with tests. Upstream pattern-interpretation text is not exposed in engine JSON / AI claims.

What the engine returns

Four pillars, solar term, yuan, yang/yin dun, ju number, duty star/door (with palaces), nine palace rows (earth stem, sky stem, star, door, god), hour xun voids. Same inputs → same JSON.

What we refuse

Module page: Qimen.

9. Yijing

Daovian Yijing is King Wen study facts (structure + public-domain judgment text), not an oracle. For Najia casting see Liu Yao.

Inputs

The engine also resolves by Chinese name (exact full or short name only — no substring fuzzy match) or six-bit binary (bottom→top, 1=yang 0=yin); v1 UI is number-first.

Upstream fork (documented)

We will not silently turn study into casting. If we add line statements / Ten Wings later, versions and sources will be named.

What the engine returns

Number, full/short name, bits, upper/lower trigrams, six line yin/yang rows, judgment text. Same query → same JSON.

What we refuse

Module page: Yijing.

10. Naming

Daovian Naming is structure analysis of a user-proposed name (strokes + radical five-phase + pinyin + optional Chinese–English对照 + optional day-master relations), not marketing lists or luck scores.

Inputs

Upstream fork (documented)

We will not silently switch stroke or wuxing tables. Characters with no stroke/radical mapping are rejected.

What the engine returns

Full name, per-character strokes/radical/element/pinyin, surname/given/total strokes; in zh_en, English normalize + crosswalk flags; optional day stem and relations. Same input → same JSON.

What we refuse

Module page: Naming.

11. Company naming

Daovian Company Naming is structure analysis of a user-proposed brand (whole Chinese string + optional Chinese–English对照). It shares the personal-naming dictionary and radical_v1, but has no surname/given split and no day-stem link.

Inputs

Upstream fork (documented)

What the engine returns

Brand, per-character strokes/radical/element/pinyin, total strokes and char count; in zh_en, English normalize + crosswalk flags. Same input → same JSON.

What we refuse

Module page: Company naming.

12. Logo Wuxing

Daovian Logo Wuxing is a public map of confirmed colors (and optional shape). You may upload a logo for browser-local palette, shape heuristics, and OCR; five-phase mapping still uses only confirmed hex/shape — not an aggregate score.

Inputs

Upstream fork (documented)

What the engine returns

Normalized hex, RGB/HSL, primary/secondary elements and mapping kinds; optional structural color relation and shape element. Same confirmed input → same JSON.

What we refuse

Module page: Logo Wuxing.

13. Fengshui (Eight Mansions + Xuan Kong)

The Fengshui module offers two named methods (pick explicitly; never mixed):

  1. Bazhai (daovian.bazhai.v1): facing → house gua and wandering-star labels; optional ming gua
  2. Xuan Kong v2 (daovian.xuankong.v2, default): period plate + 24-mountain plates + one published substitute-star table
  3. Xuan Kong v1 (daovian.xuankong.v1, optional): period plate + eight-direction Tian Yuan plates (simplified; no substitute-gua)

Neither is a construction remedy map.

Bazhai inputs

Bazhai rules

Xuan Kong inputs (v2 default)

Xuan Kong inputs (v1 simplified)

Xuan Kong rules

Xuan Kong forward/reverse (same fork in v1 and v2)

After a star enters the center, fly direction follows that star’s Lo Shu home-palace Tian Yuan yin/yang (star 5 uses the mountain’s eight-direction palace) — same as v1.
We do not use “center-star yin/yang × per-mountain dragon yin/yang”. This published fork keeps anchors such as Period-7 午坐子向 aligned with v1; it is not claimed as universal truth.

What the engine returns

Bazhai: facing/sitting, house gua/group, wandering-star labels; optional ming tags.
Xuan Kong: period, period plate, mountain/facing plates, center stars and fly direction; v2 also includes 24-mountain names and substitute-gua flags.
Same method + inputs → same JSON.

What we refuse

Module page: Fengshui.

13b. Bazi decade luck / yearly (structure)

When sex is male/female, the Bazi chart also includes:

Without sex, decades are omitted. Module page: Bazi.

14. Current status

The product app is live at app.daovian.com. This page is the public method contract for what we ship: catalog modules expose recomputable structure facts with named forks and refusals. Deeper features keep the same URLs — document method and boundaries first, then ship calculation; we do not publish fake plates with an undocumented school fork.