Evaluating LLMs for Traditional Chinese Divination: A Practical Testing and Pitfall Guide

    This article presents an engineering-style evaluation method for using large language models in traditional Chinese divination systems such as Bazi, Zi Wei Dou Shu, Plum Blossom Numerology, and Liu Yao. It explains why layered scoring is necessary, compares three model archetypes across four divination types, and provides reusable prompt templates, validation code, and selection advice to help readers identify reliable outputs and avoid common calculation errors.

    1. Why AI Divination Needs an Engineering Evaluation Method

    Traditional Chinese divination is increasingly used as a day-to-day reference tool, and large language models (LLMs) are widely applied to scenarios such as Bazi, Zi Wei Dou Shu, Plum Blossom Numerology, and Liu Yao because of their language understanding and knowledge organization capabilities. However, several problems appear: the same birth data can lead to contradictory conclusions across different models, interpretations can be vague, and key elements such as heavenly stems and earthly branches or the start of a luck cycle can be wrong. Users often struggle to judge which result is more trustworthy.

    The root cause is not mysterious. Divination calculation can be split into two stages:

    1. Deterministic calculation layer: conversion of heavenly stems and earthly branches, month determination by solar terms, day pillar calculation, luck cycle start time, placement of the twelve palaces and stars in Zi Wei Dou Shu, and hexagram construction and useful-god selection in Liu Yao. This part is essentially rule-based and calendar-based calculation, and it must be reproducible and verifiable.
    2. Probabilistic interpretation layer: pattern determination, strength and weakness assessment, image extraction from hexagrams, fortune narratives, and advice output. This part depends on corpus coverage and reasoning coherence.

    The strength of LLMs lies in the second stage, while their weakness is in the first. Therefore, evaluation must use layered scoring; otherwise, calculation errors may be mistaken for poor interpretation ability, or vice versa.

    This test uses a controlled-variable method: fixed birth data (May 15, 1990, 10:00), a fixed question (analyze this year’s career development fortune), and a fixed prompt format. All tests use free basic versions without extra prompt tuning. Each divination type is tested three times and averaged. Ratings are based on five dimensions: chart accuracy, logical rigor, practicality of interpretation, error probability, and scenario fit.

    The three model archetypes can be summarized as follows:

    • Math/technical specialist: solid algorithm and rule chains, rigorous logic, but average cross-turn stability.
    • Mass-market practical: plain language, strong scenario orientation, good practicality, but occasional basic chart errors.
    • Academic/textual research: complete citation systems and standardized structure, but often rigid and less flexible.

    2. Comparative Tests Across Four Divination Types

    2.1 Bazi: The Most Visible Gap in Chart Accuracy

    Bazi has the highest demand for calendar precision and shows the clearest differences.

    • Math/technical specialist: chart accuracy can exceed 96%, with correct identification of day-master strength, ten-god patterns, and the core of the month command. For example, it can determine a “Direct Officer pattern, Ren water in season and strong” and map “Direct Resource exposed in the stem” to suitable industries such as education and paid knowledge products. The weakness is dynamic fluctuation: repeated tests may swap ten gods (such as Eating God and Hurting Officer), but the model can correct immediately after human feedback and will not stubbornly output wrong conclusions.
    • Mass-market practical: the biggest advantage is translating “Seven Killings attacking the self” into “encountering a strong boss at work” and “Rob Wealth competing for money” into “intense competition among colleagues.” Personality and fortune descriptions fit daily understanding with almost no boilerplate. The main flaw is that the luck cycle start time is generally off by 1–2 years, occasional years do not match the luck cycle table, overall chart accuracy is about 82%, and time zone and day pillar conversion are error-prone.
    • Academic/textual research: provides relatively complete classical references and terminology, suitable for learning the divination framework, but often writes “pattern level” as a fixed conclusion and lacks flexible handling of real-world variables.

    Practical advice: Bazi must follow “verify first, interpret later.” The checklist includes whether the month is correctly determined by solar terms, whether the day pillar is double-checked, whether the luck cycle start time falls within a reasonable range, and whether the ten gods and pattern are internally consistent.

    2.2 Zi Wei Dou Shu: Structural Integrity First

    The difficulty of Zi Wei Dou Shu lies in the star-placement table and the interaction of the twelve palaces; one error can invalidate the whole chart.

    • Math/technical specialist: high accuracy in palace and main-star placement, maintaining consistency among the “Life Palace—Wealth Palace—Career Palace” triangle.
    • Mass-market practical: friendly narrative, but occasional missing main stars or misplaced palaces can shift conclusions.
    • Academic/textual research: supplements star meanings and school differences, but often piles up terminology and lacks actionable advice.

    Recommended approach: require the model to first output a “palace—star” list, then the interpretation; if the list has missing items, mark the round invalid.

    2.3 Plum Blossom Numerology: Casting Rules Determine Success

    Plum Blossom Numerology emphasizes “casting by time and the generation/restraint between body and use,” and the core is a reproducible casting process.

    • Math/technical specialist: relatively stable in time-based casting and body-use determination, keeping upper and lower trigrams and moving lines consistent.
    • Mass-market practical: vivid interpretation, but moving lines and body-use relationships are occasionally inconsistent.
    • Academic/textual research: can explain origins clearly, but often refuses to give a single conclusion.

    Recommended approach: force the model to output the casting formula and moving-line derivation for step-by-step review.

    2.4 Liu Yao: Hexagram Construction and Useful God Are Critical

    Liu Yao errors concentrate on hexagram construction, self/response positions, useful-god selection, and six-relative configuration.

    • Math/technical specialist: high hexagram construction accuracy and clear useful-god selection logic.
    • Mass-market practical: straightforward conclusions, but occasional mismatches in six relatives and self/response positions.
    • Academic/textual research: sufficient citations, but overemphasizes “parallel judgment statements,” resulting in weak practicality.

    Recommended approach: first request a “hexagram body list,” then the “conclusion,” and check whether the useful god is unique and whether strength/weakness has a basis.

    3. Reusable Prompt Template and Validation Code

    A unified prompt format can significantly reduce randomness:

    1. Please use [divination name] to analyze my career fortune.
    2. Birth data: 1990-05-15 10:00 (UTC+8)
    3. Requirements:
    4. 1) First output a calculation list (stems/branches, palaces, or hexagram body);
    5. 2) Then output 3 conclusions, each with supporting evidence;
    6. 3) Mark uncertain parts as "to be verified" and do not fabricate.

    Combined with a simple self-check script idea, separate the “calculation list” from the “conclusion” for validation:

    1. required = ["stems/branches", "month command", "luck cycle", "pattern"] # Bazi example
    2. def validate(plan_text, conclusion_text):
    3. missing = [k for k in required if k not in plan_text]
    4. if missing:
    5. return False, f"Calculation list missing items: {missing}"
    6. if "to be verified" not in plan_text and len(conclusion_text) < 50:
    7. return False, "Conclusion too short and no uncertainty marked"
    8. return True, "Pass"

    4. Pitfall Guide and Selection Advice

    1. Certainty first, interpretation second: for any divination type, check the calculation list first; if the list is wrong, the conclusion is void.
    2. Average three repeated tests: a single result is not trustworthy; models with large fluctuations are only suitable for brainstorming.
    3. Force uncertainty labeling: require the model to explicitly mark uncertain parts, which greatly reduces “confident errors.”
    4. Scenario-based selection: choose the math/technical specialist for rigorous charts, the mass-market practical type for plain and actionable output, and the academic/textual research type for systematic learning.
    5. Human-AI collaboration: treat the model as a “first-draft generator,” with manual review at key nodes; when necessary, use cloud-based logging services, monitoring alerts, and object storage to retain results and run regression comparisons, forming a traceable evaluation loop.

    Conclusion: the value of AI in traditional divination calculation lies in “interpretation efficiency,” not in “replacing calculation.” By turning evaluation into an engineering problem with controlled variables, layered scoring, and checklist validation, you can quickly locate trustworthy sources among contradictory conclusions and achieve efficient reference and precise pitfall avoidance.