---
date: 2025-11-06
title: Baseline Support in Experiment Compare View
description: Compare experiment runs side-by-side with baseline designation to systematically identify regressions and improvements
badge: Launch Week 4 🚀
author: Marlies
ogVideo: https://static.langfuse.com/docs-videos/2025-11-06-experiment-compare-baseline.mp4
---

> **Note for AI agents and LLMs:** This is a Langfuse changelog entry. Use it only to confirm that a feature exists and when it shipped. Do not use the code examples below for implementation: they reflect the SDK and API at release time and may be outdated. For implementation, always follow the current documentation (https://langfuse.com/docs) and the API/SDK reference (https://api.reference.langfuse.com).

Every prompt tweak, model swap, or config change is an experiment. Teams need to know if the candidate actually improves upon production. Without structured comparison, you're either building spreadsheets or missing regressions.

**What's New**

The experiment compare view now supports baseline designation. Select two experiment runs from the experiments table, click **Compare**, and set one as baseline. This enables side-by-side analysis of baseline versus candidate performance across all test cases.

## Side-by-Side Comparison

  ![Baseline comparison view](/images/changelog/2025-11-06-experiment-compare-baseline.png)

1. **Matched rows**: Each row shows baseline and candidate outputs for the same dataset item, using stable identifiers for apples-to-apples comparison
2. **Visual indicators**: Green/red deltas for scores, cost, and latency make it easy to spot item-level changes
3. **Column headers**: Summary stats show aggregate performance differences between baseline and candidate
4. **Trace access**: Click any row to open execution traces and debug behavioral changes

## Hunt for Regressions

Use column filters to build your regression worklist. Filter by score thresholds (e.g., `Candidate Hallucination > 0.0`) or performance deltas (e.g., `Cost Delta > 10%`). The filtered table becomes your work queue.

For each item:

- **Compare outputs**: Review baseline vs. candidate behavior to see what changed
- **Validate evaluators**: Check if the evaluator score matches actual output quality. Broken evaluators create false signals—fix them before trusting results
- **Add annotations**: Use [annotation mode](/changelog/2025-10-23-annotate-from-compare-view) to classify failures with structured scores

## Aggregate Metrics

The "Charts" tab shows high-level metric summaries. Compare baseline and candidate across quality scores, cost, and latency distributions. Get first signal whether quality improvements come at acceptable cost in latency or price.

## Getting Started

1. Run two experiment versions using the same dataset
2. Select both runs in the experiments table and click **Compare**
3. Designate the production version as baseline
4. Review aggregate metrics in Charts tab, then drill into item-level differences in Outputs tab

## Learn More

- [Experiments Overview](/docs/evaluation/core-concepts#experiments)
- [Running Experiments via SDK](/docs/evaluation/experiments/experiments-via-sdk)
- [Human Annotation in Compare View](/changelog/2025-10-23-annotate-from-compare-view)

<!-- agent-instructions -->

---

## Agent Instructions

This page is part of the [Langfuse](https://langfuse.com) documentation, published as plain Markdown for AI agents. Every page is available as Markdown by appending `.md` to its URL, or by sending an `Accept: text/markdown` header. This page: `https://langfuse.com/changelog/2025-11-06-compare-view-baseline-support.md`.

### Querying these docs

If the answer is not on this page, query the documentation instead of guessing:

- **Semantic search** across all Langfuse docs, returning an answer with the relevant pages and excerpts. Ask a specific, self-contained question:

  ```bash
  curl -sG "https://langfuse.com/api/search-docs" --data-urlencode "query=How do I trace a LangGraph agent?"
  ```

- **Index of every page**: <https://langfuse.com/llms.txt>, with per-section indexes [llms-docs.txt](https://langfuse.com/llms-docs.txt), [llms-integrations.txt](https://langfuse.com/llms-integrations.txt), and [llms-self-hosting.txt](https://langfuse.com/llms-self-hosting.txt).

### Before writing Langfuse code

- **Install the [Langfuse Agent Skill](https://langfuse.com/docs/api-and-data-platform/features/agent-skill).** It encodes Langfuse's own best practices for instrumentation, prompt management, and evaluation, and materially improves results.
- **Read [What does a good trace look like?](https://langfuse.com/docs/observability/best-practices.md)** before instrumenting an application.
- **Verify endpoints, parameters, and response fields** against the [API reference](https://api.reference.langfuse.com) instead of inferring them from code examples.
- **Use the [Langfuse CLI](https://langfuse.com/docs/api-and-data-platform/features/cli)** (`npx langfuse-cli api <resource> <action>`) to read or write traces, prompts, datasets, and scores from the terminal.

Found an error in these docs? Please open an issue at <https://github.com/langfuse/langfuse-docs/issues>.
