The Accuracy Boundary of LLMs in Fortune-Telling Systems: An Engineering Practice Guide
This article examines why asking whether an LLM can "tell fortunes accurately" is the wrong starting point, and reframes accuracy as three measurable engineering layers: input precision, system applicability, and generation consistency. It walks through the main error sources—time normalization and solar-time correction, granularity mismatch between divination systems and questions, and sampling randomness—then proposes a layered cloud reference architecture, routing and validation pseudocode, and four evaluation metrics. The takeaway: reproducible, auditable, clearly bounded behavior comes from engineering controls, and explicit refusal or downgrade for out-of-scope questions is the responsible design choice.
1. Reframing the Problem: Why “Is It Accurate?” Is the Wrong Question
When integrating a large language model into a traditional fortune-telling or divination workflow, the most common request is “make it accurate.” From an engineering standpoint, however, accuracy has to be decomposed into measurable sub-problems first; otherwise it cannot be evaluated or iterated on. At minimum, it splits into three layers:
- Input accuracy: whether birth time, location, and calendar conversion are precise down to the minute and the longitude;
- System applicability: whether the chosen inference system is suited to the granularity of the question being asked;
- Generation consistency: whether the model output is stable, reproducible, and verifiable.
If any one of the three layers fails, the end-user experience always degrades into the same complaint: “Everything it says is technically right, but none of it is useful.”
2. Error Source 1: Input Precision and Time Normalization
The traditional Four Pillars system models time with four pairs of stems and branches—year, month, day, and hour—so its time resolution is the shichen, a two-hour block. This means:
- Two people born in the same place within the same shichen have identical input features;
- Without longitude correction (true solar time), samples near a shichen boundary shift wholesale by one full block;
- Calendar systems (lunar/solar), leap months, and cross-timezone records frequently produce inconsistent interpretations.
In engineering terms, time normalization should be a standalone service, not something pushed into the prompt and left for the model to “figure out on its own”:
raw record -> calendar detection -> timezone and longitude correction -> shichen boundary check -> structured features
The key point: the shichen boundary check must explicitly emit a confidence interval. If a record falls within ±N minutes of a boundary, the system should proactively downgrade to “uncertain” rather than return a definitive conclusion.
3. Error Source 2: System Applicability vs. Question Granularity Mismatch
The Four Pillars system has a clear historical lineage: its prototype was the Tang-dynasty three-pillar fate method (year, month, day); the Song dynasty added the hour pillar to form the Four Pillars / Eight Characters structure. It has long been used to describe overall patterns, long-term trends, and innate disposition—reasoning at a “macro, static, fixed-destiny” level.
Its inherent limitation comes from the same place: coarse resolution, few variables, and low sensitivity to specific dynamic events. Using it to answer a fine-grained question like “Is next Wednesday a good day to sign a contract” will inevitably degrade the output into generic phrasing. This is not a model capability problem; it is a mismatch of scale between the tool and the question.
Engineering recommendation: build a routing layer that maps question granularity to system.
- Macro questions (overall pattern, long-term trends, disposition) → Four Pillars–type systems;
- Concrete personnel matters, directions, and timing decisions → traditional systems that emphasize real-world correspondence;
- Unclassifiable → explicit refusal, or fall back to general planning advice.
The routing layer can be implemented with rules plus a classification model, and its output must include a system identifier and an applicability note so decisions can be traced back.
4. Error Source 3: Generation Randomness and Non-Reproducibility
Sampling gives LLMs diversity—an advantage in creative work, a defect in inference work. If the same input yields different conclusions on two separate runs, user trust collapses quickly. Controllable measures:
- Reduce randomness: lower the sampling temperature and fix the random seed (where the runtime supports it);
- Structural constraints: emit output in a fixed schema, carrying conclusions in fields;
{"system": "four-pillars","input_confidence": 0.62,"applicable_scope": "macro_trend","conclusion": "Focus on long-term trend description; does not cover specific events","evidence": ["shichen boundary deviation", "missing longitude correction"],"refuse_reason": null}
- Validation loop: automatically validate required fields, enum values, and evidence references; on failure, retry or downgrade;
- Version traceability: record the prompt template, model version, and knowledge base version together to guarantee reproducibility.
5. A Practical Reference Architecture
Building this kind of application in the cloud can follow a general capability layering:
- Access layer: a conversation gateway handling authentication, rate limiting, and auditing;
- Orchestration layer: intent recognition and system routing, deciding which inference path to take;
- Knowledge and rules layer: calendar conversion tables, shichen boundary rules, and a terminology dictionary, injected via retrieval augmentation;
- Model layer: a unified inference interface with centrally managed parameters;
- Evaluation layer: an offline evaluation set plus online monitoring and alerting, tracking consistency, refusal rate, and field-compliance rate;
- Storage layer: object storage for raw records, and a logging service for audit trails.
Illustrative orchestration pseudocode:
def route(query, record):feat = normalize_time(record) # calendar / timezone / longitudeif feat.boundary_margin < 10: # minutesreturn reply_refuse("insufficient input precision")system = classify_granularity(query) # macro / eventif system == "event" and not feat.precise:return reply_downgrade("fall back to general planning advice")return generate(query, feat, system)
6. Evaluation Metrics: Turning “Accurate” into Something Measurable
At least four metric families are worth tracking:
- Consistency: the agreement rate of conclusions across repeated generations for the same input;
- Compliance: structured-field pass rate and enum out-of-range rate;
- Refusal quality: recall and false-refusal rate for scenarios that should be refused;
- Attribution completeness: whether conclusions come with verifiable evidence and an explicit uncertainty statement.
With metrics in place, iteration shifts from “it feels more accurate now” to “metric X improved by Y%.”
7. Conclusion
The “accuracy” of an LLM in divination-style reasoning is not fundamentally a question of model intelligence. It is an engineering problem determined jointly by input resolution, system applicability, and generation controllability. Only by making time normalization, system routing, structured output, retrieval augmentation, and evaluation monitoring solid can you deliver an application that is reproducible, auditable, and clearly bounded. For questions that exceed the resolution of the system, explicit refusal or downgrade is the responsible implementation.
