<?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: Igor Eduardo</title>
    <description>The latest articles on DEV Community by Igor Eduardo (@igoreduardoai).</description>
    <link>https://dev.to/igoreduardoai</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%2F3929927%2F8c3a1bbb-7afd-475e-baad-ed984b036b51.png</url>
      <title>DEV Community: Igor Eduardo</title>
      <link>https://dev.to/igoreduardoai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/igoreduardoai"/>
    <language>en</language>
    <item>
      <title>The Gain From Judging RAG Documents Comes From What You Let In, Not How Many Times You Judge</title>
      <dc:creator>Igor Eduardo</dc:creator>
      <pubDate>Mon, 30 Nov 2026 08:50:44 +0000</pubDate>
      <link>https://dev.to/igoreduardoai/the-gain-from-judging-rag-documents-comes-from-what-you-let-in-not-how-many-times-you-judge-2cnk</link>
      <guid>https://dev.to/igoreduardoai/the-gain-from-judging-rag-documents-comes-from-what-you-let-in-not-how-many-times-you-judge-2cnk</guid>
      <description>&lt;p&gt;&lt;em&gt;By Igor Eduardo · Austin, TX · &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;https://igoreduardo.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;There is a pattern I keep seeing in RAG pipelines that have been around for a few months. It starts with one LLM call per retrieved document: "is this relevant?" Then someone notices a bad answer and adds a second opinion. Then a consistency checker. Then a conflict resolver. Then three sampled answers and a vote. Each step sounds reasonable, each one multiplies the call count, and nobody goes back to check which of them is actually moving accuracy.&lt;/p&gt;

&lt;p&gt;A paper posted on Friday, &lt;a href="https://arxiv.org/abs/2611.37839" rel="noopener noreferrer"&gt;A Single Pass Captures the Gain of Document Assessment in Retrieval-Augmented Generation&lt;/a&gt; (arXiv 2611.37839, cs.CL, posted 2026-11-27), runs that check under conditions tight enough to trust the answer. For the settings it covers, the answer is blunt: one judgment per document got the gain. The extra judgments, extra roles and answer voting added calls without a reliable further gain.&lt;/p&gt;

&lt;h2&gt;
  
  
  What they did
&lt;/h2&gt;

&lt;p&gt;The design choice that makes this paper useful is the matched protocol. Every assessment recipe gets the same questions, the same candidate pools in the same initial order, the same answer generator and answer instructions, and the same number of documents allowed into the answer context. The only thing that changes is how the candidates get scored before the top ones are sent to the generator. Published systems usually differ in retriever, answer instructions and context size all at once, which is why their extra calls are hard to price.&lt;/p&gt;

&lt;p&gt;The recipes, roughly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No assessment:&lt;/strong&gt; send the first documents of the initial order.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Single relevance pass:&lt;/strong&gt; one relevance score per document, send the highest-scoring ones. That is N calls for N candidates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repeated scoring:&lt;/strong&gt; average three sampled judgments per document (3N calls), with a relevance or a generic quality instruction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Extra roles:&lt;/strong&gt; add a consistency assessor and a conflict assessor on top of relevance (2N + 1 calls).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Answer voting:&lt;/strong&gt; skip assessment, sample three answers from the unassessed context and take the most frequent one.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Setup: three question-answering settings with different kinds of noise (conflicting web evidence; entities that share a name, mixed with misinformation and unrelated passages; ordinary open-domain retrieval noise), five open-weight models from &lt;strong&gt;4B to 70B&lt;/strong&gt; parameters, covering three model families and a reasoning-distilled model, the same checkpoint assessing and answering, candidate pools of at most &lt;strong&gt;twenty&lt;/strong&gt; passages, and paired bootstrap intervals with exact tests. They call a difference reliable only when its 95% interval excludes zero.&lt;/p&gt;

&lt;h2&gt;
  
  
  What they report
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One pass helps, everywhere they looked.&lt;/strong&gt; Pooled over the five models, a single relevance judgment per document beats no assessment on every benchmark: &lt;strong&gt;+3.29&lt;/strong&gt; points on conflicting evidence (237 questions), &lt;strong&gt;+1.04&lt;/strong&gt; on the name-sharing set (500 questions), &lt;strong&gt;+2.69&lt;/strong&gt; on open-domain questions (618 questions), all with 95% intervals above zero.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Repetition doesn't add a reliable gain.&lt;/strong&gt; The one-factor controls run on one model, three runs per sampled recipe. Averaged over those runs, three sampled judgments differ from one judgment of the same instruction by &lt;strong&gt;−1.1 to +0.6&lt;/strong&gt; points across settings, and none of those differences has an interval above zero.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mostly because it picks the same documents.&lt;/strong&gt; In the same controls, in every run and at both context budgets, three averaged judgments and one judgment select the same documents for at least two thirds of the questions, and their answers differ in correctness on at most &lt;strong&gt;14 of 237&lt;/strong&gt; and &lt;strong&gt;12 of 500&lt;/strong&gt; questions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Voting without reassessing the evidence doesn't help.&lt;/strong&gt; In those runs, three sampled answers from the unassessed context stay &lt;strong&gt;0.3 to 0.7&lt;/strong&gt; points below no assessment on average.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The one apparent win for repetition isn't from repetition.&lt;/strong&gt; On open-domain questions, three quality judgments lead the single relevance pass by about one point pooled. But a single quality judgment matches the three for one model and beats them for another, so the lead comes from the instruction, not the extra calls.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The gain is about admission, and it grows when the budget is tight.&lt;/strong&gt; On the conflicting-evidence set, with room for only three documents, the single pass gains &lt;strong&gt;7.6&lt;/strong&gt; and &lt;strong&gt;11.4&lt;/strong&gt; points for two models. With room for ten, &lt;strong&gt;233 of 237&lt;/strong&gt; pools fit entirely, assessment can only reorder, and the gain falls to &lt;strong&gt;1.3&lt;/strong&gt; and &lt;strong&gt;2.1&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Order inside the context isn't the lever.&lt;/strong&gt; Sending the selected documents in their original order gives at least the gain of sending them in score order, and on open-domain questions it gives more.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Their own limits, paraphrased: English short-answer QA only; open-weight models up to 70B; pools of at most twenty passages fixed before assessment; long-form generation would also need a measure of how completely the selected evidence covers the answer; full multi-agent debate and iterative retrieval are outside the comparison; the same checkpoint assesses and answers, and a small assessor in front of a large generator could shift the balance; and cost is counted in model calls, not tokens or latency. Their ethics note adds the line I'd put on a sticky note: assessment can reduce exposure to irrelevant or misleading evidence, but it doesn't by itself make an answer reliable.&lt;/p&gt;

&lt;p&gt;Those are their numbers, not mine. I haven't re-run anything, and I'm not naming or ranking the models.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stake
&lt;/h2&gt;

&lt;p&gt;The result I care about isn't "one pass is enough." It's where the gain comes from. In this study, judging documents paid off because it changed which documents got into a small context. Once everything fit, the judging barely mattered. Repeated judgments mostly reproduced the same selection, and voting spent its calls on the answer while the evidence stayed the same.&lt;/p&gt;

&lt;p&gt;That reframes what the assessment step is for. It isn't a jury deliberating about truth. It's an admission gate for a scarce resource, the context slots. The question to ask of any extra call in that step is: does it change who gets in? If it rarely does, it can't change the answer much, no matter how sophisticated it sounds.&lt;/p&gt;

&lt;p&gt;Three places I'd expect this to bite:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Assessor stacks that grew by incident.&lt;/strong&gt; Each extra role was added after a memorable bad answer. Nobody measured it against a single pass on the same pools.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Voting as a reliability layer.&lt;/strong&gt; Sampling more answers from the same context feels like robustness. In this study it was slightly worse than doing nothing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Big context windows with expensive judging.&lt;/strong&gt; If your budget already fits the whole pool, the paper's own budget sweep says assessment has little left to do.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Opinion (one sentence)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Treat document assessment in RAG as context admission, not deliberation: start with one judgment per document, and make every extra assessor call, role or vote earn its place in a matched comparison against that single pass and against no assessment at all.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's a preference with a limiter. The evidence is short-answer QA with fixed pools. Long-form answers, where coverage matters as much as relevance, could reward more careful assessment, and an iterative retrieval loop is a different system. I can't claim from this paper that your extra roles are wasted. I can say they should have to prove otherwise.&lt;/p&gt;

&lt;h2&gt;
  
  
  What an assessment-budget report contains (menu, not recipe)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Column&lt;/th&gt;
&lt;th&gt;Question it answers&lt;/th&gt;
&lt;th&gt;Failure if skipped&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;No-assessment baseline&lt;/td&gt;
&lt;td&gt;What does sending the first k candidates already get you?&lt;/td&gt;
&lt;td&gt;Every gain is credited to the assessor&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Single-pass result&lt;/td&gt;
&lt;td&gt;What does one judgment per document add on the same pools?&lt;/td&gt;
&lt;td&gt;No reference point for the extra calls&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Calls per question&lt;/td&gt;
&lt;td&gt;How many model calls does each recipe spend?&lt;/td&gt;
&lt;td&gt;Cost hidden behind "quality"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Selection overlap&lt;/td&gt;
&lt;td&gt;How often do two recipes admit the same documents?&lt;/td&gt;
&lt;td&gt;Paying twice for the same context&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Budget sweep&lt;/td&gt;
&lt;td&gt;Does the gain shrink as more documents fit?&lt;/td&gt;
&lt;td&gt;Judging what would have fit anyway&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Order control&lt;/td&gt;
&lt;td&gt;Does the gain survive sending selected documents in original order?&lt;/td&gt;
&lt;td&gt;Ranking order credited for a selection effect&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;None of this needs a new model. It needs fixed pools, one generator, a labeled slice, and the discipline to hold everything constant except the step you're pricing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this connects to habits I already keep public
&lt;/h2&gt;

&lt;p&gt;My public work is retrieve-first and evaluation-as-contract, and the rule underneath it is the same one this paper applies to cost: a pipeline component only gets credit for what it changes in a controlled comparison. Hybrid retrieval taught me that two signals are worth keeping only when they disagree in useful ways. The same goes for assessors. A second judge that agrees with the first two thirds of the time on what to admit is mostly an invoice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steal this check
&lt;/h2&gt;

&lt;p&gt;Pick one RAG pipeline with an LLM assessment step and, before adding another call to it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Freeze the pools.&lt;/strong&gt; Same questions, same candidates, same order, same generator, same context budget.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Run three arms.&lt;/strong&gt; No assessment, one judgment per document, and your current stack.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Log what got in.&lt;/strong&gt; For each question, record which documents each arm admitted, not just the final answer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compare with intervals, not vibes.&lt;/strong&gt; Paired differences on the same questions. If the full stack isn't reliably better than the single pass, and mostly admits the same documents, you know what the extra calls are buying.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What I am not claiming
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;I am not reporting this paper's results as my own, and I have not reproduced them.&lt;/li&gt;
&lt;li&gt;I am not ranking models, frameworks or vendors.&lt;/li&gt;
&lt;li&gt;I am not saying multi-role assessment or debate never helps. Full multi-agent systems and iterative retrieval were outside this comparison.&lt;/li&gt;
&lt;li&gt;I am not saying long-form generation behaves the same way. The authors flag coverage as an open measurement.&lt;/li&gt;
&lt;li&gt;I am not publishing assessor designs, rubrics or cutoffs from my own systems. Those depend on your corpus and on what a wrong answer costs you.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The point
&lt;/h2&gt;

&lt;p&gt;The useful question about an LLM assessor isn't how thorough it sounds. It's whether it changes what reaches the generator. Measure that first, against a single pass and against nothing, on frozen pools. Then decide which calls you're willing to pay for.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Igor Eduardo builds retrieve-first and evaluation-as-contract systems. More at &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;igoreduardo.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>rag</category>
      <category>llm</category>
      <category>ai</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Gibberish Outscored the Best Relevant Passage. Your Dense Similarity Score Is Not Evidence.</title>
      <dc:creator>Igor Eduardo</dc:creator>
      <pubDate>Mon, 23 Nov 2026 08:40:26 +0000</pubDate>
      <link>https://dev.to/igoreduardoai/gibberish-outscored-the-best-relevant-passage-your-dense-similarity-score-is-not-evidence-4445</link>
      <guid>https://dev.to/igoreduardoai/gibberish-outscored-the-best-relevant-passage-your-dense-similarity-score-is-not-evidence-4445</guid>
      <description>&lt;p&gt;&lt;em&gt;By Igor Eduardo · Austin, TX · &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;https://igoreduardo.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A short paper posted this week, &lt;a href="https://arxiv.org/abs/2611.22353" rel="noopener noreferrer"&gt;NONSENSE: Non-Semantic Strings Expose Semanticity Gaps in Dense Retrieval&lt;/a&gt; (arXiv 2611.22353, cs.IR, posted 2026-11-17), tests an assumption that sits quietly inside most RAG stacks: if a dense retriever scores a passage highly for a query, the passage is at least &lt;em&gt;passage-like evidence&lt;/em&gt; for that query, even if it isn't the best evidence.&lt;/p&gt;

&lt;p&gt;The paper's answer, for the retrievers it tested, is no. A string of visible punctuation, digits and stray letters, with no words from the query and no readable meaning, can be pushed above the best human-judged relevant passage for the same query, and often to rank 1 in the whole corpus.&lt;/p&gt;

&lt;p&gt;That matters because "high similarity" is doing more jobs in production than ranking. Teams use it as a relevance floor, as a "we have grounds to answer" gate, as a confidence signal shown to users, and as a filter for what gets written back into memory. Every one of those jobs assumes the score means something about meaning.&lt;/p&gt;

&lt;h2&gt;
  
  
  What they did
&lt;/h2&gt;

