<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Uba</title>
    <description>The latest articles on DEV Community by Uba (@uba_57b2056106fec30a8e85d).</description>
    <link>https://dev.to/uba_57b2056106fec30a8e85d</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4267164%2F24644b0e-6911-49e7-9819-62e6732bd386.png</url>
      <title>DEV Community: Uba</title>
      <link>https://dev.to/uba_57b2056106fec30a8e85d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/uba_57b2056106fec30a8e85d"/>
    <language>en</language>
    <item>
      <title>Why LLMs Hallucinate Lunar Calendar &amp; I Ching Calculations (And Our Open-Source 2027 Deterministic Dataset)</title>
      <dc:creator>Uba</dc:creator>
      <pubDate>Fri, 27 Nov 2026 11:48:29 +0000</pubDate>
      <link>https://dev.to/uba_57b2056106fec30a8e85d/why-llms-hallucinate-lunar-calendar-i-ching-calculations-and-our-open-source-2027-deterministic-f3e</link>
      <guid>https://dev.to/uba_57b2056106fec30a8e85d/why-llms-hallucinate-lunar-calendar-i-ching-calculations-and-our-open-source-2027-deterministic-f3e</guid>
      <description>&lt;p&gt;If you have ever asked an LLM to compute a traditional East Asian calendar boundary—or convert six I Ching three-coin tosses (&lt;code&gt;6, 7, 8, 9&lt;/code&gt;) into a primary and relating hexagram—you have probably seen it silently invent a date, flip a yin/yang line, or mix up two completely different new-year cutoffs.&lt;/p&gt;

&lt;p&gt;That happens because LLMs predict probable tokens rather than executing astronomical ephemerides or deterministic bit-flip tables.&lt;/p&gt;

&lt;h2&gt;
  
  
  A Concrete 2027 Edge Case: Feb 4 vs. Feb 6
&lt;/h2&gt;

&lt;p&gt;In &lt;strong&gt;2027 (Ding Wei / 丁未年)&lt;/strong&gt;, the two traditional Chinese year boundaries fall two days apart:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Solar Li Chun (立春)&lt;/strong&gt;: &lt;code&gt;2027-02-04T01:46:18Z&lt;/code&gt; (&lt;code&gt;09:46 UTC+8&lt;/code&gt;) — used by Four Pillars (BaZi / 八字) annual stem-branch calculations and solar-term calendars.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lunar New Year (農曆正月初一 / 春節)&lt;/strong&gt;: &lt;code&gt;2027-02-06&lt;/code&gt; (verified against Hong Kong Observatory tables) — used by folk Chinese Zodiac conventions (with the lunar year running through &lt;code&gt;2028-01-25&lt;/code&gt;).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;For anyone born on February 4 or 5—or any developer building a 2027 calendar/zodiac tool—failing to explicitly separate these two boundaries produces conflicting answers across websites.&lt;/p&gt;

&lt;h2&gt;
  
  
  Separating Deterministic Computation from AI Reflection
&lt;/h2&gt;

&lt;p&gt;While building &lt;a href="https://yiinsight.com/?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=combo1_20261127" rel="noopener noreferrer"&gt;YiInsight&lt;/a&gt;, we enforced a strict architectural boundary:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic calculation runs locally without an LLM&lt;/strong&gt;: lunar/solar boundaries, late-Zi (&lt;code&gt;23:00–00:00&lt;/code&gt; 晚子時) day-pillar switches, and 6/7/8/9 coin-to-hexagram bit transformations are computed deterministically and covered by unit tests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optional AI interpretation comes strictly after&lt;/strong&gt;: the model receives verified structural outputs and classical source context instead of guessing the math.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Open-Source Reference Data &amp;amp; Free Web Calculators
&lt;/h2&gt;

&lt;p&gt;We published a small MIT-licensed JSON reference dataset on GitHub with the verified 2027 solar/lunar boundaries and the exact &lt;code&gt;6 / 7 / 8 / 9&lt;/code&gt; three-coin line mapping table:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Reference Dataset (MIT)&lt;/strong&gt;: &lt;a href="https://github.com/Alisa-cell27/iching-bazi-calendar-reference" rel="noopener noreferrer"&gt;https://github.com/Alisa-cell27/iching-bazi-calendar-reference&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Free I Ching 6/7/8/9 Coin Calculator (no login)&lt;/strong&gt;: &lt;a href="https://yiinsight.com/tools/i-ching-coin-calculator?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=combo1_20261127" rel="noopener noreferrer"&gt;https://yiinsight.com/tools/i-ching-coin-calculator?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=combo1_20261127&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guide — Reading Multiple Changing Lines&lt;/strong&gt;: &lt;a href="https://yiinsight.com/guides/i-ching-multiple-changing-lines?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=combo1_20261127" rel="noopener noreferrer"&gt;https://yiinsight.com/guides/i-ching-multiple-changing-lines?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=combo1_20261127&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2027 丁未羊年十二生肖與太歲對照（繁體中文免費查詢）&lt;/strong&gt;: &lt;a href="https://yiinsight.com/tw/tools/chinese-zodiac-2027?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=combo1_20261127" rel="noopener noreferrer"&gt;https://yiinsight.com/tw/tools/chinese-zodiac-2027?utm_source=devto&amp;amp;utm_medium=article&amp;amp;utm_campaign=combo1_20261127&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you are building calendar converters, multilingual cultural tools, or LLM apps where deterministic state should never be hallucinated, feel free to reuse the JSON tables or open an issue on the repo!&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
