============================================================ nat.io // BLOG POST ============================================================ TITLE: How Do You Test AI Search When You Can't See What It Searched For? DATE: November 24, 2026 AUTHOR: Nat Currier TAGS: AI, Search, Testing ------------------------------------------------------------ In a fictional catalog test, the answer recommends a door handle and links to a page that lists it. On the linked page, the handle is right-front. The buyer asked for left-front. The answer has a citation, and the product appeared by name. If my report stops at those two observations, it records a success at the exact point the buyer is about to make a mistake. I built tools for evaluating catalog queries and recording answers for review. My first question for this kind of evaluation is what decision the buyer could safely make after reading the answer. I can inspect the answer and whatever source it exposes. For the experiment I’m describing, the provider’s internal query, candidate list, and ranking weights are outside the observations. I can still grade the buying decision without filling in those blanks. > **Thesis:** Grade the answer against the buyer’s intent and the available evidence. > **Why now:** A product mention and a source link can both improve while the recommendation gets worse. > **Who should care:** Teams deciding whether a catalog change makes buying easier or merely increases visibility. > **Bottom line:** Record mention, recommendation, correctness, and source support independently. [ Write the expected decision first ] ------------------------------------------------------------ My fixture starts with a fictional car and two fictional handles. The reference material lists the left and right variants on the same model, each with a separate part number. The prompt gives enough information to determine which handle the buyer needs. Before I run it, I write down the answer I’d accept, the wrong answer that concerns me most, and the evidence that distinguishes the two. I add separate prompt classes for ambiguous and unsupported requests. One comparison prompt leaves out which side the buyer needs. In that case, a focused follow-up is the expected answer. Another includes a model year the reference material doesn’t cover. The expected response is to state the gap or ask for evidence. Guessing from an adjacent year fails even if the part name is real. I borrow one discipline from retrieval evaluation: pair the test question with an explicit relevance judgment for the evidence you’re using. For a buying task, I extend that judgment to the product claim and the action the answer supports. [NIST TREC relevance judgments](https://trec.nist.gov/data/reljudge_eng.html) [ A worksheet for one buyer decision ] ------------------------------------------------------------ | Worksheet field | Worked fictional example | |---|---| | Prompt | “I need a left-front exterior handle for a 2018 Model Q Touring. Which exact part should I order?” | | Intent and expected action | Exact replacement. Recommend part L-18T, left-front. Part R-18T is the wrong side. | | Evidence to check | Reference sheet lists both sides and the Touring configuration. A source supports the claim only if it establishes the relevant part, side, and configuration. | | Context to record per run | Provider and surface, date, market, language, session state, prior turns, displayed answer, cited links, and evidence snapshot where permitted. | | Scoring | Target mention, unconditional target recommendation, factual correctness, and support for the decisive claim. Record whether the action itself was correct for the intent. | Apply the same worksheet to the following answers. The clarification row uses the underspecified version of the prompt. | Observed answer | Mentions target | Recommends target | Factual correctness | Source support and action | |---|---|---|---|---| | Recommends L-18T and cites its fitment row | Yes | Yes | Pass | Decisive claim supported. Buyer can proceed. | | Names L-18T but recommends R-18T as the left-side part | Yes | No | Fail | The cited page contradicts the decisive claim. Following the recommendation would lead to the wrong part. | | Says L-18T is the left-side option and asks which side is needed | Yes | No | Pass | A fitment source can support the conditional claim. Clarification is the right action. | | Says it could not find a part for the fully specified request | No | No | No affirmative fitment claim | No cited claim to check. Incomplete for this answerable fixture. | *The worksheet shows how answers with the same mention score can lead to different buyer outcomes. The answers were written for the fixture. They are not observations about a provider.* [ Repeat the context you can control ] ------------------------------------------------------------ I’d start with fresh sessions, run each prompt more than once, and retain first-turn and follow-up cases separately. I’d record market and language even if I only care about one market this week. That way an answer from one setting doesn’t quietly become evidence about another. I’d include refusals, empty answers, and temporary errors in the run log. If I exclude any from a score, I’d show what was excluded and why. A report can say the target was mentioned in more runs while correct recommendations fell. Suppose, purely for illustration, that an earlier set had four mentions and four correct recommendations across ten runs, while a later set had seven mentions and three correct recommendations. Visibility rose on that panel. Fewer buyers got an actionable correct answer. I’d keep the underlying rows so the team can inspect whether the misses were wrong variants, unsupported claims, or unanswered prompts. If the experiment changed a catalog page between runs, those observations still leave room for provider changes and other influences. I’d describe the difference in answers under the observed conditions. A ranking-factor claim would require evidence about the ranking mechanism that this test doesn’t collect. [ What transfers ] ------------------------------------------------------------ A team can use the worksheet to decide whether a buyer-facing change is ready. An engineer can turn each row into a small fixture with a prompt, a reference snapshot, and an expected action. Keep the score for abstaining or asking a good question. Otherwise the fastest way to improve the dashboard may be to make the assistant guess more often. Try the worksheet on one question your team already knows how to answer and a second that lacks one decisive fact. For a broader evaluation template, see [Open-Domain Evaluation Worksheet for Teams](https://nat.io/blog/open-domain-evaluation-worksheet-teams).