&lt;p&gt;The probe is deliberately simple and black-box. It starts from a fixed-length filler string and repeatedly swaps one visible character at a time, keeping a change only if the dense similarity to the query goes up. Any candidate containing a query term is rejected before it is scored, so the string cannot win by copying words. It uses the retriever only as a scorer: no gradients, no model weights, no training data. After optimization, the string is inserted into the full corpus and ranked like any other document.&lt;/p&gt;

&lt;p&gt;The key comparison is relative to judged evidence. For each query, they take the highest-scoring passage that human judges marked relevant (they call it the query-relevant passage, QRP) under the same retriever, and count a success only when the nonsense string scores higher than that.&lt;/p&gt;

&lt;p&gt;Setup: &lt;strong&gt;five&lt;/strong&gt; public retrieval benchmarks (scientific claim verification, scientific documents, financial question answering, argument retrieval, and a medical information retrieval set), &lt;strong&gt;three&lt;/strong&gt; widely used single-vector embedding models, &lt;strong&gt;256&lt;/strong&gt; sampled queries per pair, &lt;strong&gt;50,000&lt;/strong&gt; proposal steps, &lt;strong&gt;three&lt;/strong&gt; seeds, exact dense scoring over corpora from about &lt;strong&gt;3.6k&lt;/strong&gt; to &lt;strong&gt;57.6k&lt;/strong&gt; documents.&lt;/p&gt;

&lt;h2&gt;
  
  
  What they report
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Nonsense beats the best judged passage most of the time.&lt;/strong&gt; On the scientific-claims set, the success rate is &lt;strong&gt;97.7%&lt;/strong&gt;, &lt;strong&gt;85.2%&lt;/strong&gt; and &lt;strong&gt;95.6%&lt;/strong&gt; for the three retrievers, with a median full-corpus rank of &lt;strong&gt;1&lt;/strong&gt; for all three. On the medical retrieval set, one retriever reaches &lt;strong&gt;99.0%&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It is broad, not cherry-picked.&lt;/strong&gt; The median margin of nonsense over the best relevant passage is positive in &lt;strong&gt;14 of 15&lt;/strong&gt; dataset–retriever pairs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;There is a boundary case.&lt;/strong&gt; On argument retrieval, one retriever holds up better: success is &lt;strong&gt;45.6%&lt;/strong&gt; and the relevant passage stays slightly higher on average. The authors read this as evidence that the effect depends on the model–dataset geometry, which is why they frame it as a probe rather than a guaranteed attack.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It doesn't take long.&lt;/strong&gt; Across pairs, success reaches &lt;strong&gt;0.591&lt;/strong&gt; by 5k proposals and &lt;strong&gt;0.729&lt;/strong&gt; by 10k. For one pair the average string overtakes the relevant passage by step 800.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It isn't lexical copying, and lexical search mostly ignores it.&lt;/strong&gt; Blank and random strings have near-zero success. Across the main runs, query-term overlap is &lt;strong&gt;0.000&lt;/strong&gt; and the strings are a lexical (BM25) top hit for only &lt;strong&gt;0.019&lt;/strong&gt; of queries. A query-term-repetition baseline can also win, but it does so by copying words and becoming a BM25 top hit, which is a different phenomenon.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Letters help, but meaning isn't required.&lt;/strong&gt; With letters removed from the alphabet entirely, one retriever on one dataset still loses to nonsense for &lt;strong&gt;56.6%&lt;/strong&gt; of queries.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Their own limits, paraphrased: three English single-vector retrievers under exact dense scoring; late-interaction, hybrid, reranked, approximate-nearest-neighbor, multilingual and full RAG setups are left for future work; optimized strings did &lt;strong&gt;not&lt;/strong&gt; transfer reliably across retrievers, so the probe is model-specific; and the strings are a test of the score, not something a human would accept as evidence.&lt;/p&gt;

&lt;p&gt;Those are their numbers, not mine. I have not re-run the experiments, and I'm deliberately not naming or ranking the embedding models.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stake
&lt;/h2&gt;

&lt;p&gt;The paper doesn't show that your RAG system is being attacked. It shows something more basic: &lt;strong&gt;in these retrievers, being a nearest neighbor and meaning something can come apart completely.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's a problem the moment a similarity score is treated as evidence instead of as an ordering. Three patterns I see a lot:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The cosine floor.&lt;/strong&gt; "If the top hit scores above X, answer; otherwise abstain." The paper's strings beat the &lt;em&gt;best relevant&lt;/em&gt; passage's score, so a floor tuned on relevant passages would let them through.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Similarity as user-facing confidence.&lt;/strong&gt; A high match score shown next to an answer tells the user "this source is strongly related". The score can't carry that promise on its own.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Similarity as a write filter.&lt;/strong&gt; Agent memories, knowledge-base dedup, "add this if it's close to our topic". Anything that admits text into an index because it scores close to something is trusting the same geometry.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The exposure is the ingestion surface. The strings have to get into the corpus to rank. If your corpus is a closed, curated set that only your team writes to, the practical risk is low. If it includes web crawls, user uploads, tickets, shared wikis, scraped forums, or memory written by agents, someone or something other than you decides what sits in the neighborhood of your users' queries.&lt;/p&gt;

&lt;h2&gt;
  
  
  Opinion (one sentence)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;A dense similarity score is an ordering inside one model's geometry, not evidence of relevance, so no RAG pipeline should let "high similarity" alone decide that it has grounds to answer, and a retrieval eval should report how the scores behave on things that are not passages, not just whether relevant passages come back.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's a preference with a limiter, not a benchmark result. If the index is closed, curated and only ever written by you, plain dense retrieval with a judged eval set may be enough. And I can't claim from this paper that hybrid search or a reranker fixes it: the authors explicitly left those untested.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where hybrid fits, carefully
&lt;/h2&gt;

&lt;p&gt;What the paper &lt;em&gt;does&lt;/em&gt; show is that the two kinds of signal disagreed. The nonsense strings won the dense arm and were almost never a lexical top hit. That's the habit I keep arguing for in hybrid retrieval: lexical and dense are not two votes for the same thing, they are two different instruments, and &lt;strong&gt;disagreement between them is information&lt;/strong&gt;. A top-ranked dense hit that shares nothing with the query lexically, and doesn't read like a passage, deserves a second look before it reaches the generator. Whether a given fusion or reranker actually catches it is an empirical question for your stack, not something to assume.&lt;/p&gt;

&lt;p&gt;The authors' own suggestion points the same way: audit the negative neighborhoods, and complement dense scores with lexical filters, passage-validity checks or semantic verifiers before downstream use.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a similarity-honest retrieval report contains (menu, not recipe)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Column&lt;/th&gt;
&lt;th&gt;Question it answers&lt;/th&gt;
&lt;th&gt;Failure if skipped&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Recall on judged queries&lt;/td&gt;
&lt;td&gt;Do relevant passages come back?&lt;/td&gt;
&lt;td&gt;No baseline at all&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Best-relevant score margin&lt;/td&gt;
&lt;td&gt;How far above everything else does the best judged passage score?&lt;/td&gt;
&lt;td&gt;A score floor tuned on nothing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Non-passage controls&lt;/td&gt;
&lt;td&gt;What do blank, random and adversarially optimized strings score against the same queries?&lt;/td&gt;
&lt;td&gt;"High similarity" credited as meaning&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Arm agreement&lt;/td&gt;
&lt;td&gt;How often do the dense and lexical top hits overlap, and what do disagreements look like?&lt;/td&gt;
&lt;td&gt;Dense-only oddities sail through&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Passage validity&lt;/td&gt;
&lt;td&gt;Is every top-k item actually readable text of the expected kind?&lt;/td&gt;
&lt;td&gt;The generator is handed noise as context&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ingestion surface&lt;/td&gt;
&lt;td&gt;Who and what can write into the index?&lt;/td&gt;
&lt;td&gt;Exposure unknown, so risk unknown&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;None of that needs a new model. It needs a judged slice you already have, a few controls, and the discipline to report score behavior alongside recall.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this connects to habits I already keep public
&lt;/h2&gt;

&lt;p&gt;My public work is mostly retrieve-first and evaluation-as-contract systems, and the rule underneath it is the one this paper sharpens: an answer is only as good as the evidence path that produced it, and a number on that path is only evidence if you know what it measures. Recall tells you relevant passages &lt;em&gt;can&lt;/em&gt; come back. It says nothing about what else can come back with a higher score.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steal this check
&lt;/h2&gt;

&lt;p&gt;Pick one RAG pipeline that gates or ranks on dense similarity, and before the next release:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Take a judged slice.&lt;/strong&gt; Even 50 queries with known relevant passages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Record the best relevant score per query.&lt;/strong&gt; That's your reference point, not an abstract floor.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Score some non-passages against the same queries on a copy of the index.&lt;/strong&gt; Blank and random strings at minimum. If you have a red team, an optimized probe like the paper's, offline and never in production.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ask what your gate would have done.&lt;/strong&gt; If any non-passage clears the bar your pipeline uses to decide it has grounds to answer, the bar is measuring geometry, not evidence. Then check whether your lexical arm agreed.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What I am not claiming
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;I am not reporting this paper's results as my own, and I have not reproduced them.&lt;/li&gt;
&lt;li&gt;I am not ranking embedding models, vector databases or vendors.&lt;/li&gt;
&lt;li&gt;I am not saying dense retrieval is broken. It still retrieves relevant passages well; the paper is about what the score does and doesn't certify.&lt;/li&gt;
&lt;li&gt;I am not claiming hybrid search or reranking solves this. The authors left those untested.&lt;/li&gt;
&lt;li&gt;I am not publishing gate values, filters or verifier designs. Those depend on your corpus and on what a wrong answer costs you.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The point
&lt;/h2&gt;

&lt;p&gt;A nearest neighbor is a fact about an embedding space. Relevance is a fact about meaning. Rank by the first if you like, but don't let it stand in for the second: check what your scores do on things that aren't passages, watch where your retrieval arms disagree, and know who can write into your index.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Igor Eduardo builds retrieve-first and evaluation-as-contract systems. More at &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;igoreduardo.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>rag</category>
      <category>ai</category>
      <category>search</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>Your Agent Verifier Was Validated on the Raw Trace. Production Shows It a Summary.</title>
      <dc:creator>Igor Eduardo</dc:creator>
      <pubDate>Mon, 16 Nov 2026 08:45:55 +0000</pubDate>
      <link>https://dev.to/igoreduardoai/your-agent-verifier-was-validated-on-the-raw-trace-production-shows-it-a-summary-25l6</link>
      <guid>https://dev.to/igoreduardoai/your-agent-verifier-was-validated-on-the-raw-trace-production-shows-it-a-summary-25l6</guid>
      <description>&lt;h1&gt;
  
  
  Your Agent Verifier Was Validated on the Raw Trace. Production Shows It a Summary.
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;By Igor Eduardo · Austin, TX · &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;https://igoreduardo.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A new workshop paper, &lt;a href="https://arxiv.org/abs/2611.18471" rel="noopener noreferrer"&gt;Do Verifier Judgments Survive Abstraction? Measuring Verification Transport for LLM Agent Evaluation&lt;/a&gt; (arXiv 2611.18471, posted 2026-11-13), tests an assumption buried in almost every agent eval pipeline: that a verifier which judges an agent run correctly will keep judging it correctly when it sees the same run in a different form.&lt;/p&gt;

