Skip to main content
Measure the impact of retrieval changes (e.g., top k, hybrid search, rerankers) before you ship. Seer runs evaluator-defined metrics (Recall, Precision, F1, nDCG) on unlabeled traffic.

Overview

  1. Log each retrieval with feature_flag in metadata indicating the variant used.
  2. Send traffic to both variants (split via your own A/B system or run offline comparisons).
  3. View comparisons in the Seer Change Testing dashboard.
  4. Ship the winner with confidence.
Prerequisites: You’ve completed the Quickstart and reviewed the Context & Event Schema.

Integration Pattern

Add feature_flag to your metadata to identify which variant handled each request:
Pass their flag string directly as feature_flag so Seer’s charts align with your routing.

The Change Testing Dashboard

After logging records with different feature_flag values, open the Change Testing page in Seer.

Selecting Variants to Compare

  1. Choose Base variant from the dropdown (e.g., production)
  2. Choose Test variant to compare against (e.g., experimental_feature)
  3. Select Environment (e.g., main / dev)
  4. Set Period to filter traffic (e.g., Last 7 days)

Metrics Comparison

Seer computes for each variant: The dashboard shows:
  • Metric cards with absolute values per variant
  • Delta (candidate - baseline) with percentage change
  • Trace/Span toggle to view metrics at different levels
  • Record count per variant
Metrics Comparison

Interesting Queries

The Interesting Queries table shows query pairs where metrics differ between variants: Interesting Queries
  • Query text (the task field)
  • Base / Test metrics side-by-side
  • Delta showing the difference (red = regression, green = improvement)
  • Metric selector to sort by Recall, Precision, F1, or nDCG
  • Worst regressions filter to find where your candidate underperforms
Click any row to see full context and evaluation details for both variants.

Finding Problem Queries

Use the filters to find queries where your candidate underperforms:
  • Select Worst regressions to find the biggest quality drops
  • Sort by Recall to prioritize coverage issues
  • Use these insights to debug your retrieval pipeline

Example: Testing a Reranker

Run both variants on the same queries and compare:

Production A/B Testing

For live traffic, use your feature flag system to route users:
Then in Seer:
  1. Filter to env=prod
  2. Compare feature_flag=v1 vs feature_flag=v2
  3. Monitor metrics over time as traffic accumulates

CI/CD Integration

Run change tests in your CI pipeline:

FAQ

Do I need separate functions for v1/v2? No. Keep one retriever and toggle behavior via params/flags. Log the actual variant in metadata. Can I reuse past production traffic? Yes. Filter by env/date/flags in the Seer dashboard. All logged traffic is available for comparison. What if my context items are objects, not strings? Totally fine. Use {"text": "...", ...} and Seer reads the text field. How long do I need to run the test? Depends on traffic volume. A few hundred queries per variant typically gives statistical significance.

Next Steps