> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://www.comet.com/docs/opik/llms.txt.

## Fetch a Test Case's History Across Experiments

You can now see how one test case scored in every experiment that ran it, with one call. `Dataset.get_item_experiment_results()` and `TestSuite.get_item_experiment_results()` take the item's id and return one result per experiment run, with the experiment id, trace id, output, feedback scores and assertion results. Opik reads the results on the server, so you do not need to list experiments or download them and filter by hand.

**`Python`**

```python title="Python"
import opik

client = opik.Opik()
suite = client.get_test_suite("refund-policy-tests", project_name="my-project")

results = suite.get_item_experiment_results(item_id="<item-id>")
for result in results:
    print(result.experiment_id, [a["passed"] for a in result.assertion_results])
```

Pass `dataset_versions` with version hashes or tags to keep only the experiments that ran against those versions. For lower-level reads, `find_experiment_items_for_dataset` no longer needs `experiment_ids` and reads across every experiment of the dataset.

[Learn more in the test case history docs](/docs/opik/evaluation/advanced/test_case_history).

## Select Experiments to Compare

Selecting experiments on the Experiments page now shows a selection bar with **Compare**, **Manage tags** and **Delete**, the same way it works on the Traces page. With one experiment selected, **Compare** opens the **Add to compare** dialog. With two or more from the same test suite or dataset, it goes straight to the Compare page. **Compare** is turned off for a selection that mixes test suites or datasets, and a tooltip says why.

![The Experiments page with one experiment selected and the selection bar showing Compare, Manage tags and Delete](/docs/opik/_fern-files/_img/54840cf50173d5d4f1c926e3eab888cd5078e8c9627d316a61fd870946ce7a5e.webp)

The **Add to compare** dialog lists each experiment with its creation date, test suite or dataset version, pass rate and prompt versions, so you can tell similar runs apart before you add them.

![The Add to compare dialog listing experiments with their test suite version, pass rate and prompt versions](/docs/opik/_fern-files/_img/21ec06fbab0d8a9445cbd7573eac79ccdf40ff558a7d080d228aef8cf80aaa43.webp)

## Bug Fixes & Improvements

* **Evaluator templates** - A new LLM-as-a-Judge or Decision model rule opens on a **Templates** tab next to the **Prompt** or **Questions** tab. Picking a template fills the prompt or questions and opens them, and a saved rule marks the template it still matches. Decision model rules show their questions first.
* **Undo in the evaluator panel** - Ctrl+Z (Cmd+Z on Mac) undoes any change in a judge or decision model rule, from the name and prompt to the filters, model and **Enabled** switch. Ctrl+Shift+Z or Ctrl+Y redoes it.
* **Decision model rules** - GPT 6 Luna is available next to TypeSafe Jev. When the model's provider is not connected, the picker still lists the models and shows a link to connect the provider.
* **Online evaluation** - A judge call reaches the provider once per attempt, so a slow provider gets fewer duplicate calls and a judge that hangs is reported sooner. Self-hosted installs can set `LLM_PROVIDER_CLIENT_JUDGE_MAX_RETRIES` to add retries in the provider client.
* **Gemini 3.1 Flash-Lite** - The Playground shows the Temperature setting for Gemini 3.1 Flash-Lite, with a default of 1.0, the same as Google's.
* **Tables** - Checkbox, pin and actions columns keep the same width on every table, and the checkbox is centered in its column.
* **Dashboards** - A widget that is rate limited retries for about a minute before it shows an error, so large dashboards load all their widgets.
* **Trace details** - When the same trace id exists in more than one project, `GET /v1/private/traces/{id}` reports the cost, usage and span count of the trace it returns.
* **API validation** - Creating a span without a `trace_id`, or completing an attachment upload with an empty or incomplete `uploaded_file_parts` list, returns a 422 with the validation errors.
* **MCP server on Comet deployments** - `opik mcp configure --deployment self-hosted --url <url>` uses the deployment's hosted MCP server when it runs one, with no API key, and falls back to the local server when it does not. `opik configure` accepts the URL of a self-hosted Comet deployment, including a link copied from the UI. See the [MCP server advanced setup](/docs/opik/mcp-server/advanced-setup).
* **Python SDK** - `SentenceBLEU`, `GLEU` and `METEOR` raise `MetricComputationError` on non-string inputs, `ChrF` rejects a non-finite `beta`, the LlamaIndex handler works when `Settings.llm` is not set, and `opik connect` handles paths and quoted commands correctly on Windows.
* **TypeScript SDK** - `ExactMatch` compares arrays and objects by content and takes an optional `caseSensitive` argument, and `Contains` gives a clear error for an empty substring.
* **Self-hosting** - ClickHouse passwords can contain URL-reserved characters such as `/`, `@` and `%`, and the Helm chart quotes plain-text ClickHouse passwords.
* **Documentation** - The [Claude Code page](/docs/opik/integrations/claude-code) covers the Opik plugin for Claude Code, which installs the Opik skills and MCP tools, and tracing with Claude Code's OpenTelemetry export. A new [Querying traces and spans in ClickHouse](/docs/opik/self-host/querying-traces-and-spans) page helps self-hosted users query the tables directly.

---

And much more! 👉 [See full commit log on GitHub](https://github.com/comet-ml/opik/compare/2.2.155...2.3.7)

*Releases*: `2.3.0`, `2.3.1`, `2.3.2`, `2.3.3`, `2.3.4`, `2.3.5`, `2.3.6`, `2.3.7`