<?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: yoloswag1992</title>
    <description>The latest articles on DEV Community by yoloswag1992 (@yoloswag1992).</description>
    <link>https://dev.to/yoloswag1992</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%2F4276585%2F94e4eb79-bcf0-4b85-9f17-40ac71a23186.png</url>
      <title>DEV Community: yoloswag1992</title>
      <link>https://dev.to/yoloswag1992</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yoloswag1992"/>
    <language>en</language>
    <item>
      <title>AI Is Inventing Court Cases. What Do We Owe the People Using Our Tools?</title>
      <dc:creator>yoloswag1992</dc:creator>
      <pubDate>Tue, 01 Dec 2026 13:54:00 +0000</pubDate>
      <link>https://dev.to/yoloswag1992/ai-hallucinations-in-law-45mi</link>
      <guid>https://dev.to/yoloswag1992/ai-hallucinations-in-law-45mi</guid>
      <description>&lt;p&gt;If you build with LLMs, you already know hallucinations. In most apps, a made-up answer is an annoyance. In a courtroom, it can cost someone their case.&lt;/p&gt;

&lt;h2&gt;
  
  
  Law 101 for Developers
&lt;/h2&gt;

&lt;p&gt;Courts in Canada decide disputes partly by following earlier decisions. Those earlier decisions are called &lt;strong&gt;case law&lt;/strong&gt;, and when you argue in court, you back up your points by citing them.&lt;/p&gt;

&lt;p&gt;A citation looks like this: &lt;code&gt;2026 ABCA 20&lt;/code&gt;. Read it like an identifier: the year, the court (here, the Alberta Court of Appeal), and the decision number. It's a pointer. The judge and the other side follow that pointer to the actual decision and check that it says what you claim.&lt;/p&gt;

&lt;p&gt;So what is &lt;strong&gt;"hallucinated" law&lt;/strong&gt;? It's what happens when an AI tool generates citations that look valid but point to nothing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a case that was never decided&lt;/li&gt;
&lt;li&gt;a real case name attached to the wrong citation&lt;/li&gt;
&lt;li&gt;a quote that doesn't appear anywhere in the real decision&lt;/li&gt;
&lt;li&gt;a legal rule stated confidently, with no source behind it&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you've seen a model suggest &lt;code&gt;npm install&lt;/code&gt; for a package that was never published, you already understand the problem. The output has the right shape. It just doesn't resolve.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Numbers
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://courtready.ca/fictitious-citations-in-canadian-courts/" rel="noopener noreferrer"&gt;Courtready.ca's database of AI hallucination cases in Canadian courts&lt;/a&gt; tracks decisions where a judge or adjudicator found fictitious citations or other AI misuse. As of November 23, 2026:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;298 decisions&lt;/strong&gt; across &lt;strong&gt;65&lt;/strong&gt; Canadian courts and tribunals&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;8&lt;/strong&gt; in 2024, &lt;strong&gt;104&lt;/strong&gt; in 2025 and &lt;strong&gt;186&lt;/strong&gt; so far in 2026&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;82%&lt;/strong&gt; involved self-represented people, not lawyers&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;$113,360&lt;/strong&gt; in costs ordered across 30 orders&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In one 2026 Federal Court decision, the court found that 45 of 62 citations in a filing were fictitious.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who Pays for Our Hallucinations
&lt;/h2&gt;

&lt;p&gt;That 82% figure is the one that should bother us. Lawyers have research databases, training and professional duties to check their work. Self-represented people usually have none of that. They turn to AI tools because lawyers are expensive, and the tools give them something that looks exactly like legal research.&lt;/p&gt;

&lt;p&gt;They can't tell a real citation from a fake one. When the judge can't find the case, they're the ones who lose credibility, get warned or pay costs. Not the model and not the company that shipped it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Builders Can Do
&lt;/h2&gt;

&lt;p&gt;None of this needs a breakthrough. It needs the same discipline we already apply elsewhere.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Don't let the model generate identifiers.&lt;/strong&gt; Citations, case names and quotes should come from retrieval over a real corpus, not from the model's memory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resolve before you render.&lt;/strong&gt; Check every citation against a source of truth before showing it, the same way you'd check a package exists before installing it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Make "I couldn't find a source" an acceptable answer.&lt;/strong&gt; A confident wrong answer is worse than an honest gap.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Link to the source.&lt;/strong&gt; If the user can click through to the actual decision, they can catch what you missed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test for it.&lt;/strong&gt; Add evals that ask for case law on obscure points and fail any response that cites something unverifiable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Design for the least expert user.&lt;/strong&gt; If your tool will be used by someone with no legal training, assume they won't check, and build the checking in.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The Bottom Line
&lt;/h2&gt;

&lt;p&gt;The legal system is quietly running a large, public experiment on what happens when people trust generated text. The results are being written into court decisions every week. If you build AI tools, especially ones that touch law, health or money, it's worth reading them.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>news</category>
    </item>
  </channel>
</rss>
