A merchant tests a shopping prompt in an AI assistant. A product appears near the top of the answer. The merchant repeats the test later and gets a different result.
Which result is correct?
The problem may not be that one test is wrong. The tests may have run under different conditions. The conversation history may have changed, personalization may be active, product availability may have shifted, or the platform may have updated its systems.
Traditional rank tracking often assumes that a query can be treated as a stable input. AI shopping complicates that assumption because the user’s task may be shaped by context beyond the latest prompt.
A useful measurement method must therefore evaluate more than whether a product appeared.
It must ask whether the product was understood correctly, whether it fit the user’s stated needs, whether constraints were respected, and whether the recommendation was useful.
This article proposes a context-aware evaluation framework for ecommerce teams. It is a Miyeta methodology proposal, not an official platform standard or a claim about any provider’s internal ranking formula.
1. Why single-prompt rank tracking is incomplete
A conventional test might look like this:
- Enter a shopping query.
- Record whether a product appears.
- Record its position.
- Repeat the test later.
- Compare the results.
This can be useful for observing a narrow question under controlled conditions. But it leaves several gaps.
First, the same words can describe different shopping tasks when the surrounding conversation differs.
Second, product appearance does not prove product understanding. An assistant might mention an item but describe its materials, compatibility, or intended use incorrectly.
Third, a high position does not prove that the product is the best fit. It may fail an important constraint.
Fourth, one observation cannot establish a stable pattern. Results can vary with platform state, catalog data, market, model, and context.
Rank or inclusion should remain an observation, but it should not be the entire evaluation.
2. Use three layers of testing
A practical evaluation program can be organized into three layers.
Layer A: Controlled baseline tests
The goal is to establish a repeatable reference condition.
Define and preserve:
- AI product and model or mode, where visible
- Market and language
- Date and time
- A clean-start conversation condition
- Exact prompt wording
- Product catalog state
- Relevant price and availability state
- Evaluation procedure
Use a fixed set of prompts covering several query types:
- Direct category requests
- Specific use-case requests
- Feature or attribute requests
- Comparison requests
- Budget and other constraint-heavy requests
- Negative-fit requests where the product should not be recommended
Repeat the tests to observe variability. The result is a baseline for that controlled condition, not a universal ranking.
Layer B: Context-segmented tests
The goal is to understand how product relevance changes across defined shopping situations.
Create a small set of synthetic shopper contexts based on real, non-sensitive purchase requirements. Each context should state only what is needed to define the task.
For example:
- A budget-sensitive shopper
- A shopper prioritizing compact storage
- A shopper who needs a specific compatibility requirement
- A shopper prioritizing durability for frequent use
- A shopper who values easy maintenance
Then ask a consistent shopping question within each context.
Do not create personas from stereotypes or sensitive personal attributes. The persona should represent a purchasing task, not an identity profile.
Layer C: Multi-turn conversation tests
The goal is to evaluate whether recommendations respond appropriately as the task evolves.
A test conversation might:
- Ask for an initial product recommendation.
- Add a practical constraint.
- Explain why one option is unsuitable.
- Ask for alternatives.
- Add a budget or compatibility requirement.
- Ask the assistant to summarize the best fit and trade-offs.
Record the full sequence, not only the final prompt. The conversation history is part of the test condition.
This layer is especially useful for discovering whether an assistant forgets constraints, repeats rejected options, or changes its recommendation for a reason that is not supported by product facts.
3. Define what a good recommendation means
A product appearing in an answer is not enough. Evaluate the quality of the recommendation across several dimensions.
| Dimension | Evaluation question |
|---|---|
| Product comprehension | Did the assistant describe the product accurately? |
| Contextual fit | Does the product fit the stated use case and priorities? |
| Constraint compliance | Did it respect budget, size, compatibility, and other explicit limits? |
| Comparative quality | Are differences and trade-offs between alternatives explained accurately? |
| Evidence quality | Are claims supported by available product information? |
| Outcome evidence | Did the interaction lead to a meaningful next step or commercial outcome, where measurable? |
These dimensions should be scored separately. A product can be understood accurately but still be a poor fit for a particular shopper. It can fit the use case but be described with incorrect specifications.
A simple 0–2 scale can help teams begin:
- 0: Incorrect, absent, or materially misleading
- 1: Partially correct, incomplete, or weakly supported
- 2: Accurate, relevant, and sufficiently supported
For each dimension, write an evaluation rubric before running the test. Otherwise, reviewers may change the meaning of a good result after seeing the answer.
4. Separate recommendation visibility from recommendation quality
Keep visibility measures, but do not confuse them with quality measures.
Visibility observations
- Was the product included?
- Was it named accurately?
- Was it shown as a primary option or an alternative?
- What position did it occupy, if the interface provided an order?
- Were competing products included?
Quality observations
- Was the product described correctly?
- Did it fit the user’s context?
- Were constraints followed?
- Were alternatives compared fairly?
- Were reasons and factual claims accurate?
This distinction prevents a misleading success story. A product can gain visibility while being recommended for the wrong reason. It can also be absent from one answer but remain a strong fit in a different context.
5. Build a test matrix, not an endless prompt list
A useful test set does not need hundreds of loosely related prompts. It needs coverage of the shopping situations that matter.
Start with a manageable matrix:
| Test group | Example purpose |
|---|---|
| Category baseline | Check whether the product is understood within its category |
| Scenario fit | Test a specific real-world use case |
| Attribute fit | Test whether key specifications are recognized |
| Constraint test | Check budget, size, compatibility, or other limits |
| Comparison test | Check whether differences from alternatives are accurate |
| Negative-fit test | Check whether the assistant avoids recommending an unsuitable product |
| Multi-turn test | Check whether constraints and corrections persist within the conversation |
Choose prompts from actual customer questions, support themes, product research, and category knowledge. Remove personal information and do not reproduce private customer conversations in a public test set.
Keep a versioned “golden set” of prompts and expected evaluation criteria. When product content changes, rerun the relevant tests against the same controlled set.
6. Record enough information to explain a change
A useful observation record should include:
| Field | Why it matters |
|---|---|
| Test ID and version | Makes the test repeatable |
| AI platform and mode | Different experiences may behave differently |
| Date and time | Captures platform and catalog changes |
| Market and language | Controls regional differences |
| Context condition | Identifies clean-start, persona, or multi-turn tests |
| Full prompt sequence | Preserves the actual task |
| Product catalog snapshot | Helps identify product-data changes |
| Price and availability | Prevents commercial changes being mistaken for content effects |
| Answer and product order | Captures the observed result |
| Evaluation scores | Separates comprehension, fit, and compliance |
| Reviewer notes | Explains errors and ambiguous cases |
Do not store only a screenshot or a rank number. Keep the exact test condition and enough of the response to support later review.
7. Use human review carefully
Open-ended recommendations are difficult to grade with a single automated rule.
A reviewer may need to judge whether a product is a reasonable fit, whether an explanation is supported, or whether a trade-off is meaningful.
Anthropic’s research on evaluating AI agents discusses the challenges of evaluating multi-step and interactive systems, including the complementary roles of offline evaluations, production observation, A/B testing, and user feedback. It is useful methodological context for building a disciplined evaluation program, although it is not evidence about ecommerce product ranking.
Source: Anthropic: Demystifying evals for AI agents
Anthropic has also discussed limitations in evaluating AI systems, including the difficulty of assessing open-ended interactions and the need to scrutinize model-generated evaluations.
Source: Anthropic: Challenges in evaluating AI systems
For merchant evaluations:
- Write the rubric before reviewing outputs.
- Use human review for ambiguous or high-impact judgments.
- Where practical, have a second reviewer assess a sample.
- Track disagreements rather than hiding them.
- Treat automated graders as assistance, not unquestionable ground truth.
- Keep examples of clear successes and failures for calibration.
8. Connect offline tests with real-world evidence
Controlled tests help explain how a system responds under known conditions. They do not prove that real shoppers saw the same answers or behaved the same way.
Combine evaluation with observable business evidence:
- AI-referred sessions where attribution is available
- Landing-page engagement
- Product-page behavior
- Add-to-cart and purchase events
- Revenue and order quality
- Customer questions that reveal product misunderstanding
- Changes in conversion by landing page or product
Attribution will remain incomplete. Referrers can be missing, traffic classification can be imperfect, and automated retrieval activity is not the same as a human shopping session.
Use several evidence layers rather than claiming that one analytics report captures all AI influence.
9. Protect customer privacy
Context-aware evaluation can tempt teams to collect more customer information than they need.
For controlled tests, synthetic contexts are usually sufficient. If real customer interactions are used for research, establish a lawful basis, provide appropriate transparency, minimize collected data, restrict access, and apply retention limits.
Do not attempt to access private AI chat histories, saved memories, or account-level personalization data. A merchant should evaluate the behavior it can legitimately observe, not infer private information about individual shoppers.
10. A starter scorecard
A simple scorecard can make the method operational.
| Measure | What to record |
|---|---|
| Inclusion rate | Share of controlled runs in which the product appears |
| Accurate identification | Whether product identity and key facts are correct |
| Contextual fit score | Whether the product suits the defined task |
| Constraint compliance | Whether explicit requirements are respected |
| Explanation accuracy | Whether recommendation reasons match product evidence |
| Alternative quality | Whether comparisons are fair and useful |
| Outcome signals | Observable sessions, engagement, and conversions where available |
Do not combine all measures into one headline score too early. A weighted composite can conceal a serious weakness. For example, high inclusion should not compensate for repeated factual errors.
If a composite score is eventually useful, publish its dimensions, weights, thresholds, and limitations. Treat it as an internal decision aid, not an industry-standard AI ranking score.
11. A practical 30-day implementation sequence
Week 1: Establish the baseline
- Select a small set of important products.
- Define 20–30 prompts across the test groups.
- Record the platform, market, language, and catalog state.
- Write evaluation criteria.
Week 2: Add context
- Create three to five synthetic shopping contexts.
- Run context-segmented tests.
- Add a small number of multi-turn conversations.
- Record where recommendations change and why.
Week 3: Review product information
- Identify recurring misunderstandings.
- Check product descriptions, variants, specifications, brand and seller information.
- Fix factual gaps before making speculative copy changes.
- Preserve the original test set.
Week 4: Re-test and connect outcomes
- Repeat the controlled baseline.
- Compare context-specific results.
- Review observed traffic and commercial signals.
- Document what changed, what remains uncertain, and what should be tested next.
The schedule is a practical starting point, not a universal benchmark. Smaller teams can run fewer tests; larger catalogs can prioritize products by business importance and uncertainty.
Conclusion: Measure the recommendation as an interaction
AI shopping evaluation should not stop at the question, “Did my product appear for this prompt?”
The more useful questions are:
- What did the system understand about the product?
- Which user context was present?
- Did the product fit the actual task?
- Were the stated constraints respected?
- Were the reasons accurate?
- Is there observable evidence that the interaction helped a shopper?
A controlled prompt set remains valuable. Its role is to measure behavior under defined conditions, not to represent every possible user.
Miyeta’s proposed approach combines controlled baselines, context-segmented scenarios, multi-turn conversations, human review, and real-world outcome evidence. It gives merchants a more realistic way to study AI shopping without pretending that a single rank number explains the entire recommendation process.
