
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.
gemmaI ported the whole Gemma-4 family — E2B, E4B, 12B, 31B, and the 26B-A4B MoE — to run on...
communityHey DEV, I'm Tobore. Let's actually connect. I've been on here for a while now, mostly writing and...
ai(yep, kinda clickbait, just for the funsies 😊) At the beginning of the year, I relaunched my...
aiMy laptop was sitting idle with the fan at full tilt. Nothing was running that I knew of. The culprit...
githubactionsI Built a Thing! TL;DR — Google Gemini-based Pull Request reviews and Issue Triaging for...
aiI've been hearing the word "harness" thrown around a lot lately. I assumed it just meant "the IDE" or...
Workflows from the Neura Market marketplace related to this Midjourney resource