<?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: Yuji Ito</title>
    <description>The latest articles on DEV Community by Yuji Ito (@yito88).</description>
    <link>https://dev.to/yito88</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F109270%2F27ec6413-8112-49d0-8fc8-2cbe0fd7a25f.png</url>
      <title>DEV Community: Yuji Ito</title>
      <link>https://dev.to/yito88</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yito88"/>
    <language>en</language>
    <item>
      <title>RAG debugging is harder than I expected</title>
      <dc:creator>Yuji Ito</dc:creator>
      <pubDate>Mon, 20 Apr 2026 18:21:54 +0000</pubDate>
      <link>https://dev.to/yito88/rag-debugging-is-harder-than-i-expected-4el9</link>
      <guid>https://dev.to/yito88/rag-debugging-is-harder-than-i-expected-4el9</guid>
      <description>&lt;p&gt;I've started building a vector database to learn modern vector search for the AI era.&lt;/p&gt;

&lt;p&gt;In my professional work, I maintain Jepsen/Antithesis tests for distributed databases and blockchain systems. These tests check system correctness through transactional behaviors under real-world failures.&lt;/p&gt;

&lt;p&gt;When working on a vector database, I started wondering:&lt;/p&gt;

&lt;p&gt;what does "correctness" even mean in vector search?&lt;/p&gt;

&lt;p&gt;By definition, ANN results don't have to exactly match exact search. Some level of approximation is acceptable.&lt;/p&gt;

&lt;p&gt;In RAG systems, there are evaluation methods — but most of them focus on the final LLM output.&lt;/p&gt;

&lt;p&gt;When something goes wrong, it's hard to tell:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;was it the retrieval?&lt;/li&gt;
&lt;li&gt;the prompt?&lt;/li&gt;
&lt;li&gt;or the model itself?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted to isolate the retrieval layer and understand what actually changed.&lt;/p&gt;

&lt;p&gt;I changed the embedding model, but I couldn't clearly tell what changed in retrieval results.&lt;/p&gt;

&lt;p&gt;Some queries looked fine. Some felt off. But I had no systematic way to understand the differences.&lt;/p&gt;

&lt;p&gt;So instead of trying to judge correctness, I focused on something simpler:&lt;/p&gt;

&lt;p&gt;What actually changed?&lt;/p&gt;

&lt;p&gt;I built a small tool to diff retrieval results.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/yito88/traceowl" rel="noopener noreferrer"&gt;https://github.com/yito88/traceowl&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It captures, compares, and explains differences in VectorDB search results so you can quickly understand what changed and where to focus your review.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1uas0ordi6l5p9c5gk57.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1uas0ordi6l5p9c5gk57.png" alt="TraceOwl report example" width="800" height="1274"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're working on RAG or vector search, I'd love to hear how you evaluate changes in your system.&lt;/p&gt;

</description>
      <category>rag</category>
      <category>vectordatabase</category>
      <category>pinecone</category>
      <category>qdrant</category>
    </item>
  </channel>
</rss>