&lt;p&gt;That assumption matters because of how agent systems are built now. A verifier (an LLM that reads an agent's trajectory and decides whether it did the right thing) is usually validated on a benchmark's clean, step-by-step trace. In production, the same execution reaches the verifier through layers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Composed tools.&lt;/strong&gt; Five low-level calls get wrapped in one "workflow" action, and the verifier only sees the wrapper and its result.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Delegation.&lt;/strong&gt; A sub-agent does part of the work, and the verifier sees "delegated to worker → worker returned X", not what the worker did.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compacted history.&lt;/strong&gt; Long runs get summarized to fit context, so earlier steps are replaced by a compaction marker.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of these change what the agent actually did. They change what the verifier can &lt;em&gt;see&lt;/em&gt;. The paper calls the property it measures &lt;strong&gt;Verification Transport&lt;/strong&gt;: does a correct verdict survive when only the view of the execution changes?&lt;/p&gt;

&lt;h2&gt;
  
  
  What they report
&lt;/h2&gt;

&lt;p&gt;The authors froze real trajectories from four public agent-evaluation benchmarks (process correctness, safety, pairwise preference and interactive agent behavior; &lt;strong&gt;250&lt;/strong&gt;, &lt;strong&gt;758&lt;/strong&gt;, &lt;strong&gt;441&lt;/strong&gt; and &lt;strong&gt;754&lt;/strong&gt; eligible instances), and built three matched views of each one: native, abstracted, and restored. Task, trajectory, outcome, ground truth, criterion and verifier are held fixed. Only the evidence exposed to the verifier changes. They ran &lt;strong&gt;seven&lt;/strong&gt; verifier models across several families under &lt;strong&gt;four&lt;/strong&gt; verification protocols: direct judgment, evidence-grounded judgment, an agentic verifier that can request provenance, and a deliberative second-pass audit.&lt;/p&gt;

&lt;p&gt;Counting only judgments that were &lt;em&gt;correct&lt;/em&gt; on the native view:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;About a third break under abstraction.&lt;/strong&gt; The transport failure rate is &lt;strong&gt;31.0%&lt;/strong&gt; under macro abstraction (composed tools), &lt;strong&gt;30.9%&lt;/strong&gt; under delegation, and &lt;strong&gt;20.3%&lt;/strong&gt; under history compaction. Across the four benchmarks, macro and delegation land at &lt;strong&gt;25.5–32.9%&lt;/strong&gt;, compaction at &lt;strong&gt;16.2–24.7%&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It is widespread but not uniform.&lt;/strong&gt; The effect shows up across verifier models, with magnitude varying substantially by model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"More careful" protocols fail differently, not less.&lt;/strong&gt; The direct single-pass verifier has the lowest failure rate (&lt;strong&gt;16.4% / 17.3% / 14.1%&lt;/strong&gt; for macro / delegation / compaction). The deliberative audit has the highest (&lt;strong&gt;49.3% / 50.2% / 30.7%&lt;/strong&gt;). But the failure &lt;em&gt;type&lt;/em&gt; differs: under macro abstraction the direct verifier gives &lt;strong&gt;15.8%&lt;/strong&gt; wrong verdicts and &lt;strong&gt;0.7%&lt;/strong&gt; no verdict, while the evidence-grounded protocol gives &lt;strong&gt;10.6%&lt;/strong&gt; wrong and &lt;strong&gt;24.0%&lt;/strong&gt; no verdict, and the deliberative one &lt;strong&gt;9.4%&lt;/strong&gt; wrong and &lt;strong&gt;39.9%&lt;/strong&gt; no verdict. The authors are explicit that a lower failure rate does not necessarily mean a more reliable verifier, and that cross-protocol comparisons need care because each protocol's native-correct subset differs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Most failures are about missing evidence, and are reversible.&lt;/strong&gt; Restoring the original execution provenance recovers &lt;strong&gt;85.5%&lt;/strong&gt; of transport failures overall, while degrading only &lt;strong&gt;5.2%&lt;/strong&gt; of judgments that had survived abstraction. Recovery is &lt;strong&gt;87.9%&lt;/strong&gt; (macro), &lt;strong&gt;86.9%&lt;/strong&gt; (delegation) and &lt;strong&gt;79.8%&lt;/strong&gt; (compaction).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fidelity of what you restore matters.&lt;/strong&gt; In an ablation, simply asking again on the same abstracted view recovers least; restoring ordered action and tool identities without their contents recovers more; restoring the exact provenance recovers most. For one model on one benchmark, the recovery rate climbs from &lt;strong&gt;22.5%&lt;/strong&gt; to &lt;strong&gt;42.8%&lt;/strong&gt; to &lt;strong&gt;80.0%&lt;/strong&gt; across those three, and the same ordering holds in all four model–benchmark pairs they ablated. Hiding more of the evidence (roughly 25% → 75% of a block) also raises failure, for example &lt;strong&gt;24.3% → 31.4%&lt;/strong&gt; for one model on one benchmark.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Scope, in their words: three controlled abstraction boundaries, frozen trajectories rather than abstractions that arise during live execution, restoration that assumes the original provenance is available, and a metric that measures preservation of &lt;em&gt;initially correct&lt;/em&gt; verdicts, not overall verifier competence. Results may differ in other domains and verifier designs. Those are their numbers, not mine. I have not re-run the experiments, and I am deliberately not naming the verifier models or ranking them.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stake
&lt;/h2&gt;

&lt;p&gt;Teams are about to treat "our LLM judge agrees with labels on the benchmark" as "our LLM judge can grade our agent".&lt;/p&gt;

&lt;p&gt;Those are different claims. The first was measured on a trace format your production stack does not produce. The second depends on what your harness actually forwards: the wrapper or the calls inside it, the sub-agent's return value or its work, the summary or the steps it replaced. If a third of correct verdicts can flip or vanish when only the view changes, a native-view accuracy number tells you surprisingly little about the verifier you deployed.&lt;/p&gt;

&lt;p&gt;And it compounds. Verifier verdicts don't just sit in dashboards. They pick prompts, filter training data, gate releases and trigger safety stops. A verifier that silently loses evidence at a delegation boundary will reward agents that delegate the risky part.&lt;/p&gt;

&lt;h2&gt;
  
  
  Opinion (one sentence)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;An agent verifier's accuracy is a property of the verifier &lt;em&gt;and&lt;/em&gt; the view it was given, so any reported verifier accuracy should name the trajectory representation it was measured on, and a verifier should be re-validated on every view your production harness actually produces.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is a preference with a limiter, not a benchmark result. If your agent is a short, flat, single-agent loop with no tool composition, no sub-agents and no summarization, native-view validation may be enough. The moment you add any of those three layers, you have changed the input distribution of your grader.&lt;/p&gt;

&lt;h2&gt;
  
  
  Abstention is not a pass either
&lt;/h2&gt;

&lt;p&gt;The detail I would steal first is the split between &lt;em&gt;wrong verdict&lt;/em&gt; and &lt;em&gt;no verdict&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;A verifier that answers "insufficient evidence" more often under abstraction looks safer than one that confidently guesses. Sometimes it is. But in a pipeline, a missing verdict has to go somewhere: it gets defaulted to pass, defaulted to fail, dropped from the denominator, or sent to a human queue nobody has staffed. Each of those choices changes your reported success rate without anything about the agent changing.&lt;/p&gt;

&lt;p&gt;So "my evidence-grounded verifier has fewer wrong verdicts" is only half a claim. The other half is "and here is what happens to the runs it refused to grade". The paper's numbers make this concrete: the protocols with the fewest wrong verdicts under abstraction were also the ones that stopped answering most often.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a view-aware verifier report contains (menu, not recipe)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Column&lt;/th&gt;
&lt;th&gt;Question it answers&lt;/th&gt;
&lt;th&gt;Failure if skipped&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Native-view accuracy&lt;/td&gt;
&lt;td&gt;Does the verifier agree with labels on the clean trace?&lt;/td&gt;
&lt;td&gt;No baseline at all&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Per-view accuracy&lt;/td&gt;
&lt;td&gt;Does it still agree on composed, delegated and compacted views of the same runs?&lt;/td&gt;
&lt;td&gt;Benchmark accuracy credited to a production grader&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wrong vs. no-verdict split&lt;/td&gt;
&lt;td&gt;When it fails, does it guess wrong or refuse?&lt;/td&gt;
&lt;td&gt;Abstention silently counted as a pass or dropped&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Abstention routing&lt;/td&gt;
&lt;td&gt;Where do refused runs go, and who reviews them?&lt;/td&gt;
&lt;td&gt;A hidden default decides your success rate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Provenance recovery&lt;/td&gt;
&lt;td&gt;Does forwarding the inner steps fix the flips?&lt;/td&gt;
&lt;td&gt;You can't tell missing evidence from a weak verifier&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Harness diff&lt;/td&gt;
&lt;td&gt;Which layer (wrapper, sub-agent, summarizer) hides what?&lt;/td&gt;
&lt;td&gt;Regressions blamed on the agent, caused by the view&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;None of that needs a new model or a private harness. It needs matched views of runs you already have, and the discipline to report the verifier's accuracy &lt;em&gt;per view&lt;/em&gt; instead of once.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this connects to habits I already keep public
&lt;/h2&gt;

&lt;p&gt;My public work is mostly retrieve-first and evaluation-as-contract systems, and the habit here is the one I keep coming back to: an evidence path is part of the system under test. In retrieval, an answer can only be audited if the passages that produced it travel with it. For agents, this paper shows the same thing one layer up. A verdict can only be trusted if the execution evidence that justifies it reached the verifier. If your harness drops it, the verifier is grading a story about the run, not the run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steal this check
&lt;/h2&gt;

&lt;p&gt;Pick one agent whose runs are graded by an LLM verifier and add four things before your next release:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Freeze a slice of real runs with labels.&lt;/strong&gt; Even a small set you trust.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Render each run the way production does.&lt;/strong&gt; Wrapped tools, delegated steps, compacted history, whatever your stack actually forwards, alongside the full trace.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Grade both views with the same verifier and criterion.&lt;/strong&gt; Report flips, and split them into wrong verdicts and refusals.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Re-grade the flips with the inner steps restored.&lt;/strong&gt; If most recover, your problem is the harness, not the judge.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then ask whether your verifier's headline accuracy still describes the verifier you are running.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I am not claiming
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;I am not reporting this paper's results as my own, and I have not reproduced them.&lt;/li&gt;
&lt;li&gt;I am not ranking verifier models, agent frameworks or vendors.&lt;/li&gt;
&lt;li&gt;I am not saying LLM verifiers are useless. The paper's own result is that most failures recover when provenance is restored, which is a fixable engineering problem.&lt;/li&gt;
&lt;li&gt;I am not publishing verifier prompts, abstention rules or acceptance cutoffs. Those depend on what a wrong pass and a wrong block cost you.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The point
&lt;/h2&gt;

&lt;p&gt;A verifier doesn't grade a run. It grades the view of the run you handed it. Validate it on every view your harness produces, count refusals separately from wrong answers, and forward the evidence the verdict depends on.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Igor Eduardo builds retrieve-first and evaluation-as-contract systems. More at &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;igoreduardo.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>testing</category>
      <category>llm</category>
    </item>
    <item>
      <title>Your Agent's Failure Predictor Is Grading the Task, Not the Run</title>
      <dc:creator>Igor Eduardo</dc:creator>
      <pubDate>Mon, 09 Nov 2026 08:23:21 +0000</pubDate>
      <link>https://dev.to/igoreduardoai/your-agents-failure-predictor-is-grading-the-task-not-the-run-2ak1</link>
      <guid>https://dev.to/igoreduardoai/your-agents-failure-predictor-is-grading-the-task-not-the-run-2ak1</guid>
      <description>&lt;h1&gt;
  
  
  Your Agent's Failure Predictor Is Grading the Task, Not the Run
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;By Igor Eduardo · Austin, TX · &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;https://igoreduardo.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A short new paper, &lt;a href="https://arxiv.org/abs/2611.08285" rel="noopener noreferrer"&gt;Hard Issue, Weak Model, or Bad Run? Rethinking Failure Prediction for Coding Agents&lt;/a&gt; (arXiv 2611.08285, posted 2026-11-05), asks a question most agent monitoring skips: when a predictor flags a run as "going wrong", has it learned anything about &lt;strong&gt;that run&lt;/strong&gt;?&lt;/p&gt;

&lt;p&gt;The setup is familiar. A coding agent works on a repository issue for many steps. A predictor reads the partial trajectory (reasoning, commands, tool output) and raises an alarm. On an alarm you stop the run, retry it, or hand the issue to another model.&lt;/p&gt;

&lt;p&gt;The authors point out that a run can fail for three different reasons, and each one calls for a different action:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hard issue:&lt;/strong&gt; most models fail it. Stopping or asking a human is the better move.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weak model:&lt;/strong&gt; this model fails many issues. Switching to a stronger one is the better move.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bad run:&lt;/strong&gt; the same model solves the same issue on other attempts. Only here does a retry help.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Their finding is that current trajectory-based predictors mostly can't tell these apart.&lt;/p&gt;

&lt;h2&gt;
  
  
  What they report
&lt;/h2&gt;

&lt;p&gt;They used public trajectories on a widely used benchmark of &lt;strong&gt;500&lt;/strong&gt; real repository issues, where each model attempts each issue &lt;strong&gt;once&lt;/strong&gt;: &lt;strong&gt;3,492&lt;/strong&gt; runs from &lt;strong&gt;seven&lt;/strong&gt; models, &lt;strong&gt;994&lt;/strong&gt; of them failures, plus outcomes for &lt;strong&gt;23&lt;/strong&gt; models and a separate public corpus with repeated runs.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A score that never sees the run wins.&lt;/strong&gt; A reference that only knows how hard an issue is for &lt;em&gt;other&lt;/em&gt; models reaches &lt;strong&gt;0.92 pooled AUROC&lt;/strong&gt;. The trajectory predictors reach &lt;strong&gt;0.62–0.63&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pooled AUROC is mostly a between-task number.&lt;/strong&gt; Of &lt;strong&gt;494,109&lt;/strong&gt; failed/successful pairs in the test folds, &lt;strong&gt;99.66%&lt;/strong&gt; compare &lt;em&gt;different issues&lt;/em&gt;. A score that recognizes hard issues can look excellent without reading a single step.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Within an issue, knowing the model beats reading the run.&lt;/strong&gt; Model identity alone reaches &lt;strong&gt;0.72&lt;/strong&gt; within-issue AUROC, against &lt;strong&gt;0.60–0.61&lt;/strong&gt; for the predictors. On "upset" pairs, where the overall weaker model won, the predictors score &lt;strong&gt;0.42&lt;/strong&gt;, below chance. They are reproducing the model ranking, not watching the run.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What the trajectory adds is statistically zero.&lt;/strong&gt; Adding a predictor's score on top of issue difficulty and model identity changes AUROC by an amount equivalent to zero in all &lt;strong&gt;18&lt;/strong&gt; configurations they tested.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The "switch models" story mostly dissolves.&lt;/strong&gt; The best single model solves &lt;strong&gt;76.8%&lt;/strong&gt; of issues and &lt;em&gt;some&lt;/em&gt; model solves &lt;strong&gt;86.8%&lt;/strong&gt;, a &lt;strong&gt;10.0-point&lt;/strong&gt; "oracle gap". That gap sits inside the range chance alone produces. &lt;strong&gt;45%&lt;/strong&gt; of failures (&lt;strong&gt;448 of 994&lt;/strong&gt;) happen on &lt;strong&gt;64&lt;/strong&gt; issues no model solves, so there is nothing to switch to. Picking a model per issue from its past runs gains &lt;strong&gt;+0.09&lt;/strong&gt; points on new runs; a router for new issues gains &lt;strong&gt;+0.41&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The gain people attribute to routing comes from a second attempt.&lt;/strong&gt; Escalating every failure to one fixed second model gains &lt;strong&gt;+6.91&lt;/strong&gt; points, and that assumes a perfect failure detector. The win is the extra try, not a better-suited model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bad runs are real.&lt;/strong&gt; In the repeated-run pilot (&lt;strong&gt;522&lt;/strong&gt; issues, at least four runs per model), outcome variation splits into &lt;strong&gt;53%&lt;/strong&gt; issue difficulty, &lt;strong&gt;42%&lt;/strong&gt; run-to-run variation, and only &lt;strong&gt;4.6%&lt;/strong&gt; model-issue specialization. So retries have real room to help, but &lt;strong&gt;64–82%&lt;/strong&gt; of predictor score variance lies &lt;em&gt;between&lt;/em&gt; issues, which means the alarm mostly fires on the cases where a retry is less likely to work.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Scope, in their words: mainly one benchmark and one scaffold, trajectory-based predictors only, a repeated-run pilot with older models, and a router with shallow issue features. Not detecting specialization is not proof it is absent. Those are their numbers, not mine. I have not re-run the experiments, and I am deliberately not naming the models, the benchmark, or the prior systems the paper discusses.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stake
&lt;/h2&gt;

&lt;p&gt;Teams will read "our failure predictor has a good AUROC" as "our agent knows when a run is going wrong".&lt;/p&gt;

&lt;p&gt;That is the same mistake as reading a leaderboard as a forecast. A pooled score mixes three things into one number: how hard the tasks were, how strong the model is, and what happened in this attempt. Only the third is something a run-time monitor can act on. If the number is carried by the first two, you have built an expensive difficulty estimate and wired it to a retry button.&lt;/p&gt;

&lt;p&gt;The cost shows up in the action layer. A predictor that fires on hard issues triggers retries on exactly the failures a retry rarely fixes, and stays quiet on the bad runs a retry would rescue.&lt;/p&gt;

&lt;h2&gt;
  
  
  Opinion (one sentence)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Any claim that a monitor, router or retry rule makes an agent more reliable should be backed by repeated runs and run-blind baselines at equal budget, because a single-attempt leaderboard can't tell a hard task from a weak model from a bad run.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is a preference with a limiter, not a benchmark result. If your agent runs short, cheap, deterministic tasks, single runs may be enough. Once runs are long, stochastic, and you act on an alarm mid-run, the cause of failure decides whether the action helps.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a cause-aware agent eval reports (menu, not recipe)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Column&lt;/th&gt;
&lt;th&gt;Question it answers&lt;/th&gt;
&lt;th&gt;Failure if skipped&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Run-blind baselines&lt;/td&gt;
&lt;td&gt;Does the monitor beat "how hard is this task" and "which model ran"?&lt;/td&gt;
&lt;td&gt;A difficulty estimate sold as run monitoring&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Within-task score&lt;/td&gt;
&lt;td&gt;Can it rank two attempts at the &lt;em&gt;same&lt;/em&gt; task?&lt;/td&gt;
&lt;td&gt;Pooled score carried by task mix&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Repeated runs&lt;/td&gt;
&lt;td&gt;How often does the same model pass and fail the same task?&lt;/td&gt;
&lt;td&gt;Bad runs invisible, luck read as skill&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Chance reference for gaps&lt;/td&gt;
&lt;td&gt;Is the "best of several models" gap bigger than noise?&lt;/td&gt;
&lt;td&gt;Routing built on a coin-flip artifact&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Equal-budget comparison&lt;/td&gt;
&lt;td&gt;Does the strategy beat simply trying again with the same model?&lt;/td&gt;
&lt;td&gt;A second attempt credited to cleverness&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Action outcome&lt;/td&gt;
&lt;td&gt;Did the triggered stop, switch or retry actually fix the failure?&lt;/td&gt;
&lt;td&gt;An alarm graded on itself, not on what it changed&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;None of that requires a private harness or new model. It needs repeated runs, two baselines that never look at the trajectory, and the discipline to grade the &lt;em&gt;decision&lt;/em&gt;, not the alarm.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why "the alarm was right" is not a pass
&lt;/h2&gt;

&lt;p&gt;The detail I would steal first is the toy example the authors open with. If a model succeeds 90% of the time on easy issues and 10% on hard ones, a score that only knows which issues are hard reaches &lt;strong&gt;0.90&lt;/strong&gt; pooled AUROC, yet it ranks two runs of the same issue at &lt;strong&gt;0.50&lt;/strong&gt;, a coin flip. A great-looking metric with zero information about the run.&lt;/p&gt;

&lt;p&gt;That is the eval-as-contract problem in miniature. The metric was computed correctly. It was just answering a different question from the one the product needs answered at run time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this connects to habits I already keep public
&lt;/h2&gt;

&lt;p&gt;My public work is mostly retrieve-first and evaluation-as-contract systems, and the habit is the same: before a component gets credit, compare it against the dumbest baseline that could have produced the same number. In retrieval, that means checking whether a gain survives query-class slices. For agents, this paper names the baselines for run-time monitoring: task difficulty, model identity, and "just try again". A monitor that can't beat them isn't monitoring the run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steal this check
&lt;/h2&gt;

&lt;p&gt;Pick one agent with a stop, retry or routing rule and add four things before your next release:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Run each task more than once.&lt;/strong&gt; Even a small repeated slice tells you how much of failure is the run.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Score two run-blind baselines.&lt;/strong&gt; Task difficulty and model identity, next to your monitor, on the same cases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Report within-task ranking.&lt;/strong&gt; Can the monitor tell a good attempt from a bad one on the same task?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compare at equal attempts.&lt;/strong&gt; Does your clever strategy beat a plain second try with the same model?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then ask whether the monitor is still worth its cost once the baselines are on the same chart.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I am not claiming
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;I am not reporting this paper's results as my own, and I have not reproduced them.&lt;/li&gt;
&lt;li&gt;I am not ranking models, agents or vendors.&lt;/li&gt;
&lt;li&gt;I am not saying failure prediction is useless. The authors call for predictors that explain &lt;em&gt;why&lt;/em&gt; a run fails, evaluated on repeated runs, in closed-loop, equal-budget settings.&lt;/li&gt;
&lt;li&gt;I am not publishing alarm thresholds or retry rules. Those depend on what a wasted run and a missed failure cost you.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The point
&lt;/h2&gt;

&lt;p&gt;A failure alarm that mostly knows the task is hard is not watching the run. Run tasks more than once, put run-blind baselines on the same chart, and grade the action the alarm triggers, not the alarm itself.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Igor Eduardo builds retrieve-first and evaluation-as-contract systems. More at &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;igoreduardo.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>testing</category>
      <category>llm</category>
    </item>
    <item>
      <title>Your Agent Used 6% of Its Context Window and Still Lost a Third of Its Tool Output</title>
      <dc:creator>Igor Eduardo</dc:creator>
      <pubDate>Mon, 02 Nov 2026 08:20:24 +0000</pubDate>
      <link>https://dev.to/igoreduardoai/your-agent-used-6-of-its-context-window-and-still-lost-a-third-of-its-tool-output-3ce1</link>
      <guid>https://dev.to/igoreduardoai/your-agent-used-6-of-its-context-window-and-still-lost-a-third-of-its-tool-output-3ce1</guid>
      <description>&lt;h1&gt;
  
  
  Your Agent Used 6% of Its Context Window and Still Lost a Third of Its Tool Output
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;By Igor Eduardo · Austin, TX · &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;https://igoreduardo.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A short new paper, &lt;a href="https://arxiv.org/abs/2610.36114" rel="noopener noreferrer"&gt;Context Is a Pipeline, Not a Window: Information Attrition in LLM Agent Harnesses&lt;/a&gt; (arXiv 2610.36114, posted 2026-10-26), measures something most agent dashboards never show: how much of a tool's output is lost &lt;strong&gt;before the model ever sees it&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The authors instrumented a real tool-using agent that diagnoses injected faults by reading Linux kernel traces. Their point is simple. An agent never reads its context window directly. It reads whatever the harness, the code wrapped around the model, decided to put there. Between "the tool produced a result" and "the model saw it", the harness serializes, cuts to a budget, keeps or drops history, and passes findings between workers. Each of those steps can lose information.&lt;/p&gt;

&lt;p&gt;What they report:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The window was nearly empty.&lt;/strong&gt; Across &lt;strong&gt;720 runs&lt;/strong&gt;, the single largest prompt used &lt;strong&gt;5.75%&lt;/strong&gt; of the window.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A third of tool results were cut anyway.&lt;/strong&gt; &lt;strong&gt;3,827 of 11,189&lt;/strong&gt; tool results were truncated before reaching the model, and &lt;strong&gt;every cut result became broken JSON&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The loss followed position, not importance.&lt;/strong&gt; The harness sliced each result's text at a fixed length, so whatever sat near the end disappeared. One list of containers reached the model in &lt;strong&gt;4.7%&lt;/strong&gt; of calls; a second list, in the very same payloads, reached it in &lt;strong&gt;99.3%&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accuracy split along the same line.&lt;/strong&gt; Faults that showed up in the surviving list scored &lt;strong&gt;40–55 out of 60&lt;/strong&gt;; faults that showed up only in the deleted list scored &lt;strong&gt;0–24 out of 60&lt;/strong&gt;. The authors are explicit that this field split is correlation, not proven cause.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;On a production-scale trace, a whole evidence class vanished.&lt;/strong&gt; Replaying the shipped cut on one real trace delivered &lt;strong&gt;0 of 128&lt;/strong&gt; records of the fault's evidence.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The first cost was extra work, not wrong answers.&lt;/strong&gt; In a controlled experiment, when the agent had another route to the answer it still found it, but tool calls rose from &lt;strong&gt;53 to 76&lt;/strong&gt; (the paper's "43% more"), computations roughly doubled (&lt;strong&gt;18 to 36&lt;/strong&gt;), and yield, findings per computation, fell from &lt;strong&gt;0.61 to 0.31&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It hides well.&lt;/strong&gt; Only &lt;strong&gt;2.5%&lt;/strong&gt; of calls were affected in their replay of &lt;strong&gt;864&lt;/strong&gt; recorded results, and in traces from two production coding agents, waiting on the model took a median &lt;strong&gt;84%&lt;/strong&gt; of wall-clock time, so latency dashboards barely move.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The authors also surveyed seven agent frameworks and found two that cut tool output by position in the same way. I am not naming them here; the paper does, and the point is the pattern, not a scoreboard.&lt;/p&gt;

&lt;p&gt;Scope, in their words: one harness, one domain, one model, small samples, and the causal link to the accuracy drop is still an open question. Those are their numbers, not mine. I have not re-run the experiments.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stake
&lt;/h2&gt;

&lt;p&gt;Teams will read "context window: mostly empty" as "the model saw everything".&lt;/p&gt;

&lt;p&gt;Context size and final accuracy are the two numbers agents are usually judged on. Neither tells you whether the evidence the model needed was delivered intact. A log that records what the harness &lt;em&gt;sent&lt;/em&gt; cannot show what the tool &lt;em&gt;produced&lt;/em&gt;, so this class of loss is invisible in the place people look for it.&lt;/p&gt;

&lt;p&gt;And it fails quietly. When the agent has a second route to the answer, the loss shows up as more calls and more tokens. When it does not, as with a quiet fault that lives in exactly one field, the evidence is simply gone and the agent answers anyway.&lt;/p&gt;

&lt;h2&gt;
  
  
  Opinion (one sentence)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;For any agent that acts on tool output, "what reached the model" should be a measured, reported number next to accuracy, because a harness can delete the evidence that matters while every capacity and latency metric looks healthy.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is a preference with a limiter, not a benchmark result. If your tools return small, flat outputs that never approach a budget, this may cost you nothing. Once tools return lists, logs or traces that can grow, the delivery step becomes part of the system under test.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a delivery-aware agent eval looks like (menu, not recipe)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Column&lt;/th&gt;
&lt;th&gt;Question it answers&lt;/th&gt;
&lt;th&gt;Failure if skipped&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Produced vs. delivered&lt;/td&gt;
&lt;td&gt;Did each field of the tool result reach the model?&lt;/td&gt;
&lt;td&gt;Evidence lost upstream looks like model error&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Payload validity&lt;/td&gt;
&lt;td&gt;Did the delivered result still parse?&lt;/td&gt;
&lt;td&gt;Broken structure passed off as "the data"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Loss by position&lt;/td&gt;
&lt;td&gt;Do late fields disappear more than early ones?&lt;/td&gt;
&lt;td&gt;Importance decided by key order&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Work per finding&lt;/td&gt;
&lt;td&gt;How many calls and computations per useful finding?&lt;/td&gt;
&lt;td&gt;A silent cost rise read as "harder task"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hand-off between workers&lt;/td&gt;
&lt;td&gt;Did computed findings reach whatever decides?&lt;/td&gt;
&lt;td&gt;Silence read as "nothing found"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Quiet-case accuracy&lt;/td&gt;
&lt;td&gt;Accuracy on cases with only one route to the evidence&lt;/td&gt;
&lt;td&gt;Redundant routes masking the loss&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;None of that requires a private harness or a new model. It requires logging the tool's full result next to what was actually sent, and refusing a release that only reports window size and final accuracy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why "the answer was still right" is not a pass
&lt;/h2&gt;

&lt;p&gt;The finding I would steal first is the compensation tax. In the controlled runs, accuracy on the easy, loud cases stayed flat while the agent did far more work to get there. That is exactly the kind of result that passes a pass-rate gate and then fails in production on the one case where the second route does not exist.&lt;/p&gt;

&lt;p&gt;The authors' own prediction was wrong in an instructive way: they expected that deleting the culprit's list would drop accuracy, and the agent recovered the name from another table. Their sharper rule is that the cut hurts only where there is no second route, and that its cost appears as extra work before it appears as errors. If your eval set is full of loud cases, you will measure the work and miss the risk.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this connects to habits I already keep public
&lt;/h2&gt;

&lt;p&gt;My public work is mostly retrieve-first and evaluation-as-contract systems, and the habit is the same: grade each stage on its own before letting the final answer vouch for the pipeline. In retrieval, that means checking that the right evidence came back before grading the answer. For agents, this paper isolates the next stage: whether the evidence that came back actually reached the model. A system can retrieve correctly and still never show the model what it retrieved.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steal this check
&lt;/h2&gt;

&lt;p&gt;Pick one agent that reads tool output and add four things before your next release:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Log produced and delivered side by side.&lt;/strong&gt; Keep the full tool result and the text the model actually received, per call.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Count what didn't arrive.&lt;/strong&gt; Per field, per run: how often was it cut, and did the payload still parse?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Track work per finding.&lt;/strong&gt; Calls and computations per useful result, next to accuracy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep a quiet-case slice.&lt;/strong&gt; Cases where the evidence lives in exactly one place. Grade accuracy there separately.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then ask whether the release is still an upgrade once delivery is visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I am not claiming
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;I am not reporting this paper's results as my own, and I have not reproduced them.&lt;/li&gt;
&lt;li&gt;I am not ranking frameworks, models or vendors.&lt;/li&gt;
&lt;li&gt;I am not claiming truncation caused the accuracy split. The authors say that is still open.&lt;/li&gt;
&lt;li&gt;I am not publishing budgets or cut rules to use. Those depend on your tools and what a missed field costs you.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The point
&lt;/h2&gt;

&lt;p&gt;A mostly empty context window tells you there was room. It does not tell you what arrived. Measure the path from tool to model, report loss next to accuracy, and keep a slice of cases where the agent has only one way to find the truth.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Igor Eduardo builds retrieve-first and evaluation-as-contract systems. More at &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;igoreduardo.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>observability</category>
    </item>
    <item>
      <title>Your Agent's Pass Rate Doesn't Tell You Whether It Can Notice Its Own Mistake</title>
      <dc:creator>Igor Eduardo</dc:creator>
      <pubDate>Mon, 26 Oct 2026 07:18:30 +0000</pubDate>
      <link>https://dev.to/igoreduardoai/your-agents-pass-rate-doesnt-tell-you-whether-it-can-notice-its-own-mistake-471m</link>
      <guid>https://dev.to/igoreduardoai/your-agents-pass-rate-doesnt-tell-you-whether-it-can-notice-its-own-mistake-471m</guid>
      <description>&lt;p&gt;&lt;em&gt;By Igor Eduardo · Austin, TX · &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;https://igoreduardo.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A new benchmark paper, &lt;a href="https://arxiv.org/abs/2610.27645" rel="noopener noreferrer"&gt;CUA-Recovery: Benchmarking Error Recovery in Long-Horizon Computer-Use Agents&lt;/a&gt; (arXiv 2610.27645, posted 2026-10-20), asks a question most agent scoreboards skip: when an agent inherits a workflow that already went wrong, does it notice, and can it fix it?&lt;/p&gt;

&lt;p&gt;The setup is careful. The authors compose long, multi-application desktop workflows with an executable "gold lineage", the correct value at every step. They run six agents, collect the failures those agents actually produce, locate the root-cause step of each failure, and replay the run to a point 0 to 25 steps after that root cause. Then an agent takes over from that state &lt;strong&gt;without being told anything went wrong&lt;/strong&gt;. The test suite has &lt;strong&gt;2,250 human-verified erroneous states over 100 tasks&lt;/strong&gt;, drawn from &lt;strong&gt;619 failed rollouts&lt;/strong&gt;. They score three things separately: whether the agent says something is wrong (Error-Awareness Rate, EAR), how much of the task it completes (Rubric Score), and whether it fully completes the task in any of three runs (Pass@3).&lt;/p&gt;

&lt;p&gt;What they report:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Recovery is rare.&lt;/strong&gt; Across six agents and six takeover depths, EAR reaches at most &lt;strong&gt;44.0%&lt;/strong&gt; and Pass@3 at most &lt;strong&gt;25.5%&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clean-start skill does not predict noticing.&lt;/strong&gt; One agent solves &lt;strong&gt;66.9%&lt;/strong&gt; of the source tasks from a clean start but notices at most &lt;strong&gt;18.5%&lt;/strong&gt; of the errors in its own failures. Another solves &lt;strong&gt;5.1%&lt;/strong&gt; from a clean start but notices &lt;strong&gt;14.1–26.1%&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Noticing is not fixing.&lt;/strong&gt; Macro-averaged across the six agents, runs that recognized the inherited error passed the verifier &lt;strong&gt;15.6%&lt;/strong&gt; of the time, versus &lt;strong&gt;12.2%&lt;/strong&gt; for runs that did not. Agents often name the problem and then leave the affected state unchanged.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Errors surface late.&lt;/strong&gt; In their annotated failures, &lt;strong&gt;78.1%&lt;/strong&gt; of errors became explicit three or more steps after the root cause, with a median delay of &lt;strong&gt;17 steps&lt;/strong&gt;. In &lt;strong&gt;361 of 602&lt;/strong&gt; failures where the error became explicit, the first evidence appeared only at the final step.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Most root causes are decisions, not clicks.&lt;/strong&gt; Planning and perception account for &lt;strong&gt;57.3%&lt;/strong&gt; of root causes; termination errors, including reporting success while requirements remain unmet, account for &lt;strong&gt;23.5%&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The authors are explicit about scope: one desktop environment, agents run with their own scaffolds, and an LLM judge that they checked against human labels and found slightly strict. They also show that fine-tuning on their recovery trajectories raises one open model's average EAR from &lt;strong&gt;19.9%&lt;/strong&gt; to &lt;strong&gt;35.2%&lt;/strong&gt;. Code is public at &lt;a href="https://github.com/xu-hu-2002/CUA-Recovery" rel="noopener noreferrer"&gt;CUA-Recovery&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Those are their numbers, not mine. I have not re-run the benchmark, and I am not using it to rank anyone. What I want to formalize is the eval habit it exposes.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stake
&lt;/h2&gt;

&lt;p&gt;Teams will ship agents that are good at starting and bad at noticing.&lt;/p&gt;

&lt;p&gt;A clean-start pass rate measures one thing: given a correct initial state, does the agent reach the goal? Production does not hand agents correct states. A previous step, a previous run, a human, or a flaky tool has often already written something wrong into a file, a spreadsheet or a record. If the eval never starts from a broken state, the agent's ability to notice is never measured, and the number you ship on is silent about the failure that hurts most.&lt;/p&gt;

&lt;p&gt;AI failures rarely fail loud. An agent that builds 17 confident steps on top of a wrong record looks, on a completion dashboard, a lot like one that did the job.&lt;/p&gt;

&lt;h2&gt;
  
  
  Opinion (one sentence)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Any agent that writes to persistent state should be graded on takeovers from broken states, with "noticed" and "repaired" scored as separate columns, because a clean-start pass rate cannot tell you whether the agent will catch its own inherited mistake.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is a preference with a limiter, not a benchmark result. For read-only agents that only answer questions, clean-start evals may be enough. Once an agent writes, sends or orders, the inherited-error case is the one that compounds.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a recovery-aware agent eval looks like (menu, not recipe)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Column&lt;/th&gt;
&lt;th&gt;Question it answers&lt;/th&gt;
&lt;th&gt;Failure if skipped&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Clean-start completion&lt;/td&gt;
&lt;td&gt;Can it do the task from a correct state?&lt;/td&gt;
&lt;td&gt;No baseline at all&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Takeover completion&lt;/td&gt;
&lt;td&gt;Can it finish from a state that is already wrong?&lt;/td&gt;
&lt;td&gt;Shipping a system that only works when nothing went wrong before&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Error awareness&lt;/td&gt;
&lt;td&gt;Did it say something earlier is wrong?&lt;/td&gt;
&lt;td&gt;Silent agents look identical to careful ones&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Repair, scored apart from awareness&lt;/td&gt;
&lt;td&gt;Did it actually fix the affected state?&lt;/td&gt;
&lt;td&gt;Crediting "I see a problem" as a fix&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Depth since root cause&lt;/td&gt;
&lt;td&gt;How far back was the mistake?&lt;/td&gt;
&lt;td&gt;Missing that late takeovers behave differently&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Completion claim vs. state&lt;/td&gt;
&lt;td&gt;Does the final state match what the agent reported?&lt;/td&gt;
&lt;td&gt;Premature "done" passing as success&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;None of that needs a private harness. It needs someone to refuse an agent release that only reports the first column.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why "noticed" and "repaired" must be different columns
&lt;/h2&gt;

&lt;p&gt;The finding I would steal first is the gap between awareness and recovery. A system that says "it looks like the earlier step used the wrong year" and then carries on with the wrong year has produced a better transcript, not a better outcome. If one metric lumps the two together, it will reward agents that narrate problems over agents that fix them.&lt;/p&gt;

&lt;p&gt;The paper also shows the two can move in opposite directions. As the takeover point moves further from the root cause, some agents became more likely to notice something was off while becoming less likely to complete the task, because the step that caused the problem had left their context window. Later is not simply harder or easier. It is different, so it needs its own row.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this connects to habits I already keep public
&lt;/h2&gt;

&lt;p&gt;My public work is mostly retrieve-first and evaluation-as-contract systems, and the habit is the same: grade each part on its own before letting the final answer vouch for it. For agents, the "part" this paper isolates is the moment the agent receives state it did not create. I would treat that moment as a first-class test case, next to the clean start.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steal this check
&lt;/h2&gt;

&lt;p&gt;Pick one agent workflow that writes to persistent state and add four things before your next release:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Collect real failures.&lt;/strong&gt; Keep the runs where your agent actually went wrong, not just synthetic faults.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Replay to a broken state and hand over.&lt;/strong&gt; Start a fresh run from a point after the mistake, without warning it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Score awareness and repair separately.&lt;/strong&gt; "Said something is wrong" and "fixed what was wrong" go in different columns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the claim against the state.&lt;/strong&gt; If the agent says done, verify the final state, not the final message.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then ask whether the release is still an upgrade once the takeover columns are visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I am not claiming
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;I am not reporting CUA-Recovery results as my own, and I have not reproduced the benchmark.&lt;/li&gt;
&lt;li&gt;I am not ranking models or vendors. The paper's per-agent tables exist; this post deliberately does not use them as a leaderboard.&lt;/li&gt;
&lt;li&gt;I am not publishing thresholds for acceptable awareness or recovery rates. Those depend on what a wrong write costs in your product.&lt;/li&gt;
&lt;li&gt;One desktop environment is not every environment. The authors scope their claims the same way.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The point
&lt;/h2&gt;

&lt;p&gt;A pass rate from a clean start tells you the agent can begin well. It does not tell you whether the agent will catch a mistake already sitting in the state it inherits. Start some evals from broken states, score noticing and repairing separately, and check every "done" against the state it claims to have produced.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Igor Eduardo builds retrieve-first and evaluation-as-contract systems. More at &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;igoreduardo.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>evaluation</category>
      <category>llm</category>
    </item>
    <item>
      <title>Extra Retrieval Rounds Can Make RAG Worse at Saying "I Don't Know"</title>
      <dc:creator>Igor Eduardo</dc:creator>
      <pubDate>Fri, 23 Oct 2026 07:24:51 +0000</pubDate>
      <link>https://dev.to/igoreduardoai/extra-retrieval-rounds-can-make-rag-worse-at-saying-i-dont-know-4elo</link>
      <guid>https://dev.to/igoreduardoai/extra-retrieval-rounds-can-make-rag-worse-at-saying-i-dont-know-4elo</guid>
      <description>&lt;p&gt;A new benchmark paper, &lt;a href="https://arxiv.org/abs/2610.28340" rel="noopener noreferrer"&gt;DeclineCraft: A RAG Abstention Benchmark for Jointly Measuring Combined Retrieval and Parametric Knowledge&lt;/a&gt; (arXiv 2610.28340, posted 2026-10-20), measures something most RAG scoreboards skip: how often a system admits that neither its documents nor its weights can answer the question.&lt;/p&gt;

&lt;p&gt;The setup is clever. The authors build a retrieval corpus from Minecraft Wiki pages as they stood at a 31 March 2025 cut-off, then write unanswerable questions about game features documented only after that date. The benchmark has 700 answerable and 300 unanswerable questions, and they evaluate 27 LLMs. Their headline metric is Correct Abstention Rate (CAR): the share of unanswerable questions where the model acknowledges it lacks the answer. They score "premise denial", where the model asserts without support that the item does not exist, separately from an honest "I don't know".&lt;/p&gt;

&lt;p&gt;What they report:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Single-shot retrieval helps.&lt;/strong&gt; Compared with no retrieval, it raises CAR significantly in &lt;strong&gt;38 of 40&lt;/strong&gt; model/thinking configurations. Mean CAR goes from about &lt;strong&gt;17.1%&lt;/strong&gt; to &lt;strong&gt;56.4%&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Iterative retrieval gives part of that back.&lt;/strong&gt; When the model can request up to two more retrieval rounds, CAR drops significantly in &lt;strong&gt;30 of 40&lt;/strong&gt; configurations, to a mean of about &lt;strong&gt;46.4%&lt;/strong&gt;. Answer Accuracy on the answerable questions barely moves (about &lt;strong&gt;68.5% â†’ 69.3%&lt;/strong&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adding query rewriting plus reranking to hybrid retrieval lowered CAR for all 12 models tested&lt;/strong&gt;, from a mean of about 54.7% to 49.8%. The authors note that only 3 of the 60 per-model paired comparisons against plain hybrid are individually significant, so the direction is consistent but each per-model gap is small.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Retrieving more chunks also lowered it.&lt;/strong&gt; On an 11-model subset, going from 5 to 10 chunks dropped mean CAR from about 56.8% to 51.7%.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The authors are careful about what this does and does not show. Their aggregate comparison does not isolate which part of iterative RAG causes the drop: chunk count, context length, follow-up queries and self-reflection all change together. Their corpus is one domain with one chunking scheme. Code and data are public at &lt;a href="https://github.com/Thakur-Atharva/declinecraft-benchmark" rel="noopener noreferrer"&gt;declinecraft-benchmark&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Those are their numbers, not mine. I have not re-run the benchmark. What I want to formalize is the eval habit the paper forces into the open.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stake
&lt;/h2&gt;

&lt;p&gt;Teams will ship the wrong upgrade.&lt;/p&gt;

&lt;p&gt;The usual path for improving a RAG system is to add things: more chunks, a reranker, query rewriting, a second retrieval round. Each one is justified by an accuracy chart on answerable questions. In this paper, accuracy on answerable questions stays roughly flat while the system gets measurably worse at declining the questions it cannot answer. If your eval set has no unanswerable questions, that regression is invisible. You will ship it as an improvement.&lt;/p&gt;

&lt;p&gt;AI failures rarely fail loud. A confident answer to a question your corpus cannot support looks exactly like a correct one on a dashboard that only grades answerable items.&lt;/p&gt;

&lt;h2&gt;
  
  
  Opinion (one sentence)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Every change to a retrieval pipeline should be graded on unanswerable questions too, because "more context" can buy a little accuracy while quietly spending the system's ability to say "I don't know."&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is a preference with a limiter, not a benchmark result. I am not saying iterative retrieval, reranking or query rewriting are mistakes. I am saying the contract for adding them must include the column that can go down.&lt;/p&gt;

&lt;h2&gt;
  
  
  What an abstention-aware eval contract looks like (menu, not recipe)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Field&lt;/th&gt;
&lt;th&gt;Question it answers&lt;/th&gt;
&lt;th&gt;Failure if skipped&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Answerable accuracy&lt;/td&gt;
&lt;td&gt;Did we answer the questions the corpus supports?&lt;/td&gt;
&lt;td&gt;Shipping on vibes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Correct abstention rate&lt;/td&gt;
&lt;td&gt;Did we decline the questions nothing supports?&lt;/td&gt;
&lt;td&gt;Confident answers with no evidence&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Premise denial, counted separately&lt;/td&gt;
&lt;td&gt;Did we claim something does not exist without being able to verify it?&lt;/td&gt;
&lt;td&gt;"No such thing" passing as caution&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Attempt rate on answerable items&lt;/td&gt;
&lt;td&gt;Did we refuse questions we could have answered?&lt;/td&gt;
&lt;td&gt;A system that looks safe because it answers nothing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Per-change deltas&lt;/td&gt;
&lt;td&gt;Which single change moved each column?&lt;/td&gt;
&lt;td&gt;Crediting the whole pipeline for one component's regression&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;None of that needs a private harness. It needs someone to refuse a pipeline change that only reports the accuracy column.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why "I don't know" is not the same as "no such thing"
&lt;/h2&gt;

&lt;p&gt;The distinction I would steal first is premise denial.&lt;/p&gt;

&lt;p&gt;When a corpus is older than the question, "I can't find this" and "this doesn't exist" are different claims. The first is honest. The second is a statement about the world that the system cannot back. A metric that lumps both into "declined" will reward the second. The paper's own example is a model that, asked about an item added after the cut-off, says the item is not recognized and then answers about a different item instead.&lt;/p&gt;

&lt;p&gt;If you run retrieval over documentation that changes, such as product docs, internal wikis or release notes, this is the failure to watch. The question can be newer than your index.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this connects to habits I already keep public
&lt;/h2&gt;

&lt;p&gt;My public work is mostly retrieve-first systems, and the same habit applies there: measure the retrieval half on its own before letting the answer vouch for it. My hybrid retrieval work is built around that habit. This week's paper adds a column I would put next to it: what the system does when the right evidence is not in the index at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steal this check
&lt;/h2&gt;

&lt;p&gt;Pick one RAG pipeline you are about to "improve" and add four things before you merge:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Write a small unanswerable slice.&lt;/strong&gt; Questions about things newer than, or missing from, your corpus. Even a few dozen is better than none.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Grade abstention next to accuracy.&lt;/strong&gt; Report both columns for the before and after versions of the pipeline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Split premise denial from abstention.&lt;/strong&gt; "I can't find it" and "it doesn't exist" go in different buckets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Change one thing at a time.&lt;/strong&gt; Extra chunks, reranking, rewriting and extra rounds each get their own before/after row.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then ask whether the change is still an upgrade once the abstention column is visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I am not claiming
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;I am not reporting DeclineCraft results as my own, and I have not reproduced the benchmark.&lt;/li&gt;
&lt;li&gt;I am not saying iterative RAG, reranking or query rewriting should be removed. The paper's own caveat is that it cannot isolate which component drives the drop.&lt;/li&gt;
&lt;li&gt;I am not publishing thresholds. What counts as an acceptable abstention rate depends on the product and on what a wrong answer costs.&lt;/li&gt;
&lt;li&gt;One domain (a game wiki) is not every domain. The authors say so too.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The point
&lt;/h2&gt;

&lt;p&gt;An accuracy chart on answerable questions cannot tell you whether your upgrade made the system more willing to bluff. Put unanswerable questions in the eval, grade "I don't know" as a real outcome, and make every pipeline change earn its place on both columns.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Igor Eduardo builds retrieve-first and evaluation-as-contract systems. More at &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;igoreduardo.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>rag</category>
      <category>evaluation</category>
      <category>llm</category>
    </item>
    <item>
      <title>An 8-Point nDCG Bump That Costs Two Minutes Is Not Free</title>
      <dc:creator>Igor Eduardo</dc:creator>
      <pubDate>Mon, 12 Oct 2026 16:12:42 +0000</pubDate>
      <link>https://dev.to/igoreduardoai/an-8-point-ndcg-bump-that-costs-two-minutes-is-not-free-206h</link>
      <guid>https://dev.to/igoreduardoai/an-8-point-ndcg-bump-that-costs-two-minutes-is-not-free-206h</guid>
      <description>&lt;p&gt;A new NVIDIA NeMo Retriever paper, &lt;a href="https://arxiv.org/abs/2610.05750" rel="noopener noreferrer"&gt;Beyond Semantic Similarity: Performance and Costs of Agentic Retrieval for Complex Tasks&lt;/a&gt; (arXiv 2610.05750, posted around 2026-10-05), puts numbers on a trade everyone arguing about agentic RAG already feels. With the same embedding model, their agentic retrieval setup lifts nDCG@10 by about &lt;strong&gt;8.7 points&lt;/strong&gt; over standard dense retrieval. It also averages roughly &lt;strong&gt;107.4 seconds&lt;/strong&gt; of latency against about &lt;strong&gt;0.67 seconds&lt;/strong&gt; for the standard path, and burns on the order of &lt;strong&gt;764.1K input tokens&lt;/strong&gt; plus &lt;strong&gt;5.8K output tokens&lt;/strong&gt; per query. They also report competitive results on ViDoRe v3 and BRIGHT without task-specific specialization. Their retrieval-bench notes live in the public &lt;a href="https://github.com/NVIDIA/NeMo-Retriever/tree/main/retrieval-bench" rel="noopener noreferrer"&gt;NeMo-Retriever&lt;/a&gt; tree.&lt;/p&gt;

&lt;p&gt;Those are their numbers, not mine. I have not re-run the bench. What I want to formalize is the eval shape the paper forces into the open.&lt;/p&gt;

&lt;p&gt;Here is what I would require before I trusted an "agentic retrieval win," and what I would not claim yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stake
&lt;/h2&gt;

&lt;p&gt;Teams will ship the wrong default.&lt;/p&gt;

&lt;p&gt;Most retrieval scoreboards still answer one question: "did we find better documents?" That question is real. It is incomplete. An 8-point nDCG bump that costs two minutes and three-quarters of a million input tokens is a different product than a sub-second dense call. If your dashboard only shows the quality column, the expensive path looks like a free upgrade. In production it is a budget, a timeout policy, and a fallback story.&lt;/p&gt;

&lt;p&gt;AI failures rarely fail loud. They fail as bills that looked like wins on the eval sheet.&lt;/p&gt;

&lt;h2&gt;
  
  
  Opinion (one sentence)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;An eval contract that reports only retrieval quality without latency, token cost, and failure/fallback rate is grading a different product than the one you will ship.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is a preference with a limiter, not a benchmark result. The NeMo numbers stay theirs. What I am formalizing is the contract: quality, cost, and reliability sit in the same report, or you are not evaluating the system you will actually run.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a cost-aware retrieval contract looks like (menu, not recipe)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Field&lt;/th&gt;
&lt;th&gt;Question it answers&lt;/th&gt;
&lt;th&gt;Failure if skipped&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Retrieval quality&lt;/td&gt;
&lt;td&gt;Did we find the right evidence under the stated metric?&lt;/td&gt;
&lt;td&gt;Shipping on vibes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Latency distribution&lt;/td&gt;
&lt;td&gt;How long did the path take, including agent loops?&lt;/td&gt;
&lt;td&gt;A "win" that times out in UX or SLA&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Token / dollar cost&lt;/td&gt;
&lt;td&gt;What did one query cost on average and at the tail?&lt;/td&gt;
&lt;td&gt;Quality gains that bankrupt the budget&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Failure / fallback rate&lt;/td&gt;
&lt;td&gt;How often did the agentic path abort, stall, or hand off?&lt;/td&gt;
&lt;td&gt;A green mean that hides a red path&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Same-model / same-corpus controls&lt;/td&gt;
&lt;td&gt;Did we change one variable at a time?&lt;/td&gt;
&lt;td&gt;Crediting the agent loop for an embedding upgrade&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;None of that needs a private harness. It needs someone to refuse a scoreboard that only prints nDCG.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the latency column belongs next to nDCG
&lt;/h2&gt;

&lt;p&gt;The paper's latency gap is the part I would steal first as a reporting habit.&lt;/p&gt;

&lt;p&gt;A sub-second dense path and a ~two-minute agentic path are not two settings of the same product. They are different products with different failure modes. One fails by missing evidence. The other can also fail by being too slow to use, too expensive to run at volume, or too brittle when a tool call hangs. If you only publish the quality delta, you are arguing about a system your users will never wait for.&lt;/p&gt;

&lt;p&gt;I would report latency and token cost next to the quality metric, not bury them in an appendix. The same goes for failure and fallback rate: every run that aborted or handed back to a cheaper path belongs in its own column.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this connects to retrieval habits I already keep public
&lt;/h2&gt;

&lt;p&gt;My public work is mostly retrieve-first systems, and the same split shows up there. A fluent answer can look like a retrieval win the same way a slow agent loop can look like a quality win. In both cases the fix is the same move: measure the retrieval half on its own, and refuse to let one number vouch for the whole product.&lt;/p&gt;

&lt;p&gt;The hybrid retrieval pipeline I keep public (&lt;a href="https://github.com/nomad-link-id/hybrid-rag-pipeline" rel="noopener noreferrer"&gt;hybrid-rag-pipeline&lt;/a&gt;) is built around that habit: measure retrieval separately before letting generation, or orchestration, speak for it. This week's paper is a cost-shaped version of the same lesson.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steal this check
&lt;/h2&gt;

&lt;p&gt;Pick one retrieval path you already call "agentic" or "multi-hop" and add four things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Keep the quality metric.&lt;/strong&gt; Report nDCG (or your usual ranking metric) with the same embedding model and corpus controls you already trust.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add latency next to it.&lt;/strong&gt; Mean is not enough; look at the tail your users will feel.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Add token cost next to it.&lt;/strong&gt; Input and output, average and heavy queries, in the same table as quality.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Count failure / fallback separately.&lt;/strong&gt; Every abort, timeout, or handoff to a cheaper path goes in its own column. That column is the one that becomes an incident or a surprise bill.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then ask whether the quality bump is still the headline once those columns are visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I am not claiming
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;I am not reporting NeMo Retriever results as my own, and I have not reproduced their bench.&lt;/li&gt;
&lt;li&gt;I am not saying agentic retrieval is a mistake. The paper shows a real quality gain on hard tasks. Cost is part of the grade, not a reason to ignore the gain.&lt;/li&gt;
&lt;li&gt;I am not publishing thresholds. What counts as acceptable latency or token spend depends on the product and the query class.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The point
&lt;/h2&gt;

&lt;p&gt;An 8-point nDCG bump that costs two minutes is not free. Grade the product you will ship: quality, cost, and the rate at which the expensive path fails closed.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Igor Eduardo builds retrieve-first and evaluation-as-contract systems. More at &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;igoreduardo.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>evaluation</category>
      <category>retrieval</category>
    </item>
    <item>
      <title>Done Is Testimony. Terminal State Is the Grade.</title>
      <dc:creator>Igor Eduardo</dc:creator>
      <pubDate>Mon, 05 Oct 2026 15:54:00 +0000</pubDate>
      <link>https://dev.to/igoreduardoai/done-is-testimony-terminal-state-is-the-grade-og8</link>
      <guid>https://dev.to/igoreduardoai/done-is-testimony-terminal-state-is-the-grade-og8</guid>
      <description>&lt;p&gt;Two things landed in the same week and they are the same argument.&lt;/p&gt;

&lt;p&gt;Microsoft and Hugging Face published &lt;a href="https://huggingface.co/blog/microsoft/thinkingbox" rel="noopener noreferrer"&gt;ThinkingBox&lt;/a&gt;, a benchmark that grades agents on the backend state and side effects they leave behind instead of the sentences they generate, and then asks whether they can do it twenty times in a row. Their opening example is an agent that makes nine clean tool calls, closes a ticket as resolved, and is wrong: the carrier exception was still open, so the required end state was "on hold." A grader reading tool calls sees nine well-formed calls. The database disagrees.&lt;/p&gt;

&lt;p&gt;On Dev.to, &lt;a href="https://dev.to/james_anderson_h/the-witness-was-the-suspect-why-ai-audit-logs-cant-be-trusted-2190"&gt;The Witness Was the Suspect&lt;/a&gt; made the same point from the incident side: when the agent writes its own success log, the record of the incident was authored by the cause of the incident.&lt;/p&gt;

&lt;p&gt;Here is what I would require before I trusted an agent's "done," and what I would not claim yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stake
&lt;/h2&gt;

&lt;p&gt;Teams will ship the wrong default.&lt;/p&gt;

&lt;p&gt;Most agent dashboards still answer "did it say it succeeded?" Status strings, tool-call traces, and a tidy final message are all produced by the same run that took the action. They are useful for debugging. They are not a grade. When the eval and the agent share a witness, a confident wrong action scores the same as a correct one, and the failure shows up later as a customer, a ledger, or an auditor.&lt;/p&gt;

&lt;p&gt;AI failures rarely fail loud. They fail plausible. That is exactly why the grade has to come from somewhere the agent cannot write.&lt;/p&gt;

&lt;h2&gt;
  
  
  Opinion (one sentence)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;An agent's "done" is testimony, not evidence. The eval contract should grade the terminal state through a read path the agent does not control, and it should grade it more than once.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is a preference with a limiter, not a benchmark result. I have not run ThinkingBox, and its numbers (507 stateful workflows, 20 runs each) are theirs. What I am formalizing is the shape: separate the actor from the grader, and treat "said done while the state is red" as a named failure, not as noise.&lt;/p&gt;

&lt;h2&gt;
  
  
  What separating the witness looks like (menu, not recipe)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Field&lt;/th&gt;
&lt;th&gt;Question it answers&lt;/th&gt;
&lt;th&gt;Failure if skipped&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Required end state&lt;/td&gt;
&lt;td&gt;What should the record look like when the task is truly finished?&lt;/td&gt;
&lt;td&gt;"Resolved" accepted when "on hold" was correct&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Independent read path&lt;/td&gt;
&lt;td&gt;Who reads the final state, and can the agent influence that read?&lt;/td&gt;
&lt;td&gt;The agent's own log grades the agent&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Side-effect ledger&lt;/td&gt;
&lt;td&gt;What else changed (tickets, refunds, emails, rows)?&lt;/td&gt;
&lt;td&gt;Correct primary record, wrong collateral writes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Done-while-red&lt;/td&gt;
&lt;td&gt;Did the run claim success while the state check failed?&lt;/td&gt;
&lt;td&gt;Confident wrong actions blend into the pass rate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Repeat consistency&lt;/td&gt;
&lt;td&gt;Does the same task reach the same end state across N runs?&lt;/td&gt;
&lt;td&gt;One lucky green run treated as a capability&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;None of that needs a private harness. It needs someone to write down the required end state before the run, and a grader that reads the system of record after the run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why repeats belong in the contract
&lt;/h2&gt;

&lt;p&gt;ThinkingBox's "twenty times in a row" framing is the part I would steal first.&lt;/p&gt;

&lt;p&gt;A single green run tells you the agent &lt;em&gt;can&lt;/em&gt; reach the right state. Production needs to know whether it &lt;em&gt;will&lt;/em&gt;. If the same ticket ends "resolved" on some runs and "on hold" on others, you do not have a capability with a small error rate. You have a coin with a nice transcript. I would report consistency next to the pass rate, not bury it in an appendix.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where this connects to retrieval
&lt;/h2&gt;

&lt;p&gt;My public work is mostly retrieve-first systems, and the same split shows up there. A RAG answer can cite cleanly and still be wrong about the source, the same way an agent can log cleanly and still leave the wrong record. In both cases the fix is the same move: grade against something the generator did not produce. For retrieval that is a gold source set; for agents it is the terminal state.&lt;/p&gt;

&lt;p&gt;The hybrid retrieval pipeline I keep public (&lt;a href="https://github.com/nomad-link-id/hybrid-rag-pipeline" rel="noopener noreferrer"&gt;hybrid-rag-pipeline&lt;/a&gt;) is built around that habit: measure the retrieval half on its own before letting a fluent answer vouch for it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Steal this check
&lt;/h2&gt;

&lt;p&gt;Pick one agent workflow you already run and add three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Write the required end state first.&lt;/strong&gt; Not "the agent responds," but "the ticket is on hold, no refund issued, customer told why."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Grade from the system of record.&lt;/strong&gt; Read the final state with a query the agent never touches, and ignore the agent's own status message for scoring.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Count done-while-red separately.&lt;/strong&gt; Every run where the agent claimed success but the state check failed goes in its own column. That column is the one that becomes an incident.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then run it more than once and report how often it lands in the same place.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I am not claiming
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;I am not reporting ThinkingBox results or reproducing their benchmark.&lt;/li&gt;
&lt;li&gt;I am not saying traces and logs are useless. They are how you debug. They are just the wrong thing to score.&lt;/li&gt;
&lt;li&gt;I am not publishing thresholds. What counts as acceptable consistency depends on what the action costs when it is wrong.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The point
&lt;/h2&gt;

&lt;p&gt;The process that acted should not be the only witness that it worked. Grade the record, not the report.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Igor Eduardo builds retrieve-first and evaluation-as-contract systems. More at &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;igoreduardo.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>evaluation</category>
      <category>testing</category>
    </item>
    <item>
      <title>Green Scores Without a Pinned Harness Are Screenshots</title>
      <dc:creator>Igor Eduardo</dc:creator>
      <pubDate>Mon, 28 Sep 2026 16:09:46 +0000</pubDate>
      <link>https://dev.to/igoreduardoai/green-scores-without-a-pinned-harness-are-screenshots-3666</link>
      <guid>https://dev.to/igoreduardoai/green-scores-without-a-pinned-harness-are-screenshots-3666</guid>
      <description>&lt;p&gt;Everyone is talking about Evaluation Cards and reproducible eval benches — the EvalEval × UK AISI write-up on Hugging Face, plus a week of discourse where green numbers still hide the wrong harness (and DeepEval-style “which half is broken?” chatter keeps landing). That heat is a live market object, not a niche footnote.&lt;/p&gt;

&lt;p&gt;Here is what I would require before I trusted a green eval score for high-stakes retrieval or generation — and what I would not claim yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stake
&lt;/h2&gt;

&lt;p&gt;Teams will ship the wrong default.&lt;/p&gt;

&lt;p&gt;A dashboard can show a comforting pass rate while the report never pins &lt;em&gt;how&lt;/em&gt; the score was earned: which protocol, which compute budget, which dataset slice, and whether the number measured retrieval, generation, or a blended soup. Celebrate that number and you optimize a screenshot. The next engineer cannot reproduce the gate, and the next incident cannot tell which half failed.&lt;/p&gt;

&lt;p&gt;If your domain is identifier-heavy, multi-hop, or regulated-adjacent, a fluent answer after an unpinned harness is not a win. It is a silent miss with a pretty badge.&lt;/p&gt;

&lt;h2&gt;
  
  
  Opinion (one sentence)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;A green score without a pinned harness — protocol, compute, dataset slice, and which half of the pipeline it measures — is not an eval contract; it is a screenshot.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is a preference with a limiter, not a SOTA claim. I have not run EvalEval in production. AISI card fields and anyone else’s leaderboard numbers stay theirs. What I am formalizing is the &lt;em&gt;harness pin&lt;/em&gt; as a first-class part of eval-as-contract, from the same reliable-systems lane I already publish on.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a pinned harness looks like (menu, not recipe)
&lt;/h2&gt;

&lt;p&gt;Evaluation Cards earned attention because they make the boring fields visible: protocol, compute, data cut, scoring rules. You do not need their exact schema to steal the &lt;em&gt;shape&lt;/em&gt;.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Field&lt;/th&gt;
&lt;th&gt;Question it answers&lt;/th&gt;
&lt;th&gt;Failure if skipped&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Protocol&lt;/td&gt;
&lt;td&gt;What procedure produced this number?&lt;/td&gt;
&lt;td&gt;“We eval’d it” with no replay path&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Compute&lt;/td&gt;
&lt;td&gt;What budget / hardware / call limits?&lt;/td&gt;
&lt;td&gt;Incomparable scores across teams&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dataset slice&lt;/td&gt;
&lt;td&gt;Which queries / docs / holdouts?&lt;/td&gt;
&lt;td&gt;Student-subset vibes framed as prod&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pipeline half&lt;/td&gt;
&lt;td&gt;Retrieval, generation, or joint?&lt;/td&gt;
&lt;td&gt;Green faithfulness while recall is broken (or the reverse)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The DeepEval-style lesson that keeps circulating is the same shape: a single RAG score can hide &lt;em&gt;which half&lt;/em&gt; failed. Pin the half. Prefer two honest columns over one blended crown.&lt;/p&gt;

&lt;h2&gt;
  
  
  The check you can run without my internals
&lt;/h2&gt;

&lt;p&gt;You do not need my private stacks (and I will not publish them). Steal this menu-only check:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Pin the harness block before the score.&lt;/strong&gt; Same report header every time: protocol name/version, compute class, dataset slice id, and pipeline half (retrieval / generation / joint). If any field is missing, the number is not ready to celebrate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Split halves when you report.&lt;/strong&gt; For the same query set, publish retrieval quality and generation/faithfulness as separate columns. One green blended score is not enough — “which half is broken?” should be answerable from the table alone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Freeze the evaluator before you chase labels.&lt;/strong&gt; If the judge, metric, or prompt changed mid-board, say so. Moving the goalposts mid-week and claiming progress is theater.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep a missing-evidence arm.&lt;/strong&gt; Same task with the gold document removed (or retrieval forced empty). If generation still narrates a confident answer, the eval contract is incomplete — regardless of how green the happy-path column looks.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No thresholds copied from anyone’s blog as “our production numbers.” No paste recipe. Calibrate cutoffs on &lt;em&gt;your&lt;/em&gt; corpus; where missing evidence is costly, treat empty retrieval as a failure in the harness, not as a soft success.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why query-class honesty transfers
&lt;/h2&gt;

&lt;p&gt;On Portuguese clinical text, BM25 and dense retrieval solved different query classes; fusing them beat either alone on a public 500-query study. Exact terms and conceptual phrasing fail in different ways. That finding is checkable: open code at &lt;a href="https://github.com/nomad-link-id/hybrid-rag-pipeline" rel="noopener noreferrer"&gt;&lt;code&gt;nomad-link-id/hybrid-rag-pipeline&lt;/code&gt;&lt;/a&gt;, companion write-up on Dev.to.&lt;/p&gt;

&lt;p&gt;The lesson that transfers to Evaluation Cards is not “clone our fusion.” It is &lt;strong&gt;eval honesty on query classes and pipeline halves&lt;/strong&gt;. If your harness cannot say &lt;em&gt;which class&lt;/em&gt; and &lt;em&gt;which half&lt;/em&gt; produced the green cell, you are not ready to ship the number into a decision.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I will not claim
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;That EvalEval, UK AISI cards, or any one vendor harness is universally correct for every workload. Workload-honest eval first.&lt;/li&gt;
&lt;li&gt;That we “ran EvalEval inside Cortexa/DocMinds.” We did not. Trend-jacking with fake usage is spam.&lt;/li&gt;
&lt;li&gt;That a pinned harness alone proves end-to-end answer quality. Downstream faithfulness and missing-doc policy remain separate gates.&lt;/li&gt;
&lt;li&gt;Internal thresholds, prompts, or clone guides for private products. Menu only: pin the fields, split the halves — not the spice blend.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why this formalizes who we are
&lt;/h2&gt;

&lt;p&gt;The market is amplifying Evaluation Cards and green eval dashboards. The thesis I want indexed next to that heat:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Eval as contract&lt;/strong&gt; — protocol, compute, slice, and pipeline half are gates, not vibes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reliable systems&lt;/strong&gt; — production AI fails on harness mismatch and wrong-half celebration — not only on model choice.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Retrieve-first&lt;/strong&gt; — when the retrieval half is unpinned, generation fluency is not evidence.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If a sharp reader walks away believing &lt;em&gt;this engineer will not celebrate a green score without a pinned harness&lt;/em&gt;, the post did its job. Follows that come from that are the point — not volume.&lt;/p&gt;

&lt;h2&gt;
  
  
  Soft pointers (contribution first)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Public hybrid pipeline (BM25 + dense + RRF): &lt;a href="https://github.com/nomad-link-id/hybrid-rag-pipeline" rel="noopener noreferrer"&gt;https://github.com/nomad-link-id/hybrid-rag-pipeline&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Empirical companion (500 clinical queries, open methodology): &lt;a href="https://dev.to/nomad-link-id/two-retrieval-methods-are-better-than-one-evidence-from-500-clinical-queries-4g41"&gt;Dev.to — Two Retrieval Methods Are Better Than One&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Site / builder trail: &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;https://igoreduardo.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Market object that sparked this note: &lt;a href="https://huggingface.co/blog/evaleval-aisi" rel="noopener noreferrer"&gt;EvalEval × UK AISI Evaluation Cards (HF)&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Stop here. No recipe. No “we proved SOTA.” Preference + limiter + public trail.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;By Igor Eduardo · Austin, TX · Engineer of reliable search and AI systems for high-stakes science · &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;https://igoreduardo.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>evaluation</category>
      <category>rag</category>
      <category>ai</category>
      <category>llm</category>
    </item>
    <item>
      <title>Ranking Isn't Judging: What the Jev Wave Still Owes Retrieval</title>
      <dc:creator>Igor Eduardo</dc:creator>
      <pubDate>Thu, 24 Sep 2026 17:58:50 +0000</pubDate>
      <link>https://dev.to/igoreduardoai/ranking-isnt-judging-what-the-jev-wave-still-owes-retrieval-301m</link>
      <guid>https://dev.to/igoreduardoai/ranking-isnt-judging-what-the-jev-wave-still-owes-retrieval-301m</guid>
      <description>&lt;h1&gt;
  
  
  Ranking Isn't Judging: What the Jev Wave Still Owes Retrieval
&lt;/h1&gt;

&lt;p&gt;Everyone is talking about typed judgment models for RAG — Jev-class scorers that keep or drop passages, not only reorder them. Hugging Face just got a clean write-up of &lt;code&gt;jev-reranker&lt;/code&gt;: hybrid pool in, relevance filter out, fewer documents reaching the generator. That is a live market object, not a niche blog.&lt;/p&gt;

&lt;p&gt;Here is what I would require before I trusted “we upgraded ranking to judging” for high-stakes retrieval — and what I would not claim yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  The stake
&lt;/h2&gt;

&lt;p&gt;Teams will ship the wrong default.&lt;/p&gt;

&lt;p&gt;A hybrid lexical + dense pool can look fine on ranking metrics while still shipping distracting neighbors into the prompt. Rerank asks &lt;em&gt;in what order?&lt;/em&gt; Relevance filtering asks &lt;em&gt;should this context reach the generator at all?&lt;/em&gt; Those are different contracts. Collapsing them into one score hides the broken half.&lt;/p&gt;

&lt;p&gt;If your domain is identifier-heavy, multi-hop, or regulated-adjacent, a fluent answer after a weak retained set is not a win. It is a silent miss.&lt;/p&gt;

&lt;h2&gt;
  
  
  Opinion (one sentence)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Ranking answers closeness; judging needs an explicit leave-out policy plus a faithfulness gate that is scored separately — never a single blended “quality” number.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is a preference with a limiter, not a SOTA claim. I have not run Jev in production. Their NanoHotpotQA numbers stay theirs. What I am formalizing is the &lt;em&gt;judgment type&lt;/em&gt; split, from the same retrieve-first / eval-as-contract lane I already publish on.&lt;/p&gt;

&lt;h2&gt;
  
  
  What ranking gets right — and where it stops
&lt;/h2&gt;

&lt;p&gt;Hybrid retrieval earned its keep for a reason. On Portuguese clinical text, BM25 and dense retrieval solved different query classes; fusing them beat either alone on a public 500-query study. Exact terms (scores, drug names, identifiers) and conceptual phrasing fail in different ways. That finding is checkable: open code at &lt;a href="https://github.com/nomad-link-id/hybrid-rag-pipeline" rel="noopener noreferrer"&gt;&lt;code&gt;nomad-link-id/hybrid-rag-pipeline&lt;/code&gt;&lt;/a&gt;, companion write-up on Dev.to, Zenodo preprint under CC BY.&lt;/p&gt;

&lt;p&gt;Reranking on top of that pool is a natural next step. Cross-encoders and decision models both try to push the useful passages up. Fine — as a &lt;em&gt;ranking&lt;/em&gt; layer.&lt;/p&gt;

&lt;p&gt;Judging is different work:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Judgment&lt;/th&gt;
&lt;th&gt;Question&lt;/th&gt;
&lt;th&gt;Failure if skipped&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Rank&lt;/td&gt;
&lt;td&gt;Which of these hits is closer?&lt;/td&gt;
&lt;td&gt;Wrong order; still often has &lt;em&gt;something&lt;/em&gt; in context&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Filter / leave-out&lt;/td&gt;
&lt;td&gt;Should this hit reach the generator?&lt;/td&gt;
&lt;td&gt;Distractors in the prompt; token waste&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Faithfulness&lt;/td&gt;
&lt;td&gt;Does the final answer’s claim live in the cited source?&lt;/td&gt;
&lt;td&gt;Fluent invention with a real cite list&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A leave-out policy is not “sort harder.” When the filter clears the deck, the system needs a first-class &lt;strong&gt;missing-evidence&lt;/strong&gt; outcome — not a silent fallback into guessing.&lt;/p&gt;

&lt;h2&gt;
  
  
  The check you can run without my internals
&lt;/h2&gt;

&lt;p&gt;You do not need my private stacks (and I will not publish them). Steal this menu-only check:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Split the report.&lt;/strong&gt; For the same query set, publish (a) ranking quality on the candidate pool and (b) retained-set size / leave-out rate after the filter. One number is not enough — the HF &lt;code&gt;jev-reranker&lt;/code&gt; table that pairs nDCG with documents retained is the right &lt;em&gt;shape&lt;/em&gt; of honesty, independent of their thresholds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pin a missing-evidence arm.&lt;/strong&gt; Same task with the filter forced to retain nothing (or with the gold document removed from the pool). If the generator still narrates a confident answer, the eval contract is incomplete.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep faithfulness separate.&lt;/strong&gt; For every quoted span, verify membership against the &lt;em&gt;cited&lt;/em&gt; source id. Fail closed on miss. Ranking/relevance can still look fine while the quote-span check fails — I have seen that failure mode in public discourse this week, and it matches retrieve-first practice.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No thresholds copied from anyone’s blog as “our production numbers.” No paste recipe. Calibrate cutoffs on &lt;em&gt;your&lt;/em&gt; corpus; where missing evidence is costly, treat empty retained sets as failures in the harness, not as soft successes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hybrid pools make the split sharper
&lt;/h2&gt;

&lt;p&gt;Once you run BM25 and dense in parallel, the candidate set is &lt;em&gt;intentionally&lt;/em&gt; broad. That is a feature: complementary methods catch different query classes. It is also why a leave-out layer matters more, not less.&lt;/p&gt;

&lt;p&gt;A wide hybrid pool without a filter ships more distractors. A filter without a missing-evidence policy ships fluent guesses when nothing survived. Rerank alone does not fix either failure — it only reorders the same set.&lt;/p&gt;

&lt;p&gt;So when the market says “just add a judgment model,” I hear two separate jobs: upgrade the &lt;em&gt;order&lt;/em&gt; when you still want generation, and upgrade the &lt;em&gt;admit/deny&lt;/em&gt; policy when generation should be allowed to refuse. Publish both outcomes in the eval report. Prefer workload-honest tables over a universal crown for any one store, model, or scorer.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I will not claim
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;That Jev (or any typed decision model) is universally better than a cross-encoder or a lexical filter. Workload-honest eval first.&lt;/li&gt;
&lt;li&gt;That filter quality alone proves end-to-end answer quality. Downstream faithfulness and missing-doc policy are separate gates.&lt;/li&gt;
&lt;li&gt;That we “shipped Jev inside Cortexa/DocMinds.” We did not. Trend-jacking with fake usage is spam.&lt;/li&gt;
&lt;li&gt;Internal thresholds, prompts, or clone guides for private products. Menu only: what we serve is the judgment split and the eval shape — not the spice blend.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why this formalizes who we are
&lt;/h2&gt;

&lt;p&gt;The market is amplifying judgment models. The thesis I want indexed next to that heat:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Retrieve-first&lt;/strong&gt; — evidence path before orchestration theater.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hybrid / complementary search&lt;/strong&gt; — lexical and dense cover different query classes; fusion needs honest eval, not a universal crown.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Eval as contract&lt;/strong&gt; — exact-match, faithfulness, context precision/recall, paired leave-out tests — gates, not vibes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If a sharp reader walks away believing &lt;em&gt;this engineer will not collapse ranking into judging, and will fail closed when evidence is missing&lt;/em&gt;, the post did its job. Follows that come from that are the point — not volume.&lt;/p&gt;

&lt;h2&gt;
  
  
  Soft pointers (contribution first)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Public hybrid pipeline (BM25 + dense + RRF): &lt;a href="https://github.com/nomad-link-id/hybrid-rag-pipeline" rel="noopener noreferrer"&gt;https://github.com/nomad-link-id/hybrid-rag-pipeline&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Empirical companion (500 clinical queries, open methodology): &lt;a href="https://dev.to/nomad-link-id/two-retrieval-methods-are-better-than-one-evidence-from-500-clinical-queries-4g41"&gt;Dev.to — Two Retrieval Methods Are Better Than One&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Preprint (CC BY): &lt;a href="https://doi.org/10.5281/zenodo.19686739" rel="noopener noreferrer"&gt;https://doi.org/10.5281/zenodo.19686739&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Market object that sparked this note: &lt;a href="https://huggingface.co/blog/hotchpotch/introducing-jev-reranker" rel="noopener noreferrer"&gt;Introducing jev-reranker (HF)&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Stop here. No recipe. No “we proved SOTA.” Preference + limiter + public trail.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;By Igor Eduardo · Austin, TX · Engineer of reliable search and AI systems for high-stakes science · &lt;a href="https://igoreduardo.com" rel="noopener noreferrer"&gt;https://igoreduardo.com&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>rag</category>
      <category>evaluation</category>
      <category>ai</category>
    </item>
    <item>
      <title>Two Retrieval Methods Are Better Than One: Evidence from 500 Clinical Queries</title>
      <dc:creator>Igor Eduardo</dc:creator>
      <pubDate>Wed, 13 May 2026 19:14:30 +0000</pubDate>
      <link>https://dev.to/igoreduardoai/two-retrieval-methods-are-better-than-one-evidence-from-500-clinical-queries-4g41</link>
      <guid>https://dev.to/igoreduardoai/two-retrieval-methods-are-better-than-one-evidence-from-500-clinical-queries-4g41</guid>
      <description>&lt;p&gt;When I set out to evaluate retrieval configurations for Portuguese clinical text, I expected one method to dominate. Instead, I found something more interesting: BM25 and dense retrieval solve &lt;em&gt;different&lt;/em&gt; questions. Neither is a substitute for the other.&lt;/p&gt;

&lt;p&gt;This post summarizes the methodology and results from a 500-query empirical study of hybrid retrieval for clinical question answering. All code is open source: &lt;a href="https://github.com/nomad-link-id/hybrid-rag-pipeline" rel="noopener noreferrer"&gt;https://github.com/nomad-link-id/hybrid-rag-pipeline&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Setup
&lt;/h2&gt;

&lt;p&gt;500 clinical queries across 6 medical specialties (cardiology, endocrinology, infectology, nephrology, neurology, oncology). Each query has a single reference answer grounded in a specific passage from clinical documentation.&lt;/p&gt;

&lt;p&gt;Four retrieval configurations were evaluated:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Config&lt;/th&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;BM25-only&lt;/td&gt;
&lt;td&gt;BM25 with Portuguese stopword removal&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dense-only&lt;/td&gt;
&lt;td&gt;BioBERTpt embeddings, cosine similarity&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hybrid-RRF&lt;/td&gt;
&lt;td&gt;BM25 + dense via Reciprocal Rank Fusion&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hybrid-Rerank&lt;/td&gt;
&lt;td&gt;RRF candidates re-ranked with cross-encoder&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What Is Reciprocal Rank Fusion?
&lt;/h2&gt;

&lt;p&gt;RRF combines ranked lists from multiple retrievers without requiring score normalization:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;rrf_score&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rankings&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;]],&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;int&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="nb"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;float&lt;/span&gt;&lt;span class="p"&gt;]:&lt;/span&gt;
    &lt;span class="n"&gt;scores&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;float&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{}&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;ranking&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;rankings&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;rank&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;doc_id&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="nf"&gt;enumerate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ranking&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;start&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
            &lt;span class="n"&gt;scores&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;doc_id&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;scores&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;doc_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mf"&gt;1.0&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;k&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;rank&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;sorted&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;scores&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;(),&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="k"&gt;lambda&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt; &lt;span class="n"&gt;reverse&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;True&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Results
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Config&lt;/th&gt;
&lt;th&gt;Recall@5&lt;/th&gt;
&lt;th&gt;MRR&lt;/th&gt;
&lt;th&gt;Citation F1&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;BM25-only&lt;/td&gt;
&lt;td&gt;0.71&lt;/td&gt;
&lt;td&gt;0.64&lt;/td&gt;
&lt;td&gt;0.82&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dense-only&lt;/td&gt;
&lt;td&gt;0.68&lt;/td&gt;
&lt;td&gt;0.61&lt;/td&gt;
&lt;td&gt;0.78&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hybrid-RRF&lt;/td&gt;
&lt;td&gt;0.84&lt;/td&gt;
&lt;td&gt;0.77&lt;/td&gt;
&lt;td&gt;0.91&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hybrid-Rerank&lt;/td&gt;
&lt;td&gt;0.86&lt;/td&gt;
&lt;td&gt;0.79&lt;/td&gt;
&lt;td&gt;0.93&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  The Complementarity Finding
&lt;/h2&gt;

