Back to home

Compare

Comparing: Why This AI Tarot Dev Won't Let the LLM Draw Cards — A Rare Honest Post-Mortem & 做AI塔罗的程序员坚决不让大模型自己抽牌——这是一次难得的诚实复盘

AEN
DeepSeekAI TarotAgent·

Why This AI Tarot Dev Won't Let the LLM Draw Cards — A Rare Honest Post-Mortem

The developer behind an AI tarot app holds to a discipline that looks obsessive but is in fact critical: the 78-card shuffling, drawing, and meaning lookup all go to code; DeepSeek only writes the final reading. We believe this may be the single assignment every Agent product should copy right now—too many teams dump everything on the LLM without thinking through which steps should never have been handed to a model in the first place.

What this is

The developer published a full post-mortem on Juejin, breaking the flow into four steps:

  • Shuffling uses the Fisher–Yates algorithm (a standard uniform-random method). 100,000 simulation runs with a chi-square test (a common statistical test for randomness); three rounds scored 60–77, below the 98.48 threshold—treat as uniform.
  • Card meanings use a self-built keyword library from the Rider-Waite system (the dominant reference in the tarot world)—5 keywords each for upright and reversed positions across the 78 cards, with no on-the-fly generation by the model.
  • Expression rules are baked into the system prompt: honesty beats comfort, yes/no questions get a direction first, and action recommendations must be executable within 24 hours.
  • Model choice: DeepSeek Flash, with the reasoning-intensity parameter (the switch that controls how deeply the model "thinks") explicitly set to low; median time-to-first-byte in production is 3.3 seconds.

Industry view

This "division of labor" discipline is being validated by more and more frontline developers: lotteries, reconciliation, and validation go to code; language, summarization, and style go to the model. Stuffing steps that can be written as clear rules into a model burns compute and is hard to debug—it's becoming the emerging consensus in the Agent world.

Pushback is just as sharp. For a domain like tarot that is essentially "meaning-making," is demanding strict uniform randomness a misstep? Users want experience and resonance, not a p-value. A more radical take: strict "de-LLM-ization" itself proves the model isn't strong enough—once a model is theoretically general enough, shuffling, meanings, and reading can all be handed to it. A product manager's off-the-record verdict: "Very engineering, but not the endgame." We lean toward this: the developer doesn't fail to see that—they're just living in 2026 reality.

Impact on regular people

For enterprise IT: many internal AI assistants also dump approval and lookup steps—ones that have deterministic answers—onto the model, and the answers drift and become hard to debug. Figuring out which sections must be covered by rules before deciding which sections go to the model is becoming a new fundamental skill.

For individual careers: people using AI tools are picking up a new literacy—distinguishing "this job should go to AI" from "this job has a standard answer, look it up yourself." Spending your best effort where it counts is itself a new skill.

For the consumer market: users are already used to talking with AI products, and the details that make a product "look like it's doing the work seriously"—time-to-first-byte, straight answers, no beating around the bush—will increasingly become sources of differentiation. The next dimension to be competed on may be "sense of reliability" rather than "sense of smartness."

Source: juejin.cn
BZH
DeepSeek星语塔罗产品设计·

做AI塔罗的程序员坚决不让大模型自己抽牌——这是一次难得的诚实复盘

做 AI 塔罗的程序员坚持一条看似偏执、实则关键的纪律:78 张牌的洗牌、抽牌、查牌义全交给程序,DeepSeek 只负责最后写那段解读。我们认为,这可能是当下 Agent 产品最该抄的一条作业——很多团队习惯甩锅给大模型,却没想清楚哪些环节本来就不该交给模型。

这是什么

这位开发者在掘金做了完整复盘,他把流程拆成四步:

  • 洗牌用 Fisher–Yates 算法(标准均匀随机方法)。10 万次模拟做卡方检验(一种检验随机性的常用统计方法),三轮结果 60~77,低于阈值 98.48,可视为均匀;
  • 牌义走韦特体系自建词库(塔罗界主流含义参考),78 张牌正逆位各 5 个关键词,不让模型现编;
  • 表达规则写进系统提示词:诚实优先于安慰、是/非题先给指向、行动建议必须 24 小时内可执行;
  • 选型用 DeepSeek Flash,推理强度参数(控制模型「思考」深度的开关)显式设 low,线上首字等待中位数 3.3 秒。

行业怎么看

这条「分工纪律」正被越来越多一线开发者验证:抽奖、对账、校验归程序;语言、归纳、风格归模型。把能用规则写清楚的硬塞给模型,既烧算力又难排查,差不多是 Agent 圈正在浮现的共识。

反对意见同样尖锐。对塔罗这种本质是「意义建构」的场景,要求严格均匀随机是否走偏?用户要的是体验与共鸣,不是统计学的 p 值。也有更激进的声音:严格「去 LLM 化」恰恰说明模型还不够强——理论上足够通用时,洗牌、牌义、解读都可一并交给它。一位产品经理私下评价:「很工程师,但不是终局。」我们倾向:这位开发者不是不懂,而是活在 2026 年的现实里。

对普通人的影响

对企业 IT:不少内部 AI 助手把审批、查询这类本身有确定答案的步骤也甩给模型,结果答案飘、排查难。先想清哪段必须由规则兜底,再决定哪段上模型,是门新基本功。

对个人职场:用 AI 工具的人正多出一种素养——分辨「这活该让 AI 做」还是「这活有标准答案、该自己查」。把好钢用在刀刃上,本身就是新技能。

对消费市场:用户已习惯和 AI 产品对话,「让产品看起来在认真做事」的细节——首字延迟、正面回答、不绕弯——会越来越成为差异化来源。下一个被卷起来的维度,可能是「靠谱感」而非「聪明感」。

Source: juejin.cn