
I've started building a vector database to learn modern vector search for the AI era. In my...
title: RAG debugging is harder than I expected published: true description: tags: rag, vectordatabase, pinecone, qdrant
I've started building a vector database to learn modern vector search for the AI era.
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.
When working on a vector database, I started wondering:
what does "correctness" even mean in vector search?
By definition, ANN results don't have to exactly match exact search. Some level of approximation is acceptable.
In RAG systems, there are evaluation methods — but most of them focus on the final LLM output.
When something goes wrong, it's hard to tell:
I wanted to isolate the retrieval layer and understand what actually changed.
I changed the embedding model, but I couldn't clearly tell what changed in retrieval results.
Some queries looked fine. Some felt off. But I had no systematic way to understand the differences.
So instead of trying to judge correctness, I focused on something simpler:
What actually changed?
I built a small tool to diff retrieval results.
https://github.com/yito88/traceowl
It captures, compares, and explains differences in VectorDB search results so you can quickly understand what changed and where to focus your review.

If you're working on RAG or vector search, I'd love to hear how you evaluate changes in your system.
aiMost of us have seen a coding agent fail to complete a task we know it can do. We just don't...
googlecloudWhen building Generative AI applications, developers often encounter a massive bottleneck: sequential...
discussI’ve been thinking about sharing some electronic circuit posts on Dev.to — small circuits, DIY...
agentsWhat nobody tells you about exporting your multi-agent prototype to a local workspace. Every...
agenticarchitectAutonomous agents are genuinely good at answering messy business questions. Give one an LLM and a set...
aiPR volume went up, ticket quality didn't, and the gap got filled with LLMs on both sides of the review: bots reviewing, bots replying, bots occasionally arguing with bots about priorities that only existed in a teammate's head. Our CEO named the actual problem, and it's bigger than code review.
Workflows from the Neura Market marketplace related to this Stable Diffusion resource