&lt;p&gt;McNemar's test on BM25-only versus dense-only:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;BM25 correct, dense incorrect: 89 queries&lt;/li&gt;
&lt;li&gt;Dense correct, BM25 incorrect: 57 queries&lt;/li&gt;
&lt;li&gt;McNemar chi2 = 39.55, p &amp;lt; 0.001&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The asymmetry is statistically significant. Dense-only missed 22.2% of queries that BM25 solved. You need both.&lt;/p&gt;

&lt;h2&gt;
  
  
  Citation Verification
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Deterministic approach&lt;/strong&gt; (BM25 score threshold + exact n-gram overlap): 461/500 citations verified.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompt-based LLM approach&lt;/strong&gt; (same passages, ask LLM "does this support the answer?"): 1/500.&lt;/p&gt;

&lt;p&gt;The difference is task design, not model quality. A deterministic check measures actual textual overlap; a prompt check measures the model's opinion of the overlap.&lt;/p&gt;

&lt;h2&gt;
  
  
  Inter-Annotator Agreement
&lt;/h2&gt;

&lt;p&gt;100 query-response pairs independently annotated by two reviewers. Cohen's kappa = 0.954 — near-perfect agreement on what constitutes correct retrieval for clinical text.&lt;/p&gt;

&lt;h2&gt;
  
  
  Practical Takeaway
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Run both BM25 and dense retrieval&lt;/li&gt;
&lt;li&gt;Use RRF to merge results&lt;/li&gt;
&lt;li&gt;Implement deterministic citation verification&lt;/li&gt;
&lt;li&gt;Measure complementarity with McNemar's test on your domain&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Code and Data
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/nomad-link-id/hybrid-rag-pipeline" rel="noopener noreferrer"&gt;https://github.com/nomad-link-id/hybrid-rag-pipeline&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/nomad-link-id/citation-guard" rel="noopener noreferrer"&gt;https://github.com/nomad-link-id/citation-guard&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Preprint: &lt;a href="https://doi.org/10.5281/zenodo.19686739" rel="noopener noreferrer"&gt;https://doi.org/10.5281/zenodo.19686739&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Igor Eduardo | igoreduardo.com | ORCID: 0009-0005-6288-1135&lt;/p&gt;

</description>
      <category>python</category>
      <category>rag</category>
      <category>ai</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
